Create inputText Components on Xpages Form

<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="">
	<xp:panel binding="#{InputTextComponentBackingBean.baseComponentFirst}"></xp:panel>
	<xp:panel binding="#{InputTextComponentBackingBean.baseComponentMid}"></xp:panel>
	<xp:panel binding="#{InputTextComponentBackingBean.baseComponentLast}"></xp:panel>
	<xp:button value="Submit" id="button1">
		<xp:eventHandler event="onclick" submit="true"
			refreshMode="complete" immediate="false" save="true" id="eventHandler1">

Use this XSnippet in conjunction with the BackingBean added earlier to create HTML inputText items on your Xpages @ once, info that can be used in the case one needs to dynamically provide records to specific components, per user request.

Brief Instructions:
(1) Create New Xpages form with copy of XML above
(2) Create a facesConfig file, reference BackingBean
(3) Copy and paste BackingBean mentioned
(4) Run Form, Click button to create anew
 <!--CREATE HTML_FORM COMPONENTS: Dököll Solutions, Inc.-->

Watch it at work:

Köll S Cherizard
February 1, 2014 9:55 PM

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...