Xpages File to Read Log.nsf fed by BackingBean | JavaBean

<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
	<xp:span style="font-weight:bold;font-size:21pt">
		New NotesLog</xp:span>
	<xp:span style="font-weight:bold;font-size:21pt"> List</xp:span>
	<xp:br style="font-weight:bold;font-size:21pt"></xp:br>
	<xp:tabbedPanel id="tabbedPanel1">
		<xp:tabPanel label="" id="tabPanel1">
			<xp:dataTable id="dataTable1" var="categoryTable"
				value="#{javascript:RetrieveNewNotesLogDataBackingBean.getNewLogKeywords()}"
				style="width:80.0%;background-color:rgb(168,168,0)" rows="7">
				<xp:this.facets>

					<xp:pager partialRefresh="true"
						layout="FirstImage PreviousImage SeparatorPage Group NextImage LastImage"
						xp:key="header" id="pager1" for="dataTable1"
						style="color:rgb(0,64,64);font-weight:bold;background-position:top center" />
					<xp:pager partialRefresh="true"
						layout="FirstImage PreviousImage SeparatorPage Group NextImage LastImage"
						xp:key="footer" id="pager2" for="dataTable1" title="By Category"
						style="color:rgb(0,64,64);font-weight:bold;background-position:top center" />
				</xp:this.facets>
				<xp:column id="column3">

					<xp:link escape="true" id="link1"
						style="text-align:center;background-position:center center;width:88.0px">

						<xp:this.value>

<![CDATA[#{javascript:categoryTable.logEvents}]]>

						</xp:this.value>
						<xp:image id="image1" url="/xpSearch_oneUI.gif" alt="View File"
							style="align:center;height:18.0px;width:35.0px" />
					</xp:link>
					<xp:this.facets>

						<xp:label id="label1" xp:key="header"
							style="font-weight:bold;font-family:Arial Black;font-size:14pt;background-color:rgb(220,237,237);color:rgb(0,64,0);width:131.0px"
							for="image1" value="XpagesFile" />
					</xp:this.facets>
				</xp:column>
				<xp:column id="column4">
					<xp:this.facets>
						<xp:label value="FormFile" id="label3" xp:key="header"
							style="font-weight:bold;font-family:Arial Black;font-size:14pt;background-color:rgb(220,237,237);color:rgb(0,64,0);width:128.0px" />
					</xp:this.facets>

					<xp:link escape="true" text="#{categoryTable.browserURL}"
						id="link2" value="#{javascript:categoryTable.browserURL}" title="Type"
						style="color:rgb(0,255,255);font-weight:bold" />

				</xp:column>
			</xp:dataTable>
		</xp:tabPanel>

	</xp:tabbedPanel>

</xp:view>





this XSnippet can be used with the BackingBean | JavaBean classes added a moment ago to view Log.nsf documents via Form or Xpages...

XPages
Köll S Cherizard
January 12, 2014 3:28 PM
Rating
10

All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.



No comments yetLogin first to comment...