Take a look at LabeledPropertySelectionModel of T4...
It can decorate every other Model - it simply adds an entry with a
configurable label on top.
Robin Helgelin wrote:
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?
--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]