Actually, I figured it out. All the validators are getting called from the
inner form. But there was an NullPointerException in the first validator
which blocked all the others and I wasn't seeing them. Thanks for your help.
--
View this message in context:
http://apache-wicket.1842946.n4.nabbl
Looking further at my code, I see that the custom validators from the inner
form DO get called; but the one that doesn't get called is
.setRequired(true). There is one component in the inner form which is
setRequired(true). And that validation is bypassed for some reason, although
all the other one
In the final HTML, my form is flattened out, there is only .
That's because Wicket supports nested forms but HTML does not.
Wicket will hide any inner tags but keep the Form object references.
See section 10.5 Nested Forms of the Wicket Free Guide for more details.
http://wicket.apache.org/learn/
In the final HTML, my form is flattened out, there is only .
In my Wicket markup, the structure is:
PANEL -> FORM -> SecondPanel -> SecondForm
The main PANEL's FORM is being submitted, and validated. But the
"SecondForm" validation never gets called.
--
View this message in context:
http://ap
Have you checked the Wiki pages?
https://cwiki.apache.org/confluence/display/WICKET/Nested+Forms
Which use-case are your referring to again?
~ Thank you,
Paul Bors
-Original Message-
From: eugenebalt [mailto:eugeneb...@yahoo.com]
Sent: Wednesday, August 14, 2013 2:20 PM
To: users@wick