Inner form validators not skipped when inner form disabled
----------------------------------------------------------
Key: WICKET-1124
URL: https://issues.apache.org/jira/browse/WICKET-1124
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.0-beta4
Reporter: Gwyn Evans
Priority: Minor
The specific issue I've just run across is where I have a outer form and,
depending upon a checkbox, might have an inner form being enabled or not.
(It's an inner form, rather than just a part of the main form as it's off as a
component with it's own panel.)
Anyway, the inner form has password/confirmPassword fields and an
EqualInputValidator, but if the form is displayed but then disabled again (via
Ajax, if significant,) when the form's finally submitted I get a warning,
saying "IFormValidator in form '...' depends on a component that has been
removed from the page or is no longer visible. Offending component id
`password`."
As Igor commented, "looks like we need to update form processing code to skip
inner disabled forms".
/Gwyn
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.