You can set a break point at the beginning of DefaultRequestTargetResolverStrategy#resolve and see where it returns. In your debugger, you can also look at the RequestParameters object to find out how Wicket interprets the request.
Eelco On 10/10/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote: > I am not sure I understand what you mean. (To be honest, I am sure I > don't). From the debugger, how can I find the answer to this question? > > Pierre-Yves > > Eelco Hillenius a écrit : > > So, where does it resolve to then (what is the request target it > > thinks it has to execute)? > > > > Eelco > > > > > > On 10/10/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote: > >> I put breakpoints on Form#onFormSubmitted and > >> AbstractCompoundRequestCycleProcessor#resolve. Those breakpoint are > >> reached for other forms that I navigate through to reach the page that > >> is causing trouble. In the form that has the problem, > >> AbstractCompoundRequestCycleProcessor#resolve is reached, but not > >> Form#onFormSubmitted. > >> > >> Pierre-Yves > >> > >> Eelco Hillenius a écrit : > >> > That's pretty weird yes. Can you confirm the action attribute of the > >> > form element is generated correctly? Do you have any validation > >> > errors? You could set a break point in Form#onFormSubmitted and see > >> > whether the request arrives there at all. If it doesn't, somehow the > >> > call back doesn't work (the action attribute of Form might be wrong). > >> > In that case, AbstractCompoundRequestCycleProcessor#resolve is a good > >> > place to set a break point. If the request does arrive in the form, > >> > see what happens there. > >> > > >> > Eelco > >> > > >> > On 10/9/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote: > >> >> Hi, > >> >> > >> >> I have a form and on a page and I believe a click on the submit button > >> >> should cause a call to the onSubmit method. (No onSubmit in the > >> button, > >> >> all default settings). By default, I suppose after the call to > >> onSubmit > >> >> Wicket should redisplay the same page. Instead of this, onSubmit is > >> not > >> >> called and Wicket displays the home page. I am sure I am doing > >> something > >> >> wrong, but I can't find what. Any hint about where to look for? > >> >> > >> >> Pierre-Yves > >> >> > >> >> > >> >> > >> ------------------------------------------------------------------------- > >> >> 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 > >> >> Wicket-user@lists.sourceforge.net > >> >> 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 > >> Wicket-user@lists.sourceforge.net > >> 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 > Wicket-user@lists.sourceforge.net > 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user