var viewPanel = getComponent("viewPanel1"); var model:com.ibm.xsp.model.domino.DominoViewDataModel = viewPanel.getDataModel(); var container:com.ibm.xsp.model.domino.DominoViewDataContainer = model.getDominoViewDataContainer(); container.expandAll();