zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread sommeralex
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

Re: zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread Muhammad Gelbana
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

Re: zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread Howard Lewis Ship
Also, you're seeing some evolution of the framework here, all at once. The Zone component was pretty early in Tapestry, but the ability to update multiple Zone's all in a single request came later. The deprecated MultiZoneUpdate object was the older way to update multiple zones, but it was

Re: zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread sommeralex
.nabble.com/zone-update-ajaxResponseRenderer-addRender-vs-zone-getBody-tp5719659p5719664.html To unsubscribe from zone update ajaxResponseRenderer.addRender vs zone.getBody, click herehttp://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=5719659code