Hi,
   I have written a simple date component with 3 dropdowns using
FormComponentPanel.
In the method convertInput, I am doing 

        Integer day = (Integer) day.getConvertedInput();
        Integer month = (Integer) month.getConvertedInput();
        Integer year = (Integer) year.getConvertedInput();
        LocalDate date;

       try {
                date = new LocalDate(year, month, year);
                setConvertedInput(date);
            } catch (IllegalArgumentException e) {
                MyCalendarPanel.this.error(e.getMessage());
                invalid();
            }

On the screen when I select 31-Nov-2008(wrong date!), the form is not
submitted due to error but I am not getting error message on my feedback
panel. Am I missing something?

Regards,
NTS

-----
http://ntsrikanth.blogspot.com/
-- 
View this message in context: 
http://www.nabble.com/Validation-in-FormComponentPanel-tp17913141p17913141.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