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 AjaxFormSubmitBehavior,
AjaxSelfUpdatingTimerBehavior, and AjaxFormComponentUpdatingBehavior are
setting flag as true and don't have alternative option. Is there any concern
why these behaviors have to use latest access page ?


On 1/13/07, Ingram Chen <[EMAIL PROTECTED]> wrote:

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 go to further steps like: "Getting page [path
= 1:form:go, versionNumber = -1]..." either.


On 1/13/07, Matej Knopp <[EMAIL PROTECTED]> wrote:

> 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 link
> > (3) browser back to X
> > (4) submit form of X by AjaxFormSubmitBehavior
> > (5) then:
> >
> > *INFO: *
> > *INFO:
> > *Initiating Ajax POST request on
> 
/quickstart/app?wicket:interface=:2:form:go:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true&random=
> 0.9194877543437688
> >
> > *INFO: *Invoking pre-call handler(s)...
> > *INFO: *Received ajax response (0 characters)
> > *INFO: *
> > *ERROR:
> > *Error while parsing response: Could not find root <ajax-response>
> element
> > *INFO: *Invoking post-call handler(s)...
> > *INFO: *Invoking failure handler(s)...
> >
> > I just got "Received ajax response (0 characters)" and no idea how to
> > investigate futher more.
> >
> > tested with 1.2.3 and 1.2.4 (both in IE and  Firefox)
> > attachment is quickstart for 1.2.4
> >
> > Any help ?
> >
> > --
> > Ingram Chen
> > ��便��啦: http://dinbendon.net
> > blog: http://www.javaworld.com.tw/roller/page/ingramchen
> >
> >
> >
> ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
>
> -------------------------------------------------------------------------
>
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>


--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen




--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to