Re: [T5.1] Loop and position of elements

2010-08-23 Thread Thiago H. de Paula Figueiredo
On Mon, 23 Aug 2010 10:47:20 -0300, badluck13 wrote: Sorry I mislead you, I already do that onActivate() method... Even if you initialize your field in onActivate(), you shouldn't initialize it in its declaration unless the value is immutable (String, primitive types, etc). Any other p

Re: [T5.1] Loop and position of elements

2010-08-23 Thread badluck13
Sorry I mislead you, I already do that onActivate() method... Any other possible solutions? :( -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-1-Loop-and-position-of-elements-tp2644473p2644669.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: [T5.1] Loop and position of elements

2010-08-23 Thread Thiago H. de Paula Figueiredo
On Mon, 23 Aug 2010 07:32:09 -0300, badluck13 wrote: Hello dear list, Hi! I have little issue here, I have a collection that I fill with values using action links, its empty in begging and I'm adding objects afterwards... @Persist private List l = new ArrayList(); Never initialize a

[T5.1] Loop and position of elements

2010-08-23 Thread badluck13
Hello dear list, I have little issue here, I have a collection that I fill with values using action links, its empty in begging and I'm adding objects afterwards... @Persist private List l = new ArrayList(); onActionFromAdd(Object o){ l.add(o); } and with help of zone I redisplay loop...