OMG!  Thank you Pascal!

Yes that worked! The image was in a sub-folder. I kept thinking that's not the problem because it was working in Xcode.

I am sorry again for this newbie question. Thank you very much and have a great weekend.

Best regards,

Nick


On Mar 14, 2008, at 12:50 PM, Pascal Robert wrote:

Does your image is inside a sub-folder of WebServerResources ? If so, you need to change your binding to "filename = subfolder/ ratingGraphicsString", move the image to WebServerResources or play with ant to try to "flatten" the WebServerResources folder.

Dear WO-devs,

Please help with a problem I am having with WOImage. I have googled and searched the archive but am still not able to solve this.

I am using Eclipse/WOlips with Wonder. But when I have a WOImage in my component like this:

RatingGraphics : WOImage {
        filename = ratingGraphicsString;
        framework = "app";
}


I get errors like this:

2008-03-14 12:30:09,157 WARN -[-:5555 1] NSLog (ERXNSLogLog4jBridge.java:41) - <WOImage>: could not get height/ width information for image at /cgi-bin/WebObjects/ Orgrimmar.woa/-5555/_wr_? wodata=ERROR_NOT_FOUND_framework_*null*_filename_BigStars10.png / BigStars10.png / null 2008-03-14 12:30:09,607 INFO -[-:5555 1] ERXStaticResourceRequestHandler (ERXStaticResourceRequestHandler.java:107) - Unable to get contents of file 'ERROR_NOT_FOUND_framework_*null*_filename_BigStars10.png' for uri: ERROR_NOT_FOUND_framework_*null*_filename_BigStars10.png


Things I have tried:
I made sure my graphics are included as WebServerResources in WOLips.
I also made sure they are in my web server doc folder.
I have cleaned my project.
I have tried developing with DirectConnect off and on.

This was working fine when I was using Xcode. I think I am overlooking something really simple.... :(

If anyone have any clue about why this is happening please help. Sorry for the newbie problem.

Best regards,

Nick


_______________________________________________
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/probert%40os.ca

This email sent to [EMAIL PROTECTED]

 _______________________________________________
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]

Reply via email to