I use only '@Inject Block block1, block2', then define Zone in the template to fold a block, what's the difference '@InjectComponent private Zone zone1'?
Taha Hafeez wrote > > You can't. You can specify one and then use AjaxResponseRenderer to add > more zones to it. > > Refresh > > @InjectComponent > private Zone zone1; > > @InjectComponent > private Zone zone2; > > @Inject > private AjaxResponseRenderer ajaxResponseRenderer; > > onSomeEvent(){ > ajaxResponseRenderer.addRender("zone2", zone2); > return zone1.getBody(); > } > > > > On Aug 12, 2012, at 7:00 PM, Angelo C. wrote: > >> How to specify two zones in a event link? >> >> >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/AjaxResponseRenderer-help-tp5715295p5715301.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@.apache >> For additional commands, e-mail: users-help@.apache >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@.apache > For additional commands, e-mail: users-help@.apache > -- View this message in context: http://tapestry.1045711.n5.nabble.com/AjaxResponseRenderer-help-tp5715295p5715306.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