On Wed, Aug 15, 2012 at 2:29 AM, Paul Stanton <p...@mapshed.com.au> wrote:
> once you receive the event server side, you can add as many zone updates as
> you want to AjaxResponseRenderer, you just need to get a handle to them,
> either by injection or by walking the component/object model.
>
> Have a look at ComponentResources.getEmbeddedComponent()

I'd always prefer to use @InjectComponent (and/or @Inject a Block),
rather then go through the ComponentResources.

>
>
> On 15/08/2012 10:47 AM, bogdan_cm wrote:
>>
>> What I want to achieve is a "self refreshing cluster of zones" for a
>> notification mechanism driven by the autorefresh event of a zonerefresh
>> mixin.
>>
>> To simplify, a multiZoneUpdate that is triggered by a zonerefresh event
>> from
>> the mixin.
>>
>> How do I capture the "zonerefresh" event from the mixin inside a tapestry
>> method where I could call AjaxResponseRederer and update all the other
>> zones
>> on the page. Is this even possible, given that all the other zones, which
>> are not self refreshing, will not have an event that links them to the
>> request?
>>
>>
>> Thanks very much,
>> Bogdan.
>>
>>
>>
>> --
>> View this message in context:
>> http://tapestry.1045711.n5.nabble.com/Update-other-zones-on-zonerefresh-event-tp5715431.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
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

Reply via email to