Hi, this is my problem: I have a form and 2 date fields. When the form is
submitted for the first time, I do some validation on those fields and if
everything goes ok, then I store the model object. Eventually, I have to
disable the first of the 2 date fields to prevent modification, but the
second one still needs to be editable. The thing is that when I do that,
when I disable the first of the datefields I get a nullPointerException in
the validator because I receive a null DateTime instead a date for the
disabled field.
If I setenabled(false) in a component then the content is not submitted? How
can I do to still validate the date interval if I'm getting only the enabled
date?
-- 
View this message in context: 
http://www.nabble.com/Problems-disabling-componets-and-submitting-them-to-validation-tp17440116p17440116.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to