You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matteo Sotil (JIRA)" <ji...@apache.org> on 2011/09/06 12:58:10 UTC

[jira] [Issue Comment Edited] (WICKET-4030) HeaderResponse.renderCSSReference does not render correct css link with relative url in an application with contextPath different than /*

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

Matteo Sotil edited comment on WICKET-4030 at 9/6/11 10:58 AM:
---------------------------------------------------------------

Quickstart of the issue. Execute Start, go to http://localhost:8080/contextPath. If renderCSSReference worked properly, background color should be red (that means css is loaded correctly), but it is not.

      was (Author: msotil):
    Quickstart of the issue. Execute Start, go to http://localhost:8080/contextPath. If renderrCSSReference works properly, background color should be red, bu it is not.
  
> HeaderResponse.renderCSSReference does not render correct css link with relative url in an application with contextPath different than /*
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4030
>                 URL: https://issues.apache.org/jira/browse/WICKET-4030
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-RC7
>            Reporter: Matteo Sotil
>            Priority: Minor
>         Attachments: quickstart.zip
>
>
> In an application with a contextPath different than /*, if you use HeaderResponse.renderCSSReference(String url), where url is a relative url (../../css/main.css, for example), the generated css link is not correct when page path has some /.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira