Skip to content

Instantly share code, notes, and snippets.

@whitemx
Last active December 28, 2015 16:19
Show Gist options
  • Save whitemx/7527732 to your computer and use it in GitHub Desktop.
Save whitemx/7527732 to your computer and use it in GitHub Desktop.
<?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
-->
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
xmlns:xc="http://www.ibm.com/xsp/custom"
xmlns:unp="http://unplugged.teamstudio.com">
<xp:this.resources>
<xp:styleSheet href="/unplugged.css"></xp:styleSheet>
</xp:this.resources>
<unp:unpHeader search="database" searchPage="UnpSearch.xsp"
viewsButton="true" title="Notebook">
</unp:unpHeader>
<unp:unpNavigatorComputed>
<unp:this.computedmenuitems><![CDATA[#{javascript:[
{label: "All Documents", hasSubMenu: false, page: "/UnpMain.xsp", ajaxloadid: "contentwrapper", ajaxtargetid: "content"},
{label: "By Diary Date", hasSubMenu: false, page: "/UnpByDate.xsp", ajaxloadid: "contentwrapper", ajaxtargetid: "content"},
{label: "By Category", hasSubMenu: false, page: "/UnpByCategory.xsp", ajaxloadid: "contentwrapper", ajaxtargetid: "content"},
{label: "About", hasSubMenu: false, page: "/UnpAbout.xsp", ajaxloadid: "contentwrapper", ajaxtargetid: "content"}
]}]]></unp:this.computedmenuitems>
</unp:unpNavigatorComputed>
<div id="content">
<div id="contentwrapper">
<unp:unpScrollableArea>
<xp:this.facets>
<unp:unpFlatView insetData="true" numberofrows="20"
refreshmethod="pull" position="menu-aligned" xp:key="facet_1"
viewName="(UnpAllDocuments)" xpageDoc="UnpDocument.xsp" title="All Documents"
summaryColumn="Topic" detailColumn="Modified">
</unp:unpFlatView>
</xp:this.facets>
</unp:unpScrollableArea>
</div>
</div>
<unp:unpFooter newDocTarget="UnpDocumentEdit.xsp"
newDocLoadType="ajax" synctype="alldbs">
</unp:unpFooter>
</xp:view>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment