Also, in the zone I get following error from the firebug:
ConnectioncloseContent-EncodinggzipContent-Typetext/html;charset=UTF-8DateMon,
27 May 2013 18:05:00
GMTServerApache-Coyote/1.1Transfer-EncodingchunkedX-Tapestry-ErrorMessageException%20in%20method%20null%2C%20parameter%20%231%3A%20Exception%20converting%20%27gfx%27%20to%20instance%20of%20java.lang.Long%20%28id%20type%20for%20entity%20rs.co.dw.proba.entities.Artikal%29%3A%20Coercion%20of%20gfx%20to%20type%20java.lang.Long%20%28via%20String%20--%3E%20Long%29%20failed%3A%20For%20input%20string%3A%20%22gfx%22
GET galleryImage.png
500 Internal Server Errorlocalhost:808016,7 KB[::1]:8080
So, it is not render in the zone ever?
> From: getibi...@outlook.com
> To: users@tapestry.apache.org
> Subject: RE: Image can't be seen inside a zone
> Date: Mon, 27 May 2013 18:35:54 +0100
>
> Hi Thiago!
> OK, my scenario is following. I have stored location of the file to db, and
> it is being pulled from there by
> public String getPictures(){
> if (picture.getPictureLocation() == null ||
> picture.getPictureLocation().isEmpty()) {
> return "picturesFolder/no_image.png";
> }
> return "picturesFolder/" + picture.getPictureLocation();
> }
> Now, the thing is following: I have two loops, one loop inside another. First
> loop lists all articles, and the second one pictures for that articles. It's
> all displayed as blocks using some css styling, etc. What I have observed is
> that only pictures from the first loop( first article) are being displayed,
> later one are not. What may be the cause to it, and how to prevent such state?
>
> > To: users@tapestry.apache.org
> > Subject: Re: Image can't be seen inside a zone
> > Date: Mon, 27 May 2013 09:27:36 -0300
> > From: thiag...@gmail.com
> >
> > On Sun, 26 May 2013 12:52:12 -0300, Nomen Nomanum <getibi...@outlook.com>
> > wrote:
> >
> > > Ok, this behavior is very strange to me now. I have stored key location
> > > of my file in db, and it is being pulled via getImages to show the
> > > images to the user, however set of images from one article is displayed,
> > > and from the others is not. Also, images from that one article which are
> > > visible on the index page, once you click on that article, can't be
> > > visible anymore in article gallery listing, even though same code is
> > > used here and there.
> >
> > You're probably relying in some variable which is being set in page
> > renders but not in zone updates, probably by use of @SetupRender (or
> > setupRender(), same thing), which isn't called in AJAX requests.
> >
> > --
> > Thiago H. de Paula Figueiredo
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
>