• 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: Referencing page components?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Referencing page components?


  • Subject: Re: Referencing page components?
  • From: Mark Woollard <email@hidden>
  • Date: Thu, 2 Jun 2005 18:15:40 +0100

I have a css styles.css, which in turn references some images for backgrounds etc. The html template of my wo uses the css. The css and images are packaged in the woa structure. I'm not clear on how I reference them from the html template, <link href="styles.css"...> does't appear to work. I could serve the items from the webserver directly and put hrefs in the template that include a full url, but that seems to defeat the point of it being an object:-) Assuming the html reference is corrected to locate the css I assume the image references in the css will need changing too. Is this clear now?

Thanks
Mark

On 2 Jun 2005, at 17:59, Chuck Hill wrote:

Can you give us a bit more information on what "static images and css that are wrapped up as part of the object" means? I'm not clear on what you are trying to do. WOString and the data binding on WOImage might be what you want...

Chuck


On Jun 2, 2005, at 1:23 AM, Mark Woollard wrote:


In my webobject I want to reference static images and css that are wrapped up as part of the object. How do I reference these from my Main.html?

Thanks
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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: Referencing page components?
      • From: Jean-François Veillette <email@hidden>
References: 
 >Referencing page components? (From: Mark Woollard <email@hidden>)
 >Re: Referencing page components? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Referencing page components?
  • Next by Date: Re: Referencing page components?
  • Previous by thread: Re: Referencing page components?
  • Next by thread: Re: Referencing page components?
  • Index(es):
    • Date
    • Thread