Using the select component with an Enum is very convenient:

...
<input t:type="Select" t:id="color" t:value="preferredColor"/>
...

to display a <input type="select" ...> html drop down list showing all
entries defined by the Enum Color.

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?

Best Regards,

Christoph Jäger

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to