This is what I get when I capture each request, the last image is showing up okay, it is the first four that are not.

/cgi-bin/WebObjects/blogDog.woa/wr?wodata=2347096505854550367
/cgi-bin/WebObjects/blogDog.woa/wr?wodata=-4639776895900771072
/cgi-bin/WebObjects/blogDog.woa/wr?wodata=7064817824992501396
/cgi-bin/WebObjects/blogDog.woa/wr?wodata=-288694893225408493 /cgi-bin/WebObjects/blogDog.woa/wr?wodata=file%3A%2FUsers%2Fian%2FblogDog%2Flogo.gif

Should there not be a request for each image/data being displayed? and if not why do you think it is doing this? I couldn't find any bad HTML, and no meta-refresh tag. I don't know if it matters but this is in a framework running in another application.

thanks for the help
ian


WOResourceManager only caches the image data for the first request. If something on your page is causing the request to be re-issued, that would explain it. Is there a meta-refresh tag? Some bad HTML? You can override dispatchRequest in Application to log the request URI. This is a good way of tracking this down.

Chuck

On Jul 27, 2006, at 1:37 PM, Ian Coleman wrote:

Hi, I am trying to use WOActiveImage to display one of two images which is being decided in the java class by the variables method. So the variable either returns the data of one image or the other. It works okay on safari but not in anything else(firefox, explorer, etc.). This is what shows up in the page source:

<input name="3.0.2.0.0.0" border="0" type=image src="/cgi-bin/ WebObjects/AssetDog.woa/1/wr?wodata=1833673122704891927">


Any ideas why it works in safari only?

thanks
ian coleman
[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/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]


--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro

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