Open the source URL of the image in your browser (http://.../page?8-
IResourceListener-frmForm-
imgImage&antiCache=1318502670796). Then see what your browser
tells you about that resource.


On Oct 13, 4:13 pm, Ian Marshall <[email protected]> wrote:
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to