Hi,

On Mon, Jan 30, 2012 at 6:18 AM, Chris Colman
<[email protected]>wrote:

> ** **
>
> I have a form in a panel inside the home page and all of its fields are
> filled out with the correct values when the page is displayed. Obviously
> being inside the form the Java object hierarchy matches the HTML hierarchy.
> ****
>
> ** **
>
> However when you submit the form Wicket says:****
>
> ** **
>
> Last cause: Could not find component 
> 'body:_wicket_child2:_wicket_extend3:welcomePanel:loginForm' on page 'class 
> com.sas.av.ui.wicket.templates.original.HomePage****
>
> ** **
>
> How could the loginForm component be positioned correctly in the Java
> component hierarchy when displaying but not when submitting?
>

Do you do anything tricky related to the statelessness of the page together
with usage of onInitialize() ?
I remember such problems with stateless pages in 1.5 RCs but we solved
them. Maybe you found a new way to break it.


> ****
>
> ** **
>
> Root cause:****
>
> org.apache.wicket.request.handler.ComponentNotFoundException: Could not
> find component 'body:_wicket_child2:_wicket_extend3:welcomePanel:loginForm'
> on page 'class com.sas.av.ui.wicket.templates.original.HomePage
>      
> atorg.apache.wicket.request.handler.PageAndComponentProvider.getComponent(PageAndComponentProvider.java:181)
>      
> atorg.apache.wicket.request.handler.ListenerInterfaceRequestHandler.getComponent(ListenerInterfaceRequestHandler.java:92)
>      
> atorg.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:239)
>      
> atorg.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:781)
>      at org.apache.wicket.request.RequestHandlerStack.execute
> (RequestHandlerStack.java:64)
>      at org.apache.wicket.request.cycle.RequestCycle.execute
> (RequestCycle.java:255)
>      at org.apache.wicket.request.cycle.RequestCycle.processRequest
> (RequestCycle.java:212)
>      
> atorg.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)
>      at org.apache.wicket.protocol.http.WicketFilter.processRequest
> (WicketFilter.java:185)
>      at org.apache.wicket.protocol.http.WicketFilter.doFilter
> (WicketFilter.java:241)
>      at com.sas.av.ui.wicket.templates.original.MyWicketFilter.doFilter
> (PagebloomFilter.java:96)
>      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:235)
>      at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:206)
>      at com.sas.av.model.context.UrlRedirectorFilter.doFilter
> (UrlRedirectorFilter.java:77)****
>
> ** **
>
> Using latest snapshot as of about 1 hour ago when I pull all changes on
> wicket-1.5.x branch.****
>
> ** **
>
> Yours sincerely,****
>
> ** **
>
> Chris Colman****
>
>  ****
>
> Pagebloom Team Leader,****
>
> Step Ahead Software
>
> ****
>
> pagebloom - your business & your website growing together****
>
> ** **
>
> **Sydney**: (+61 2) 9656 1278     ****Canberra****: (+61 2) 6100 2120
> ****
>
> Email: [email protected] <//[email protected]>****
>
> Website:****
>
> http://www.pagebloom.com****
>
> http://develop.stepaheadsoftware.com****
>
>  ****
>
> ** **
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to