[ http://issues.apache.org/jira/browse/TAPESTRY-822?page=all ]
Jesse Kuhnert resolved TAPESTRY-822.
------------------------------------
Fix Version/s: 4.1
Resolution: Fixed
Fixed by the addition of a new hivemind configuration point for unprotected
resources, which also allows stylesheet relative asset resolution. (To be
documented in the next couple of days)
> Tapestry should correctly handle url's to private assets in private-asset
> stylesheets
> --------------------------------------------------------------------------------------
>
> Key: TAPESTRY-822
> URL: http://issues.apache.org/jira/browse/TAPESTRY-822
> Project: Tapestry
> Issue Type: Improvement
> Components: Framework
> Affects Versions: 4.1
> Reporter: Robert Zeigler
> Priority: Minor
> Fix For: 4.1
>
>
> CSS allows a designer to place url information into a stylesheet to, for
> example, specify a background image, as follows:
> background: url('someimage.gif');
> However, tapestry's asset service breaks this ability since it requires a
> hashed key corresponding to the asset.
> Furthermore, it does not provide any mechanism to "feed" an appropriate url
> into a stylesheet.
> This is particularly troubling in the case of private-assets. 3rd-party
> libraries may supply one or more (private-asset) stylesheets and
> corresponding images.
> The inability to property reference asset urls from the stylesheet results in
> these libraries having to inline style elements in a fashion similar to:
> <style>
> <span jwcid="@Insert" value="<" raw="yes"/>--
> .someclass {
> background: url("<span jwcid="@Insert"
> value="ognl:assets.someasset.buildURL(page.requestCycle)"/>");
> }
> -->
> </style>
> This is clumsy, ugly, and invalid markup. Furthermore, inlining of the style
> element precludes the possibility of overriding values
> through an external stylesheet..
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]