Wendy Smoak
2002-10-09 23:29:11 UTC
I can't find an example of this one:
<logic:iterate id="resView" name="foundPersons" >
<html:radio property="key" value="???" />
<bean:write name="resView" property="key" filter="true"/>
</logic:iterate>
What I really need for the radio button is something like:
<html:radio property="key" value="<% resView.getKey(); %>" />
Have I reached the point where I *must* use JSTL, or is there a way to get a
property from the 'current' bean as you iterate through and use it as the
value of a radio button?
(It's not that I don't want to use JSTL, I just haven't figured out Struts
yet, and I can only absorb so much at one time!)
If it helps, I'm presenting a "resolution page" after the user has typed in
a name. S/he will choose one of the names, and we'll go back to the
original form for more data entry.
Thanks,
<logic:iterate id="resView" name="foundPersons" >
<html:radio property="key" value="???" />
<bean:write name="resView" property="key" filter="true"/>
</logic:iterate>
What I really need for the radio button is something like:
<html:radio property="key" value="<% resView.getKey(); %>" />
Have I reached the point where I *must* use JSTL, or is there a way to get a
property from the 'current' bean as you iterate through and use it as the
value of a radio button?
(It's not that I don't want to use JSTL, I just haven't figured out Struts
yet, and I can only absorb so much at one time!)
If it helps, I'm presenting a "resolution page" after the user has typed in
a name. S/he will choose one of the names, and we'll go back to the
original form for more data entry.
Thanks,
--
Wendy Smoak
http://sourceforge.net/projects/unidbtags
Wendy Smoak
http://sourceforge.net/projects/unidbtags