Hello everyone,

I use Apache Wicket's NonCachingImage component to show an image in a
form. The image shows correctly when using the GAE/J development
application server but fails to show when the code is running on GAE
proper.

I believe that this may be due to the image's "src" tag not being
interpreted by GAE's cloud, whereas it is rendered properly by the dev
app server.

Has anyone had this happening to them? Can anyone think of a solution
or suggestion?

Regards,

Ian


HTML
----
<img wicket:id="imgImage" alt="[None]" width="100%" height="100%"


Java code
---------
// ImageModel extends LoadableDetachableModel<ItemImageResource>
// ItemImageResource extends DynamicImageResource
ImageModel imodImage = new ImageModel(pidmModel);
NonCachingImage imgImage = new NonCachingImage("imgImage", imodImage);
frmForm.add(imgImage);


Sample HTML output
------------------
<!--
This output shows an image with the dev app server,
but "[None]" when served by a GAE/J production server.
-->
<img wicket:id="imgImage" alt="[None]" width="100%" height="100%"
 src="page?8-IResourceListener-frmForm-
imgImage&amp;antiCache=1318502670796"/>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to