[ 
https://issues.apache.org/jira/browse/WICKET-3897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ken Stevens updated WICKET-3897:
--------------------------------

          Description: 
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.

  was:
response.renderCSSReference(new PackageResourceReference(BasePage.class, 
"BasePage.css"));

will correctly render the css reference if the page is not mounted.  However if 
I mount the page using WebApplication.mountPage() then the css reference 
doesn't work.

    Affects Version/s:     (was: 1.5-M3)
                       1.5-RC5.1
              Summary: renderCSSReference doesn't work with mountPage("/")  
(was: renderCSSReference doesn't work with mountPage())

> 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
>              Labels: css, mountPage
>
> 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