• 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: So close...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: So close...


  • Subject: Re: So close...
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 5 Jun 2007 22:57:11 -0700


On Jun 5, 2007, at 10:22 PM, Janine Sisk wrote:

On Jun 5, 2007, at 9:52 PM, Chuck Hill wrote:

So I created a package for them

A package? You mean a folder?

No, a package. Same as the one I created for the java files. It was just a guess, but it seemed to work at the time. All the docs I could find talk about Xcode and using a particular target, which doesn't seem to apply in Eclipse.

Well. That is a new one! In a package, eh?

Create a WebServerResources folder and move them in there. Not really sure what people usually do if they are not using the Wonder project layout. I usually manage mine externally but you don't want to hear about that...



They are there in the woa, so I assume that my method of referring to them is incorrect. What did I do wrong?

Where are they in the .woa? What do the bindings look like where you use them?

Janine:/Library/WebObjects/Applications/nhlpm.section7.woa root# find . -name '*.jpg'
./Contents/WebServerResources/bin/com/nhlpm/images/logo-large.jpg
./Contents/WebServerResources/bin/com/nhlpm/images/logo-medium.jpg
./Contents/WebServerResources/src/com/nhlpm/images/logo-large.jpg
./Contents/WebServerResources/src/com/nhlpm/images/logo-medium.jpg


A sample binding:

Logo : WOImage {
	filename = "logo-large.jpg";
	alt = "New Hampshire License Plate Museum";
}

The bindings look OK. The paths are not going to make WO happy. I am not really sure how that works at runtime...




The deployment build instructions I used are here:

http://wiki.objectstyle.org/confluence/display/WOL/Deploy+a+WO +Application

If that makes any difference.

You just have them in a, um, funky place.


Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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: So close...
      • From: Janine Sisk <email@hidden>
References: 
 >So close... (From: Janine Sisk <email@hidden>)
 >Re: So close... (From: Chuck Hill <email@hidden>)
 >Re: So close... (From: Janine Sisk <email@hidden>)

  • Prev by Date: Re: So close...
  • Next by Date: Re: Nested Editing Contexts
  • Previous by thread: Re: So close...
  • Next by thread: Re: So close...
  • Index(es):
    • Date
    • Thread