Re: Dynamic images broken
Re: Dynamic images broken
- Subject: Re: Dynamic images broken
- From: Chuck Hill <email@hidden>
- Date: Mon, 31 Jul 2006 10:14:22 -0700
On Jul 31, 2006, at 7:12 AM, Ian Coleman wrote:
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%
2FblogDog/logo.gif
The first four are for data bindings on a WOImage. The last is bound
to a file in a framework or application.
Should there not be a request for each image/data being displayed?
Not sure what you mean, are there requests that you are expecting
that you don't see?
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.
It should not. Do you see any other requests? Are these five all
that results?
It probably works in Safari as Safari has some aggressive caching
"issues".
Chuck
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
--
Coming sometime... - 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