Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2013 Teamstudio Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the License
-->
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2013 Teamstudio Inc Licensed under the Apache License,
Version 2.0 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by
applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the
<unp:unpScrollableArea>
<xp:this.facets>
<unp:unpAccordion xp:key="facet_1" viewName="People By Country"
insetData="true" expandfirstcategory="yes" xpage="/FormsReadMode.xsp">
</unp:unpAccordion>
</xp:this.facets>
</unp:unpScrollableArea>
<unp:unpScrollableArea>
<xp:this.facets>
<unp:unpFlatView insetData="true" detailColumn="Company"
summaryColumn="FullName" title="People from Singapore" viewName="People By Country Filter"
xpageDoc="FormsReadMode.xsp" xp:key="facet_1" numberofrows="200"
refreshmethod="pull" position="menu-aligned" photoColumn="Photo"
wrapsummarytext="yes" categoryfilter="Singapore" categoryindex="1" enableAZPicker="yes">
</unp:unpFlatView>
</xp:this.facets>
</unp:unpScrollableArea>
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
xmlns:xc="http://www.ibm.com/xsp/custom">
<xp:this.resources>
<xp:script src="/unpDebugToolbar.jss" clientSide="false"></xp:script>
</xp:this.resources>
<xc:unpDebugToolbar defaultCollapsed="false"></xc:unpDebugToolbar>
<xp:this.afterPageLoad><![CDATA[#{javascript:dBar.debug("afterPageLoad");}]]
</xp:this.afterPageLoad>
<xp:this.beforeRenderResponse><![CDATA[#{javascript:dBar.debug("beforeRenderResponse");}]]
<xc:unpDialog callback="myFunction" title="Dialog Demo">
<xp:this.facets>
<xp:panel xp:key="facet_1">
Content goes here
</xp:panel>
</xp:this.facets>
</xc:unpDialog>
<a href="#dialogPopup" class="opendialoglink">
Open Dialog
</a>
<unp:unpFlatView insetData="true" title="Employees"
summaryColumn="Name" viewName="Employees" xp:key="facet_1"
numberofrows="20" refreshmethod="pull" position="left-aligned"
ajaxload="Yes" detailColumn="DOB" xpageDoc="EmployeeFlatView.xsp">
</unp:unpFlatView>
<unp:unpFooter newDocTarget="EmployeeEdit.xsp" synctype="currentdb"
newDocLoadType="ajax">
</unp:unpFooter>
<unp:unpFormEditor showbuttons="yes"
viewxpagename="FormsReadMode.xsp" formname="Person" title="Person"
xp:key="facet_1">
<xp:this.facets>
<xp:panel xp:key="facet_1">
<ul class="fieldlist">
<li>
<xp:label value="First Name" id="firstnamelabel"
for="firstname">
</xp:label>