Forcing a No Selection Option in Drop Down Choice

2011-12-15 Thread Richard W. Adams
Is there a way to make DropDownChoice  offer no selection as the first 
option, even if the input model matches one of the selections? Perhaps a 
property to set, or method to override? Can't find this issue covered in 
the material I've looked at. I'm looking for some technique I can apply 
against the drop down class (or an extension to it) rather than adding 
dummy data to the model.

Has someone already invented this wheel?



**

This email and any attachments may contain information that is confidential 
and/or privileged for the sole use of the intended recipient.  Any use, review, 
disclosure, copying, distribution or reliance by others, and any forwarding of 
this email or its contents, without the express permission of the sender is 
strictly prohibited by law.  If you are not the intended recipient, please 
contact the sender immediately, delete the e-mail and destroy all copies.
**


Re: Forcing a No Selection Option in Drop Down Choice

2011-12-15 Thread Igor Vaynberg
setNullValid(true)

-igor

On Thu, Dec 15, 2011 at 7:42 AM, Richard W. Adams rwada...@up.com wrote:
 Is there a way to make DropDownChoice  offer no selection as the first
 option, even if the input model matches one of the selections? Perhaps a
 property to set, or method to override? Can't find this issue covered in
 the material I've looked at. I'm looking for some technique I can apply
 against the drop down class (or an extension to it) rather than adding
 dummy data to the model.

 Has someone already invented this wheel?



 **

 This email and any attachments may contain information that is confidential 
 and/or privileged for the sole use of the intended recipient.  Any use, 
 review, disclosure, copying, distribution or reliance by others, and any 
 forwarding of this email or its contents, without the express permission of 
 the sender is strictly prohibited by law.  If you are not the intended 
 recipient, please contact the sender immediately, delete the e-mail and 
 destroy all copies.
 **

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