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

Ken Stevens commented on WICKET-3897:
-------------------------------------

Perhaps there's a simpler way to accomplish what I'm trying to do.  All I want 
is for my home page to be mapped to "/" and to be able to inherit my pages 
(including the home page) from a base class that has its own css.  What is the 
simplest way to do this?


> renderCSSReference doesn't work with mountPage("/")
> ---------------------------------------------------
>
>                 Key: WICKET-3897
>                 URL: https://issues.apache.org/jira/browse/WICKET-3897
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC5.1
>         Environment: Windows.  Java 6.  Jetty.
>            Reporter: Ken Stevens
>            Assignee: Martin Grigorov
>              Labels: css, mountPage
>         Attachments: wicketbug3897.zip
>
>
> response.renderCSSReference(new PackageResourceReference(BasePage.class, 
> "BasePage.css"));
> will correctly render the css reference if the page is not mounted or if it 
> is mounted to a location other than "/".  However if I mount the page to "/" 
> using WebApplication.mountPage() then the css reference doesn't work.

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

        

Reply via email to