Hi Johan,

While I was extracting the form tag from the markup, I found the cause 
of the problem. The form was inside another form (with the opening tag 
far above, which is why I did not noticed it). The outside form had no 
wicket id nor even an action tag, and I suppose it had been put there at 
design time for some reason related to presentation.

Basically, the template was:

<form>
     ...
     <form wicket:id='myForm'>
         ...
     </form>
     ...
</form>

This cause the application to display the home page without any error 
message.

Pierre-Yves

Johan Compagner a écrit :
> Can you give me the complete form tag thats in the html?
> 
> johan
> 
> 
> On 10/11/06, *Pierre-Yves Saumont* <[EMAIL PROTECTED] <mailto:[EMAIL 
> PROTECTED]>> 
> wrote:
> 
>     No ideas or further experiments to try to solve this issue ? ;-)
> 
>     Pierre-Yves
> 
>     Pierre-Yves Saumont a écrit :
>      > Here is the request parameter object:
>      >
>      > [RequestParameters
>      >
>     
> parameters={rightColumn_pagePanel_dialogBoxExpiries_tabs_panel_dialogBoxContent_selectExpiriesForm:hf:0=,
> 
>      > submit-button=[[ button text ]]} onlyProcessIfPathActive=false]
>      >
>      > Inside it, all values are null, false or 0, except the parameters map
>      > which contains two elements:
>      >
>      >
>     
> rightColumn_pagePanel_dialogBoxExpiries_tabs_panel_dialogBoxContent_selectExpiriesForm:hf:0
> 
>      > submit-button=[[ button text ]]
>      >
>      >
>      > DefaultRequestTargetResolverStrategy#resolve returns at:
>      >
>      > return resolveHomePageTarget(requestCycle, requestParameters);
>      >
>      > Pierre-Yves
>      >
>      > Eelco Hillenius a écrit :
>      >> 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]
>     <mailto:[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]
>     <mailto:[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]
>     <mailto:[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
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>      >>>>>>> _______________________________________________
>      >>>>>>> Wicket-user mailing list
>      >>>>>>> [email protected]
>     <mailto:[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
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>      >>>>> _______________________________________________
>      >>>>> Wicket-user mailing list
>      >>>>> [email protected]
>     <mailto:[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
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>      >>> _______________________________________________
>      >>> Wicket-user mailing list
>      >>> [email protected]
>     <mailto:[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
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>      > _______________________________________________
>      > Wicket-user mailing list
>      > [email protected]
>     <mailto:[email protected]>
>      > https://lists.sourceforge.net/lists/listinfo/wicket-user
>      >
>      >
>      >
> 
> 
>     -------------------------------------------------------------------------
> 
>     Using Tomcat but need to do more? Need to support web services,
>     security?
>     Get stuff done quickly with pre-integrated technology to make your
>     job easier
>     Download IBM WebSphere Application Server v.1.0.1 based on Apache
>     Geronimo
>     http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>     _______________________________________________
>     Wicket-user mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/wicket-user
>     <https://lists.sourceforge.net/lists/listinfo/wicket-user>
> 
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to