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

[jira] Updated: (WICKET-1133) Possible issue with response page

     [ https://issues.apache.org/jira/browse/WICKET-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gwyn Evans updated WICKET-1133:
-------------------------------

    Attachment: myproject.zip

Quickstart

> Possible issue with response page
> ---------------------------------
>
>                 Key: WICKET-1133
>                 URL: https://issues.apache.org/jira/browse/WICKET-1133
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta4
>         Environment: WinXP, java 1.6, winstone & jetty
>            Reporter: Gwyn Evans
>            Assignee: Alastair Maw
>            Priority: Trivial
>         Attachments: myproject.zip
>
>
> This could well be a container issue - see note (2) at the end...
>  I've got a form, which I'm processing with Ajax, but I need to go
> onto a different page once it submits correctly.  The problem I'm
> seeing is that if I do a
>    setResponsePage(Sent.class);
> then the URL that's being generated is:
>   http://.../xyz/?wicket:bookmarkablePage=%3Acom.s.c.web.xyz.Sent
> The problem might be that my Home page is mounted as /sc (using
> HybridUrlCodingStrategy) but as a result there's no '/' page, so the
> request isn't picked up by the Wicket filter & goes to the default
> index.html."
> Notes
>   1) going to a mounted page works fine - Quickstart supplied with 2 buttons, one to mounted & one to unmounted
>    - Mounted works as expected, Unmounted end up at the index.html (although with a URL of http://localhost:8000/myproject/index.html?wicket:bookmarkablePage=%3Acom.mycompany.UnmountedPage)
>   2) running this in Jetty rather than Winstone and it works fine, so probable container issue?
>   

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