• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CSS with WOComponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: CSS with WOComponent
      • From: Michael DeMan <email@hidden>
  • Prev by Date: RuleModeler Update (0.5)
  • Next by Date: Re: CSS with WOComponent
  • Previous by thread: Question about starting the webserverassistant
  • Next by thread: Re: CSS with WOComponent
  • Index(es):
    • Date
    • Thread