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
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
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
>
> t:empty="- empty -"/>
>
> wo
Using the select component with an Enum is very convenient:
...
...
to display a 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==n