If I remember correctly, the first one returns the zone including the enclosing tags, while the later returns only the zone's body !
Like: <div t:type="zone" t:id="myZone"> ...body... </div> so the later returns "...body...", while the first one returns the whole structure: <div t:type="zone" t:id="myZone"> ...body... </div> So your zone eventually will be: <div t:type="zone" t:id="myZone"> <div t:type="zone" t:id="myZone"> ...body... </div> </div> Personally, I'd wait for someone to confirm that :D On Tue, Jan 29, 2013 at 10:08 PM, sommeralex <alexander.som...@gmail.com>wrote: > Hi, > > Whats is the difference between ajaxResponseRenderer.addRender("myZone", > myZone); > > and > > return myZone.getBody(); > > > ? > > thx > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/zone-update-ajaxResponseRenderer-addRender-vs-zone-getBody-tp5719659.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 > >