The ZoneUpdater mixin also works for checkboxes: <t:radiogroup t:id="costType" t:validate="required"> <t:radio t:id="regularCostType" t:mixins="cb/zoneUpdater" t:zone="addzone" t:clientEvent="click" event="change" /> ...
mrg On Mon, Jul 4, 2011 at 8:11 AM, Dmitriy Vsekhvalnov <dvsekhval...@gmail.com> wrote: > For checkbox or for select component? :) > > I'm using ZoneUpdater mixin for selects, all my selects looks like: > > <select t:id="area" t:type="select" value="area" t:blankLabel="select area" > t:clientEvent="change" > t:event="areaChanged" > t:mixins="zoneUpdater" > t:model="areasModel" t:zoneupdater.zone="contentZone" /> > > and server code is: > > public Object onAreaChanged() > { ...... } > > > > On Mon, Jul 4, 2011 at 1:35 PM, Joel Halbert <j...@su3analytics.com> wrote: > >> OK np. >> >> Thanks Thiago! >> >> On Sun, 2011-07-03 at 19:53 -0300, Thiago H. de Paula Figueiredo wrote: >> > On Sun, 03 Jul 2011 14:54:22 -0300, Joel Halbert <j...@su3analytics.com> >> > wrote: >> > >> > > Hi Folks, >> > >> > Hi! >> > >> > > Is there an equivalent callback for a checkbox? >> > >> > Not out-of-the-box, but you can use a little bit of custom JavaScript >> plus >> > a custom event (URL created by ComponentResources.createEventLink()) for >> > that. >> > >> >> >> >> --------------------------------------------------------------------- >> 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