[ 
https://issues.apache.org/jira/browse/WICKET-4693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-4693.
-------------------------------------

    Resolution: Not A Problem

You need
final FeedbackPanel feedback = new FeedbackPanel("feedback", new 
ContainerFeedbackMessageFilter(form));

ComponentFeedbackPanel uses ComponentFeedbackMessageFilter which filters only 
on the passed component, while you need ContainedFeedbackMessageFilter to be 
able to filter on the passed component and its children.
In your case the error feedback message that the FCP is valid was never 
rendered and thus it stayed in error state for each submit.
                
> ComponentFeedbackPanel with Form filter and FormComponentPanel exhibits 
> strange behavior
> ----------------------------------------------------------------------------------------
>
>                 Key: WICKET-4693
>                 URL: https://issues.apache.org/jira/browse/WICKET-4693
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.0.0-beta3
>         Environment: Firefox, Chrome, Safari, JDK 1.6.0_33 on OSX
>            Reporter: Jeff Bailey
>            Priority: Critical
>         Attachments: cfp.zip
>
>
> FormComponentPanels in a Form used as the component in a 
> ComponentFeedbackPanel fails to re-submit once a validation has failed.
> A quickstart demonstrating the bug and steps to reproduce will be forthcoming.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to