I hope I don't misunderstand what you're trying to do, but I usually use PropertySelection for my drop-downs, like
<span jwcid="@PropertySelection" model="ognl:egenskaper" value="ognl: column.type"/> As usual the choice is both read and set by get/setType() in my example. The only slightly tricky thing is to make a IPropertySelection object that describes the choices, but there's a good example in the component refrence at http://jakarta.apache.org/tapestry/tapestry/ComponentReference/PropertySelection.html Cheers, PS On 4/11/06, Annie Lim <[EMAIL PROTECTED]> wrote: > > Hello, > > I am currently evaluating Tapestry 4 and am having issues with the select > drop downs. Is there an option to allow the selected option to be set to an > object's property directly ?? From what I can see, it seems to be set to a > boolean array. I have also tried the Property Selection component to no > avail. > > My page has a list of objects in a table and a drop down as one of its > fields. After a query, the drop down field for each row in the table is > meant to have the correct option selected, depending on the value set within > the object. Is there a way in tapestry to do this ?? > > Any help would be deeply appreciated. > > Cheers, > Annie > > > > > > > > ---------------------------------------------------------------------------------------------------- > The above message has been scanned and meets the Insurance Commission of > Western Australia's > Email security policy requirements for outbound transmission. > > This email (facsimile) and any attachments may be confidential and > privileged. If you are not the > intended recipient, you are hereby notified that any use, dissemination, > distribution or copying of this > email (facsimile) is strictly prohibited. If you have received this email > (facsimile) in error please contact > the Insurance Commission. > > Web: www.icwa.wa.gov.au > Phone: +61 08 92643333 > > ---------------------------------------------------------------------------------------------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >