Hello
I use some radiobuttons. I read in the tips from Ted Husted to do it like this :
<logic:iterate id="i" name="listLanguages">
<html:radio property="langCode" value="value" idName="i"/>
<bean:write name="i" property="label"/>
</logic:iterate>
for (Iterator iter = list.iterator(); iter.hasNext();){
Language language = (Language) iter.next();
listLanguages.add(new LabelValueBean(language.getLangCode639(),
language.getLangCode639())); }
req.setAttribute ("listLanguages",listLanguages);
The next time the user comes on this page, I want the previously selected radiobutton
to be selected.
Can someone tell me exactly what I have to to, because I'm missing something
Thanks
Koen Boutsen
____________________________________________________________
FREE ADHD DVD or CD-Rom (your choice) - click here!
http://ad.doubleclick.net/clk;6413623;3807821;f?http://mocda2.com/1/c/563632/131726/311392/311392
AOL users go here:
http://ad.doubleclick.net/clk;6413623;3807821;f?http://mocda2.com/1/c/563632/131726/311392/311392
This offer applies to U.S. Residents Only
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]