<?xml version="1.0" encoding="UTF-8"?> <xp:view xmlns:xp="http://www.ibm.com/xsp/core"> <xp:this.afterPageLoad><![CDATA[#{javascript: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.expand("1"); container.expand("3");}]]></xp:this.afterPageLoad> <xp:viewPanel value="#{view1}" id="viewPanel1"> <xp:this.facets> <xp:pager partialRefresh="true" layout="Previous Group Next" xp:key="headerPager" id="pager1"> </xp:pager> </xp:this.facets> <xp:this.data> <xp:dominoView var="view1" viewName="AllContactsByStates" expandLevel="1"> </xp:dominoView> </xp:this.data> <xp:viewColumn columnName="State" id="viewColumn1"> <xp:this.facets> <xp:viewColumnHeader value="State" xp:key="header" id="viewColumnHeader1"> </xp:viewColumnHeader> </xp:this.facets> </xp:viewColumn> <xp:viewColumn columnName="Id" id="viewColumn2"> <xp:this.facets> <xp:viewColumnHeader value="Id" xp:key="header" id="viewColumnHeader2"> </xp:viewColumnHeader> </xp:this.facets> </xp:viewColumn> <xp:viewColumn columnName="FirstName" id="viewColumn3"> <xp:this.facets> <xp:viewColumnHeader value="First name" xp:key="header" id="viewColumnHeader3"> </xp:viewColumnHeader> </xp:this.facets> </xp:viewColumn> <xp:viewColumn columnName="LastName" id="viewColumn4"> <xp:this.facets> <xp:viewColumnHeader value="Last name" xp:key="header" id="viewColumnHeader4"> </xp:viewColumnHeader> </xp:this.facets> </xp:viewColumn> <xp:viewColumn columnName="EMail" id="viewColumn5"> <xp:this.facets> <xp:viewColumnHeader value="E mail" xp:key="header" id="viewColumnHeader5"> </xp:viewColumnHeader> </xp:this.facets> </xp:viewColumn> <xp:viewColumn columnName="City" id="viewColumn6"> <xp:this.facets> <xp:viewColumnHeader value="City" xp:key="header" id="viewColumnHeader6"> </xp:viewColumnHeader> </xp:this.facets> </xp:viewColumn> <xp:viewColumn columnName="Created" id="viewColumn7"> <xp:this.facets> <xp:viewColumnHeader value="Created" xp:key="header" id="viewColumnHeader7"> </xp:viewColumnHeader> </xp:this.facets> </xp:viewColumn> <xp:viewColumn columnName="$10" id="viewColumn8"> <xp:this.facets> <xp:viewColumnHeader value="Name" xp:key="header" id="viewColumnHeader8"> </xp:viewColumnHeader> </xp:this.facets> </xp:viewColumn> </xp:viewPanel> </xp:view>