Use the source. That's delegated to the surrounding Select: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/Option.java?view=markup
Looks like you'll have to copy Option and start hacking. Cheers, Nick. Joshua Jackson wrote:
Dear all, I have statically set up an Option component as such: <option jwcid="@Option" label="message:male" selected="ognl:selected" /> <option jwcid="@Option" label="message:female" selected="ognl:selected" /> But the html rendered as such: <option value="0">Male</option> <option value="1">Female</option> I need to set up the value to be male and female instead of 0 and 1. Is this possible in Tapestry. I couldn't find it in the Option and Select component document. Thanks in advance.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]