> Does anyone know of a simple way to have more than one option 
> with a null value in a DropDownChoice?

Well, how would you disambiguate between them? Null usually means
"unset" in the context of DDC, but here you have semantic meanings to
the choices, so they should be "real" objects.

A better solution is to have "constant values" that you treat specially,
e.g. if the domain objects are of type Name, add two elements at the top
of the list for the DDC.

public class Name {

        public static final Name ANY_VALUE = new Name(-1, "--- Any Name
----");
        public static final Name NO_MATTER_VALUE = new Name(-2, "---
Names Don't Matter ----");

...
        private int id;
        private String name;
...

}

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to