Re: Resource manager not finding nested files
Re: Resource manager not finding nested files
- Subject: Re: Resource manager not finding nested files
- From: Simon McLean <email@hidden>
- Date: Wed, 10 Oct 2007 15:17:07 +0100
ERXApplication.isDevelopmentModeSafe() was returning false but i just fixed that by adding er.extensions.ERXApplication.developmentMode=true to my WebObjects.properties.
You should not have to set this manually ... It should be automatically determined when you run from inside Eclipse. There's something else wrong with that.
Should I be worried about this ? However, development mode false would cause the blank document problem you were seeing with the include, so that's probably working now.
Yes it has...
In your project build folder, are the WSR inside folders in there?
Yes they are - and now I've figured it. I have to do this:
rm.urlForResourceNamed("blueprint/screen.css", "BluePrintCSS", null, null)
And not this:
rm.urlForResourceNamed("screen.css", "BluePrintCSS", null, null) So it seems RM doesn't dig down through the folder hierarchy to look for the file.
Many thanks for your help.
Simon |
_______________________________________________
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