You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2007/10/03 15:04:50 UTC

[jira] Commented: (WICKET-497) For stateless mounted page incorrect url is generated

    [ https://issues.apache.org/jira/browse/WICKET-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532089 ] 

Johan Compagner commented on WICKET-497:
----------------------------------------

Oli,

you can easily fix the example you have there. Just place one extra setRedirect(true) besides the setResponsePage() call.
But that should be default by form processing anyway. So i changed the statelessform that it sets the redirect boolean in the process method.

A redirect will not happen when you make errors on your form. Because that is not possible for a stateless page.

> For stateless mounted page incorrect url is generated
> -----------------------------------------------------
>
>                 Key: WICKET-497
>                 URL: https://issues.apache.org/jira/browse/WICKET-497
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta1
>         Environment: wicket-1.3.0-incubating-snapshot.jar from 21 Apr 2007
>            Reporter: Shumbola
>            Assignee: Johan Compagner
>            Priority: Critical
>             Fix For: 1.3.0-beta4
>
>         Attachments: WICKET-497-Quickstart.zip
>
>
> There is no redirect by default if I use setResponsePage(new Home()) inside onSubmit() handler. If set redirect explicitly, after login from stateless SignIn page the url contains form submission listener. Example: http://localhost:8888/app/signin/wicket:interface/%3A0%3AsignInForm%3A%3AIFormSubmitListener%3A?wicket:interface=:1:::.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.