myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Digdas <aart.scheep...@nxp.com>
Subject t:selectOneRadio in a4j:repeat
Date Thu, 08 Jul 2010 10:15:33 GMT

With the following example, I am not able to find the "for" for the t:radio
tag.

		<h:form id="lotExperimentForm">
			<a4j:repeat value="#{enumHelper.yesNo}" id="rep">
				<t:selectOneRadio id="wafer2" layout="spread">
					<f:selectItem itemValue="test1" />
					<f:selectItem itemValue="test2" />

				</t:selectOneRadio>
			</a4j:repeat>
			<t:radio for="lotExperimentForm:rep:0:wafer2" index="1"></t:radio>
		</h:form>


When I leave out the layout="spread" and the t:radio, and I inspect the
source of the page, the id="lotExperimentForm:rep:0:wafer2".

How can I find out the id?

Without the a4j:repeat, the name of the id is simple:
lotExperimentForm:wafer2. This works.
-- 
View this message in context: http://old.nabble.com/t%3AselectOneRadio-in-a4j%3Arepeat-tp29105396p29105396.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message