That doesn't work if the css and the images are bundled as a component in a library. What i have is a Border component bundled in a library, this component has a .css and some images. None of these are in the webcontext because they are in the library archive. So my problem is: how do i reference the component images from the component css ? I've tried relative path but it doesn't work.

Cheers

Hugo

Jonathan O'Connor wrote:

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
Inactive hide details for Hugo Palma <[EMAIL PROTECTED]>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.

Reply via email to