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:01:50 UTC
[jira] Created: (WICKET-1133) Possible issue with response page
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
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.
[jira] Commented: (WICKET-1133) Possible issue with response page
Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (WICKET-1133) Possible issue with response page
Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alastair Maw resolved WICKET-1133.
----------------------------------
Resolution: Invalid
Fix Version/s: 1.3.3
This is an issue with Winstone. It seems that servlet filters that are mapped to /* are not honoured for requests to the servlet context's root home page ("/"). I tested this with Winstone verson 0.9.10.
This is not a Wicket issue. Marking this invalid.
> 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
> Fix For: 1.3.3
>
> 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.
[jira] Updated: (WICKET-1133) Possible issue with response page
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-1133:
---------------------------------------
Fix Version/s: (was: 1.3.3)
> 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.
[jira] Updated: (WICKET-1133) Possible issue with response page
Posted by "Gwyn Evans (JIRA)" <ji...@apache.org>.
[ 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.