[
https://issues.apache.org/jira/browse/WICKET-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881334#action_12881334
]
Martin Grigorov commented on WICKET-2916:
-
The case here is a bit different:
Wicket correctly creates:
{code}
http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd"; >
Wicket Quickstart Archetype Homepage
Check console output
the value of the parameter
'corrupted' is 'foo'
{code}
But since there is no DummyPanel.css and the WicketFilter is setup to listen to
'/*' and the HomePage.class is mount with:
{code}
mount(new MixedParamUrlCodingStrategy("homepage",
HomePage.class, new String[] { "corrupted" }));
{code}
the request for the .css resource
(http://localhost:8080/homepage/DummyPanel.css) looks like a request to
/homepage with a single parameter with value 'DummyPanel.css'.
It looks like a bug in Wicket but it is just bad configuration in the
application.
> A stylesheet reference inside a wicket:link which doesn't resolve corrupts
> the url parameters.
> --
>
> Key: WICKET-2916
> URL: https://issues.apache.org/jira/browse/WICKET-2916
> Project: Wicket
> Issue Type: Bug
> Components: wicket
>Affects Versions: 1.4.7, 1.4.9
>Reporter: Jacob Persson
>Priority: Minor
> Attachments: quickstart-2916.tar.gz
>
>
> A stylesheet reference inside a wicket:link which doesn't resolve corrupts
> the url parameters. When a stylesheet is missing the parameter value is
> replaced by the name of the referenced stylesheet.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.