Re: Referencing page components?
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