I have a zone in my component. And an event link to refresh the zone.
So I need to use a persists value to store the zone's client id, and I persist 
some value that will show inside the zone. 

I have changed all the values I want to persist to context values and it works 
for me now.
Is this the only way to solve this problem?

Sent from my iPad

On 2012-1-3, at 4:08, Josh Canfield <joshcanfi...@gmail.com> wrote:

> This is by design. Tapestry pages/ components have static structure so no
> matter how many times you goooo through the loop you only get one instance
> of the component.
> 
> What specifically are you trying to do? Maybe someone can offer some design
> tips.
> 
> Josh
> On Jan 2, 2012 12:17 AM, "Bo Gao" <eli...@gmail.com> wrote:
> 
>> I put a Component in a Loop, and when I call System.out.println(this); I
>> found that there are only one instance of the component. If I have some
>> persist value in this Components they can't work well.
>> 
>> Why this happened? What should I do if I want to put a Complex Component
>> with persist value into a Loop?
>> 
>> Thanks
>> 
>> --
>> Bo Gao
>> eli...@gmail.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