[ 
https://issues.apache.org/jira/browse/TAP5-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799545#action_12799545
 ] 

Howard M. Lewis Ship commented on TAP5-686:
-------------------------------------------

This one is a lot of work, more than you realize. There is a strong divide 
between static resources (such as CSS) and Tapestry components w/ templates.

What you really need is a page that generates the CSS sheet dynamically, with a 
text/css MIME type. This should be possible.

> Allow to use asset expressions in css files.
> --------------------------------------------
>
>                 Key: TAP5-686
>                 URL: https://issues.apache.org/jira/browse/TAP5-686
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Nikita Koksharov
>
> Tapestry not allow to use asset expressions directly in css file. 
> This feature is needed to define resources in css, for example, url to image 
> in background 
>      background: url(${asset:context:images/main_content_tr.png})

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to