Re: Dynamic images broken
Re: Dynamic images broken
- Subject: Re: Dynamic images broken
- From: Ian Coleman <email@hidden>
- Date: Mon, 31 Jul 2006 10:12:10 -0400
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:/Users/ian/blogDog/logo.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@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden