[
https://issues.apache.org/jira/browse/WICKET-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569710#action_12569710
]
Matej Knopp commented on WICKET-1343:
-------------------------------------
Hi, i fixed the HybridUrlCodingStrategy (add the page parameters cloning).
However, the indexedhybridurlcoding strategy can't really be fixed. Indexed
coding strategy can't really work with stateless interface listener. This will
probably be resolved in future wicket version.
> HybridUrlCodingStrategy and StatelessForm ( or StatelessLink ) results in
> invalid parameter encoding
> ----------------------------------------------------------------------------------------------------
>
> Key: WICKET-1343
> URL: https://issues.apache.org/jira/browse/WICKET-1343
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.1
> Reporter: demir kiracoglu
>
> I put a header component on one of my pages which contains a statelessform (
> or stateless link ) . I mounted the page with a HybridUrlCodingStrategy .
> When you request the page like this
> http://localhost:9696/mountpath/param1/param1value,
> stateless form attaches another parameter which shows the forms IFormListener
> target. The new url is like this :
> http://localhost:9696/mountpath/param1/param1value/wicket:interface/%3A0%3Aheader%3AloggedOutView%3AloginForm%3A%3AIFormSubmitListener%3A%3A/.0
> I haven't covered all the source code for now but i think the form changes
> the page parameters object so i think HybridUrlCodingStrategy must clone
> initial page parameters before putting it to page metadata. But not sure that
> this will cause any other problems
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.