Actually, I have a similar question... I haven't yet tried, but since this
thread is on the same topic, I just thought I'd ask.

It would be nice to be able to dynamically generate CSS. Is there a (simple)
way this could be done?

One complicated way is to have Tapestry generate an XML file and transform
the XML file to output CSS, but that seems a bit to heavy.


Any ideas?


:dml




-----Original Message-----
From: Jonathan O'Connor [mailto:[EMAIL PROTECTED]
Sent: 19 May 2005 17:33
To: Tapestry users
Subject: Re: Reference asset from css [auf Viren geprueft]


Hugo,
url references in a css file are always relative to the location of the css
file. You may have to create your own asset service, and ../.. your way up
to that.
Unless you are creating assets on the fly or selecting language specific
assets, if you expose your images directory, it'll work fine without an
asset.
Ciao,
Jonathan O'Connor
XCOM Dublin
Hugo Palma <[EMAIL PROTECTED]>


Hugo Palma <[EMAIL PROTECTED]>
18/05/2005 18:54 Please respond to
"Tapestry users" <tapestry-user@jakarta.apache.org>


To
tapestry-user@jakarta.apache.org


cc



Subject
Reference asset from css [auf Viren geprueft]



Is there anyway i can reference an asset from a css ?
I would like the css not to reference the images directly but to use
tapestry assets instead, but i have no idea on how to do this. Is it
possible ?


Cheers

Hugo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





IBM Workplace 2.5 Launch Events:
XCOM AG und IBM laden zum weltweiten Launch von IBM Workplace Collaboration
Services 2.5 nach Duesseldorf, Frankfurt und Berlin:
http://lotus.xcom.de/events

XCOM Express Programm:
Der schnelle Einstieg in neueste Technologien zum kleinen Preis - Portale,
e-Mail Security und Mobility: http://lotus.xcom.de/express


*** XCOM AG Legal Disclaimer ***

Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist allein
für den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten ist das
Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine
fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen und uns eine
Nachricht zukommen zu lassen.

This email may contain material that is confidential and for the sole use of
the intended recipient. Any review, distribution by others or forwarding
without express permission is strictly prohibited. If you are not the
intended recipient, please contact the sender and delete all copies.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to