Hi,

 

I'm trying to use dynamic WOImage component by setting its filename
binding to 'scale_green.gif'. I have this image stored in
WebServerResources directory and it does exist in the build. When I open
WebObjects page, the image is not displayed although the default "box"
that is displayed when image is not found takes the size of the actual
image. I'm developing on Windows with Eclipse/WOLips.

 

After some playing around I got to conclusion that the problem here is
in the url format of a colon being passed in as %A3 and so
ERXStaticResourceRequestHandler is not able to find the image in
C%A3\Apple\... rather than C:\Apple

 

This doesn't work:

http://localhost:2612/cgi-bin/WebObjects/WebApp.woa/_wr_/wodata=/C%3A/Ap
ple/workspace/WebApp/build/WebApp.woa/Contents/WebServerResources/scale_
green.gif

 

This works:

http://localhost:2612/cgi-bin/WebObjects/WebApp.woa/_wr_/wodata=/C:/Appl
e/workspace/WebApp/build/WebApp.woa/Contents/WebServerResources/scale_gr
een.gif

 

I'm using Internet Explorer 7 for this, and have tried Firefox which
produces same result.

 

Does anybody else have the same problem or have a solution to this?

 

Kind regards,

Dmitri

 _______________________________________________
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