Re: full urls from WOImage and friends
Re: full urls from WOImage and friends
- Subject: Re: full urls from WOImage and friends
- From: Kaj Hejer <email@hidden>
- Date: Tue, 28 Jun 2005 21:31:51 +0200
On 28. jun 2005, at 20.34, Mike Schrag wrote:
Is there a flag that I can set to force WOImage and his
WOHTMLURLValuedElement brethren to produce full URLs rather than
webserver-relative URL's when using the filename = "images/
myimage.gif" attribute? Currently in deployment that turns into "/
WebObjects/MyApp.woa/Contents/WebServerResources/images/
myimage.gif". I'd like that to become "http://myhost:port/
WebObjects/..." preferably without a custom WOImage subclass. I'm
questing for this because I am using Wonder's WOComponent email
library, but my images/css aren't being generated with full urls
and thus explode when emailed out. My other option is specifying a
base href, but I'm hoping that something somewhere down inside of
WO can let me toggle this behavior?
Hi!
Could using a base element in head be a workaround?
(ref f.x. http://www.htmlcodetutorial.com/linking/_BASE.html
-Kaj :)
_______________________________________________
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