Re: [Wicket-user] Could not find root ajax-response element with AjaxFormSubmitBehavior+ browser back botton

2007-01-13 Thread Ingram Chen
I trace the code and found the cause is some AjaxBehavior calling AbstractAjaxBehavior.getCallbackScript(boolean recordPageVersion, boolean onlyTargetActivePage) with onlyTargetActivePage=true. by this, ajax behavior is only actived in latest access page. I check core component and those

[Wicket-user] Could not find root ajax-response element with AjaxFormSubmitBehavior+ browser back botton

2007-01-12 Thread Ingram Chen
Hi all, I just found a bug (?) about AjaxFormSubmitBehavior when doing some browser back botton, like: (1) X page has a Form and use AjaxFormSubmitBehavior (2) navigate X to Y by a link (3) browser back to X (4) submit form of X by AjaxFormSubmitBehavior (5) then: *INFO: * *INFO: *

Re: [Wicket-user] Could not find root ajax-response element with AjaxFormSubmitBehavior+ browser back botton

2007-01-12 Thread Matej Knopp
This is weird. Can you please check if there is no exception in the log? -Matej Ingram Chen wrote: Hi all, I just found a bug (?) about AjaxFormSubmitBehavior when doing some browser back botton, like: (1) X page has a Form and use AjaxFormSubmitBehavior (2) navigate X to Y by a

Re: [Wicket-user] Could not find root ajax-response element with AjaxFormSubmitBehavior+ browser back botton

2007-01-12 Thread Ingram Chen
I turn on log4j.logger.wicket=DEBUG and only see one message: DEBUG - Session- wicket.Session=updateSession(): Attaching session to PageMap [PageMap name=null, access=[[Access id=0, version=0], [Access id=1, version=0], [Access id=2, version=0]]] and no exception. It doesn't