• 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: WebObjects/WOnder CSS and Image path issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects/WOnder CSS and Image path issues


  • Subject: Re: WebObjects/WOnder CSS and Image path issues
  • From: "Andrew R. Kinnie" <email@hidden>
  • Date: Tue, 02 Sep 2008 08:39:14 -0400

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@hidden wrote:

Date: Mon, 1 Sep 2008 19:02:32 -0400
From: Mike Schrag <email@hidden>
Subject: Re: WebObjects/WOnder CSS and Image path issues
To: Apple WebObjects Dev <email@hidden>
Message-ID: <email@hidden">email@hidden>
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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WebObjects/WOnder CSS and Image path issues
      • From: Alex Horovitz <email@hidden>
    • Re: WebObjects/WOnder CSS and Image path issues
      • From: James Cicenia <email@hidden>
  • Prev by Date: Re: Multiple File Upload
  • Next by Date: Re: WebObjects/WOnder CSS and Image path issues
  • Previous by thread: Re: WebObjects/WOnder CSS and Image path issues
  • Next by thread: Re: WebObjects/WOnder CSS and Image path issues
  • Index(es):
    • Date
    • Thread