That was my solution, but then someone complained that it wasn't really a valid part of the list.
Mark J. Stang Software Engineer office: +1 303.468.2900 Ping Identity -----Original Message----- From: Robin Helgelin [mailto:[EMAIL PROTECTED] Sent: Tue 9/18/2007 2:44 PM To: Tapestry users Subject: Re: Select component with Enums On 9/18/07, Christoph Jaeger <[EMAIL PROTECTED]> wrote: > Now I would like to have the same drop down list, only with an "- empty > -" entry as first entry (meaning: no color was selected, > preferredColor==null). Is there an easy way to define this (something like > > <input t:type="Select" t:id="color" t:value="preferredColor" > t:empty="- empty -"/> > > would be very nice), or do I have to manually create a SelectModel and > ValueEncoder? Add another entry to the enum that defines a non-selected state? -- regards, Robin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]