did you set 'setNullValid(true)' on your component?

Martijn

On 5/26/06, Andrew Berman <[EMAIL PROTECTED] > wrote:
I have a page and when it first loads up, the null value is there with the appropriate "Choose One."  However, if I choose a selection from the dropdown and submit the form, when validation fails (and it goes back to the form page), the null value is gone and the user cannot change it back to Choose One if they want to nullify their response.  This behavior also seems to occur in Wicket-Examples on the Comp reference for DropDownChoice.  How do you keep the null response without actually adding it to the list passed to DropDownChoice?

Thanks,

Andrew



--
Download Wicket 1.2 now! Write Ajax applications without touching _javascript_!
-- http://wicketframework.org

Reply via email to