Are you @Persist'ing the list, eg, in the parent component?

Robert

On Apr 2, 2012, at 4/211:25 AM , ksrijith wrote:

> Hi,
> I'm using using Tapestry version 5.3.
> I've created a collage component with is used to show a list of images. I'm
> passing the image list as a parameter to the component and inside the
> component I'm traversing through the list. I show 10 images at a time and if
> there are more than 10 images then allow the user to click a next button and
> refresh the zone with the images to show the next 10 images.
> 
> The issue I'm facing is happening when I open two different windows each
> showing the collage with different list of images. The issue is that for
> some reason the list of images for the first window gets updated with the
> list in the second window. I believe the Parameter for the component is
> keeping a static reference to the list and it gets updated globally for the
> session everytime the component is called. 
> 
> Is my understanding correct? If so is there a way I could solve this issue,
> if anyone has faced the same please do advice.
> 
> *Java: This is the model holding the list of images and some other
> properties.*
> 
> 
> Thanks and Regards,
> Srijith
> 
> -----
> --
> Don't Forget to Rate
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Issue-with-Component-Parameter-tp5612950p5612950.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to