myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wong, Emmanuel \(Sam\)" <Wo...@SEC.GOV>
Subject [Tobago} using actionListener to redisplay textbox input value
Date Wed, 03 Jan 2007 20:07:05 GMT
Hi:
 	I have an application contains 3 tabs, I am trying to use the
2nd tab contains <tc:sheet> and able to redisplay what I have selected
on the 2nd tab <tc:sheet>.  I was not able to redisplay the value by
calling actionListener.  The reason that I am using the actionListener
on the datasheet to bypass the validation error.  If I use


Using ActionListener:
<tc:column id="creationDate" label="#{radarProperty.lbl_date}"
						sortable="true">
						<tc:link
actionListener="#{riskIdentifyController.displaySelectedRisk}" 
	
immediate="true">						
							<tc:out
value="#{riskList.creationDate}" id="risk_creationDate" />
							<f:param
name="value" value="#{riskList.riskId}"/>
						</tc:link>
					</tc:column>



Trying to redisplay the value on <tc:in>:
<%-- rows --%>
		<tc:label value="#{radarProperty.lbl_title}:" />
		<tc:cell spanX="2">
			<tc:in
value="#{riskIdentifyController.currentRisk.riskTitle}"
				required="false">
				<f:validateLength maximum="250" />
			</tc:in>
		</tc:cell>	



If I used action command:
<tc:column label="#{radarProperty.lbl_title}" id="riskTitle"
						sortable="false"
align="left">
						<tc:link
action="#{riskIdentifyController.editRisk}" 
	
tip="#{radarProperty.tip_edit_risk}" >
							<tc:out
value="#{riskList.riskTitle}" id="risk_title" />
						</tc:link>
					</tc:column>

I will get validation error on the 2nd tab.   Any suggestion????	

Mime
View raw message