Claus M. Christiansen wrote the following on 10/12/2004 3:13 PM:

Now.. The problem lies in the nested iterate tag. The "indexed=true" takes the value from the iterate tag in which it is nested, but what I really need is the one from the outer tag, which is called subQuestion. The reason I need the 'outer' is because the <html:radio is dependant on it.
I'm not even sure it can be done this way, but if it can't then I would like a suggestion of what to do then...

just use whatever id you are using for the indexId of the outer nested iterate.


<nested:iterate property="outer" indexId="fooIndex">
        <nested:iterate property="inner" indexId="barIndex">

if you are using the nested EL tags or JSP2.0 you then have easy access to display the value of any indexId ... use either <c:out value='${fooIndex}'/> if JSTL or if JSP2.0 just ${fooIndex}


-- Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to