[ 
https://issues.apache.org/jira/browse/WICKET-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552750
 ] 

Gerolf Seitz commented on WICKET-1124:
--------------------------------------

i have created a wiki page[0] that should act as a specification to document 
how nested forms are *intended* to work.

currently, there are 11 scenarios on the page, and i have modified form 
handling, so that all 11 scenarios in form of unit tests are passed.

please take some time to review the scenarios and add new scenarios that should 
be covered too and/or comment on existing scenarios, should you not agree with 
the specified behavior.

[0] http://cwiki.apache.org/WICKET/nested-forms.html

> 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
>            Assignee: Matej Knopp
>            Priority: Minor
>             Fix For: 1.3.0-rc3
>
>
> 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.

Reply via email to