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

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

OK, I am now using 1.5-SNAPSHOT from the repository at 
http://repository.apache.org/snapshots

and the problem persists.  renderCSSReference only works if I don't mount the 
page.  I did some more testing and discovered that the problem only occurs when 
mounting to "/".  I.e. mountPage("test", HomePage.class) works fine but 
mountPage("/", HomePage.class) fails.

Ken


> 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-M3
>         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.  However 
> if I mount the page 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