Re: CSS with WOComponent
Re: CSS with WOComponent
- Subject: Re: CSS with WOComponent
- From: Andrew Lindesay <email@hidden>
- Date: Mon, 1 Nov 2004 09:11:01 +1300
For the HREF, just use a WOTextField with escapeHTML = "NO" and include
your "href="../Styles.css"
I do this (although it's inside my frameworks now so I don't have to
think about it)...
1) add a webserver resource of your CSS file into your app
2) In your "page level component" add the following into the head...
<LINK type="text/css" rel="<WEBOBJECT NAME=CSSLink></WEBOBJECT>">
3) Now add the following binding...
CSSLink : WOResourceURL {
filename = "lachlan.css";
}
Should work.
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
+64-21-47-0929
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden