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: WebServerResources under servlet deploy - WOAppMode=Deployment
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Re: WebServerResources under servlet deploy - WOAppMode=Deployment
Subject
:
Re: WebServerResources under servlet deploy - WOAppMode=Deployment
From: Jon Nolan <
email@hidden
>
Date: Wed, 20 May 2009 17:37:24 -0600
Organization: Loch Garman
>>> The ERXStyleSheet is assuming that the file is in the location it would be if you were having the Web Server serve the static files.
>>>
>>> This path maps to: /Library/WebServer/Documents/WebObjects/Frameworks/WDExtensions.framework/WebServerResources/css/default-styles.css
>>>
>>> But because you are serving static files through Tomcat instead of the Web Server and Tomcat has no way of parsing that URL to you're app's.
>>>
>>> I'm not sure how to get ERXStyleSheet to generate a different URL that would get it to load from the app.
Thanks again Dave.
Making ERXStyleSheet and ERXJavascript work under these conditions doesn't seem possible without *serious* patching. I'm afraid to go near that. I can live without using ERXStyleSheet and ERXJavascript in my apps/frameworks if I have to but the subclasses of AjaxComponent load the Prototype javascript via addScriptResourceInHead which gives me a problem I can't see my way around.
Does anyone know if there's a simple way of having AjaxComponent/AjaxUtils/ERXResponseWriter in some way point to a webserver based URL? Or perhaps allow me some control over applying a substitute for "/WebObjects/Frameworks" in the static resource URLs which the ERXResourceManager creates for me? I've been crawling the source all afternoon and I'm not seeing it.
Is there anyone else using Wonder Ajax under deployment WOAppMode in a servlet environment? If so, how did you solve this problem?
_______________________________________________
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
:
SOLVED: WebServerResources under servlet deploy - WOAppMode=Deployment
From:
Jon Nolan <email@hidden>
References:
>
WebServerResources under servlet deploy - WOAppMode=Deployment
(From: Jon Nolan <email@hidden>)
>
Re: WebServerResources under servlet deploy - WOAppMode=Deployment
(From: David Avendasora <email@hidden>)
Prev by Date:
WOAction returning current page instead of next page.
Next by Date:
Re: WOAction returning current page instead of next page.
Previous by thread:
Re: WebServerResources under servlet deploy - WOAppMode=Deployment
Next by thread:
SOLVED: WebServerResources under servlet deploy - WOAppMode=Deployment
Index(es):
Date
Thread