>>> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]