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

Willis Blackburn commented on WICKET-3458:
------------------------------------------

I'm bringing this up because you might be visiting this class anyway.  I 
suspect that it doesn't work well with the new URL handling in 1.5.  I tried to 
use it today to replace some tokens in a CSS file.  But instead Wicket served 
the CSS with the tokens intact.  The issue seems to be that the URL that gets 
generated for the PackagedTextTemplate is the same as the URL for the CSS 
template itself (e.g., /wicket/resource/path.to.the.Class/mystyles.css), and so 
it gets served directly.  I haven't finished investigating it, so I'm not 100% 
sure.

> PackagedTextTemplate -> PackageTextTemplate
> -------------------------------------------
>
>                 Key: WICKET-3458
>                 URL: https://issues.apache.org/jira/browse/WICKET-3458
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Willis Blackburn
>            Priority: Trivial
>
> It's PackageResource but PackagedTextTemplate.  Maybe remove the "d" for sake 
> of consistency.

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

        

Reply via email to