OK, I just went back and uninstalled Wonder and reinstalled it per the
instructions, and it still isn't working. The WOLips Console is
giving me an exception, which leads me to believe that there is a
configuration issue with static resources. The second line here
indicates that it is looking in
/Library/WebServer/Documents/cgi-bin/WebObjects/MyApp.woa/Contents/
WebServerResources/Image.gif
for the static file, and not in the build directory where the rest of
the app is. All the WOImages and the CSS file are all in the build
directory's MyApp.woa/Contents/WebServerResources/ folder as
expected. The background image is also there. Where would the app
get the /Library/WebServer/ path? What should I be doing here?
Previously, I have been building the app, zipping the .woa and sending
it to the server where it is unzipped into the proper directory.
However, prior build's (before trying to bring it into Wonder) have
found the background image, but they had the declaration in the Body
tag of the HTML. This is one of the CSS related changes.
[2008-9-2 8:26:13 EDT] <WorkerThread0>
<com.webobjects.appserver._private.WOStaticResourceRequestHandler>
Unable to get contents of file for uri. file: /Library/WebServer/
Documents/cgi-bin/WebObjects/MyApp.woa/Contents/WebServerResources/
Image.gif; uri: /cgi-bin/WebObjects/MyApp.woa/Contents/
WebServerResources/Image.gif
[2008-9-2 8:26:13 EDT] <WorkerThread0> java.io.FileNotFoundException: /
Library/WebServer/Documents/cgi-bin/WebObjects/MyApp.woa/Contents/
WebServerResources/Image.gif (No such file or directory)
On Sep 2, 2008, at 1:52 AM, [EMAIL PROTECTED]
wrote:
Date: Mon, 1 Sep 2008 19:02:32 -0400
From: Mike Schrag <[EMAIL PROTECTED]>
Subject: Re: WebObjects/WOnder CSS and Image path issues
To: Apple WebObjects Dev <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
I presume I'm missing something? What else do I need to do to get
this app to be using Wonder? It obviously is to some extent or the
ERXStylesheet presumably would not work at all.
That should be all ... This request handler is automatically setup in
ERXApp. Are you using an old version of Wonder? I just tried this
now with the latest wonder and WO 5.4.3 in directconnect and it works
as expected.
ms
_______________________________________________
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]