I just added a quickstart and JIRA-4373.

It definitely is related to the use of an IComponentResolver. If the
panel containing the form is added explicitly the problem does not
occur.

>-----Original Message-----
>From: Igor Vaynberg [mailto:[email protected]]
>Sent: Monday, 30 January 2012 3:29 PM
>To: [email protected]
>Subject: Re: Strange form in a panel behaviour
>
>quickstart?
>
>-igor
>
>On Sun, Jan 29, 2012 at 8:18 PM, 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?****
>>
>> ** **
>>
>> 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.getCompone
nt(P
>ageAndComponentProvider.java:181)
>>
>atorg.apache.wicket.request.handler.ListenerInterfaceRequestHandler.get
Comp
>onent(ListenerInterfaceRequestHandler.java:92)
>>
>atorg.apache.wicket.request.handler.ListenerInterfaceRequestHandler.res
pond
>(ListenerInterfaceRequestHandler.java:239)
>>
>atorg.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(
Requ
>estCycle.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(
Requ
>estCycle.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****
>>
>>  ****
>>
>> ** **
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to