Is the ZoneUpdater mixin hosted anywhere? I grabbed the latest copy from http://tinybits.blogspot.com/2011/03/zoneupdater-jquery-edition.html because I'm using tapestry5-jquery and made two small improvements (IMHO) to it.
1 - The ability to add the mixin to a <button ..> that when clicked submits the value of a specified field 2 - The ability to clear the value of the input after a successful AJAX call. (Not sure what it would do for a checkbox/radiobutton) Anyways, I wanted to contribute my changes back, but I couldn't find any contact info @tinybits. I was going to contribute it to tapestry5-jquery but the original has no licensing info. Are my changes useful to anyone? What can I do to contribute them back in a useful way? Thanks - Tony On Jul 11, 2011, at 6:34 AM, Michael Gentry wrote: > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org