You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/05/09 16:57:48 UTC

[jira] [Resolved] (WICKET-4373) Form inside panel provided by IComponentResolver is broken

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

Martin Grigorov resolved WICKET-4373.
-------------------------------------

    Resolution: Won't Fix

This is how IComponentResolvers work.
They are used only for the render phase. I.e. the component wont be found at action phase (listener interface processing)
                
> Form inside panel provided by IComponentResolver is broken
> ----------------------------------------------------------
>
>                 Key: WICKET-4373
>                 URL: https://issues.apache.org/jira/browse/WICKET-4373
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4
>         Environment: Latest wicket snapshot (but quite possibly earlier versions also)
> Win XP 
> 4GB RAM
>            Reporter: Chris Colman
>              Labels: wicket
>         Attachments: ComponentResolverBrokenForm.zip
>
>
> Panel (WelcomePanel) contains a form. That form is not added explicitly to the page (HomePage) but is provided by an implementation of IComponentResolver configured for the app.
> The panel and the form display without a problem which indicates that the component resolver has correctly resolved the component but the form does not function correctly.
> When user clicks on a form a message appears saying that a component could not be found.
> If you uncomment the 'add' in HomePage.onInitialize() to explicitly add the WelcomePanel (instead of relying on the component resolver to do it) then the form functions correctly.

--
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