Re: Zone and Eventlink refresh problem

2012-01-27 Thread Thiago H. de Paula Figueiredo
On Fri, 27 Jan 2012 03:22:58 -0200, Paul Stanton wrote: Just a side note, this has caught a few users over time (since t5.1). Boris' expected behaviour does not seem to me to be too unrealistic an expectation! Depending on your personality type ;) you may even consider this a bug. Mayb

Re: Zone and Eventlink refresh problem

2012-01-27 Thread Denis Stepanov
I've created a new issue "Warn user or disallow zone with randomly generated id" https://issues.apache.org/jira/browse/TAP5-1834 Denis On 27.1.2012, at 6:22, Paul Stanton wrote: > Just a side note, this has caught a few users over time (since t5.1). > > Boris' expected behaviour does not seem

Re: Zone and Eventlink refresh problem

2012-01-26 Thread Paul Stanton
Just a side note, this has caught a few users over time (since t5.1). Boris' expected behaviour does not seem to me to be too unrealistic an expectation! Depending on your personality type ;) you may even consider this a bug. Maybe the zone re-rendering process should handle this client id c

Re: Zone and Eventlink refresh problem

2012-01-21 Thread bhorvat
Hm... Yea this worked perfectly. I know that the new id is generated but I was under the impression that tapestry eventlink will adapt to that since I did set which zone to target I thought that once everything is refresh that will also refresh... Thank you both for assistance :) -- View this me

Re: Zone and Eventlink refresh problem

2012-01-21 Thread Dragan Sahpaski
Hi, On Sat, Jan 21, 2012 at 8:37 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sat, 21 Jan 2012 16:56:59 -0200, Dragan Sahpaski < > dragan.sahpa...@gmail.com> wrote: > > Hi, >> > > Hi, Dragan! > > > This is expected behavior. >> Once you update the outer zone the inner zon

Re: Zone and Eventlink refresh problem

2012-01-21 Thread Thiago H. de Paula Figueiredo
On Sat, 21 Jan 2012 16:56:59 -0200, Dragan Sahpaski wrote: Hi, Hi, Dragan! This is expected behavior. Once you update the outer zone the inner zone id is generated again if you don't specify it explicitly. Exactly! Solution 2: - Generate the zone's client id yourself, with a binding

Re: Zone and Eventlink refresh problem

2012-01-21 Thread Dragan Sahpaski
Hi, This is expected behavior. Once you update the outer zone the inner zone id is generated again if you don't specify it explicitly. Solution 1: - Take the zone's generated clientId @InjectComponent private Zone zoneMediaPreview; // the zoneMediaPreview component is located before the eve

Re: Zone and Eventlink refresh problem

2012-01-21 Thread Thiago H. de Paula Figueiredo
On Fri, 20 Jan 2012 20:43:09 -0200, bhorvat wrote: Hope this is bit better. Thanks t:id is the Tapestry component id. id is the HTML id attribute. You should add id attributes to solve your problem: -- Thiago H. de Paula Figueiredo Independent Jav

Re: Zone and Eventlink refresh problem

2012-01-20 Thread bhorvat
Hope this is bit better. Thanks ${context:images/}${selectedAssetImage.imagePath} ${assetImag

Re: Zone and Eventlink refresh problem

2012-01-20 Thread Thiago H. de Paula Figueiredo
On Fri, 20 Jan 2012 19:17:29 -0200, bhorvat wrote: Hi all, Hi! I have one zone and inside of it I have a zone and a eventlink that triggers the changes in the inner zone. Once the outer zone refreshes everything inside the eventlink and inner zone stop working. Please try giving an