DB2 Records Into Xpages Form


xpdb2bycategory.xsp;

<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">

	<xp:dataTable rows="5" id="siteTable" var="contact"
		value="#{javascript:RetrieveSubjectsBackingBean.getKeywords()}" style="width:50%">

		<xp:this.facets>

			<xp:pager layout="Previous Group Next" xp:key="header" id="pager1"
				for="siteTable">

			</xp:pager>

			<xp:pager layout="Previous Group Next" xp:key="footer" id="pager2"
				for="siteTable" partialRefresh="true">

			</xp:pager>

		</xp:this.facets>


		<xp:column id="userNameColumn" style="font-weight:bold;font-size:10pt">
			<xp:this.facets>
				<xp:span xp:key="header">UserName</xp:span>
			</xp:this.facets>

			<xp:text escape="true" id="userNameField" value="#{contact.userName}">

			</xp:text>

		</xp:column>

		<xp:column id="allegationNumberColumn" style="font-weight:bold;font-size:10pt">
			<xp:this.facets>
				<xp:span xp:key="header">Allegation Code</xp:span>
			</xp:this.facets>

			<xp:text escape="true" id="allegationNumberField" value="#{contact.allegationNumber}">

			</xp:text>

		</xp:column>

		<xp:column id="officeColumn" style="font-weight:bold;font-size:10pt">
			<xp:this.facets>
				<xp:span xp:key="header">Office</xp:span>
			</xp:this.facets>

			<xp:text escape="true" id="officeField" value="#{contact.office}">

			</xp:text>

		</xp:column>

	</xp:dataTable>

</xp:view>
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...