Re: Update zones after session object changes

2010-08-18 Thread Elin
Thx a lot for your answers. Gonna experiment a bit with the information u gave me. I will be back if i need help again. Thx a lot for your help -- View this message in context: http://tapestry.1045711.n5.nabble.com/Update-zones-after-session-object-changes-tp2639152p2639567.html Sent from the

Re: Update zones after session object changes

2010-08-18 Thread zozul
Elin wrote: > > Well... i need some kind of event from my custom component that alerts the > page where its inserted that something has changed (an item has been > deleted fron the cart), so the page refreshes all the other components. > I guess "ZoneUpdater" mixin is what you need http://tin

Re: Update zones after session object changes

2010-08-18 Thread Thiago H. de Paula Figueiredo
On Wed, 18 Aug 2010 09:11:59 -0300, Elin wrote: I have my page. Inside my page i have a custom component that displays the shopping cart items with a delete buton for each one. Well... i need some kind of event from my custom component that alerts the page where its inserted that something h

Re: Update zones after session object changes

2010-08-18 Thread Elin
The problem is that i know how to multiupdate. Thats not the problem. The problem is that i need some kind of event for that. I have my page. Inside my page i have a custom component that displays the shopping cart items with a delete buton for each one. Well... i need some kind of event from m

Re: Update zones after session object changes

2010-08-18 Thread zozul
If i understand you correctly, you want to update few zones at one time, yes? if so than you can do it by calling multizoneupdate @Inject private Zone zone1; @Inject private Zone zone2; Object onActionFromRegister() { return new MultiZoneUpdate("zone1", zone1).add("zone2", zone2); } h