[
https://issues.apache.org/jira/browse/WICKET-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Patrick updated WICKET-3508:
---------------------------------
Summary: HttpsMapper triggers rendering of incorrect absolute callback url
for Link (was: HttpsMapper trigers rendering of incorrect absolute callback
url for Link)
minor typo in summary
> HttpsMapper triggers rendering of incorrect absolute callback url for Link
> --------------------------------------------------------------------------
>
> Key: WICKET-3508
> URL: https://issues.apache.org/jira/browse/WICKET-3508
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC2
> Environment: Windows XP sp3, java 6
> Reporter: Kyle Patrick
> Priority: Minor
> Labels: wicket
> Attachments: quickstart.zip
>
>
> This problem only occurs when HttpsMapper is installed as the root request
> mapper. Additionally, it only seems to occur when the web context is not root.
> I mount a simple page so that it is available as
> http://localhost:8080/myproject/pagetest. That page has one Link (the onclick
> doesn't do anything). If I access that exact url and show source I see the
> link callback is rendered incorrectly. It should have the web context
> mentioned. The fact that Wicket generates an absolute url makes me think the
> HttpsMapper.mapHandler is touching it in such a way to trigger an absolute
> url, when the delegate was returning a url expecting it to be relative.
> <!DOCTYPE html>
> <html>
> <body>
> <a wicket:id="test"
> href="http://localhost:8080/wicket/page?1-1.ILinkListener-test">Click Here</a>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira