You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Tian-Jian \"Barabbas\" Jiang@Gmail" <ba...@gmail.com> on 2006/05/28 11:48:49 UTC

Asset, CSS, and FriendlyURL

Hi all,

I've tried to use asset to include css but not work, here's my situation:

some.page:
<asset name="tableStyle" path="context:/css/tableStyle.css"/>

some.html:
<html jwcid="@Shell" title="Some" stylesheet="asset:tableStyle">

hivemodule.xml:
<module id="Some" version="1.0.0">
<contribution configuration-id="tapestry.url.ServiceEncoders">
<page-service-encoder id="page" extension="h" service="page"/>
<direct-service-encoder id="direct"
stateless-extension="d" stateful-extension="s"/>
<asset-encoder id="asset" path="/a"/>
<extension-encoder id="extension" extension="v" after="*"/>
</contribution>
</module>

I've read some articles that do so and work. Is there anything I
missunderstood?

Thank you!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org