• 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: full urls from WOImage and friends
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >full urls from WOImage and friends (From: Mike Schrag <email@hidden>)

  • Prev by Date: DTWS: strange goings on in the WSDL file
  • Next by Date: Re: DTWS: strange goings on in the WSDL file
  • Previous by thread: full urls from WOImage and friends
  • Next by thread: DTWS: strange goings on in the WSDL file
  • Index(es):
    • Date
    • Thread