Hi, I'm looking for the way to change the how the value property of the @Option can be change. By default, it put an index from 0 to n. But I don't want that. I would like to be able to do something like :
<select jwcid="[EMAIL PROTECTED]" name="searchCriteria.requester" size="1" tabindex="6" class="comboBox9pt"> <span jwcid="@Foreach" source="ognl:requesters" value="ognl:currentRequester"> <option jwcid="@Option" label="ognl:currentRequester.display" selected="ognl:currentRequester" value="ognl:currentRequester.code"/> </span> </select> In this code, when the form is submit, the field searchCriteria.requestershould be fill-in with currentRequester.code. Tapestry 4 doesn't allow to have an explicit "value" property defined. Is it possible to create a component from the @Option component, rewrite the "render" method and use the setValue(myValues) ? Thanks BW
