[ 
https://issues.apache.org/jira/browse/WICKET-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581722#action_12581722
 ] 

Alastair Maw commented on WICKET-1133:
--------------------------------------

Sorry this has languished for so long without being looked at.

Given this works with Jetty and not with Winstone, I'm inclined to say it's 
likely a container issue.

Could you please do some of the following:
 - Create a quickstart that uses Winstone so we can test this.
 - Is this only a problem for AJAX requests? If you create a normal page and 
type the URL in manually, does it work?

> 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.

Reply via email to