> On Oct 4, 2017, at 06:13, André Rothe <[email protected]> wrote:
> 
> Hi,
> 
> I have created a CSS file within the WebServerResources folder of my
> project. How I can add it as a static link to the <head> tag of my
> component page? How is the relative path, or should I use the
> WOResourceManager to set the path for a WOxyz component?
> 
> <head>
> <link rel="stylesheet" type="text/css" href="messages.css">
> </head>
> 

ERXStyleSheet component will do what you want. 

<wo:ERXStyleSheet file name=“path...”>

Where path is relative to the web resources directory. 

Viel Spaß. Hoffe es hilft. 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to