Re: T5: porting to Got5-JQuery > how to use former Tapestry.ElementEffect ?

2010-10-22 Thread Andreas Andreou
i think you have quite an elegant solution here - i'll make sure to apply this to the 5.2 branch and i guess it'll also appear in master soon On Sat, Oct 23, 2010 at 00:22, gbrits wrote: > > for people that might run into this: > > I didn't know that ElementEffect was the prototype way of handlin

Re: T5: porting to Got5-JQuery > how to use former Tapestry.ElementEffect ?

2010-10-22 Thread gbrits
for people that might run into this: I didn't know that ElementEffect was the prototype way of handling things, jquery handles effects differently. Moreover, it's best practise to observe Tapestry.ZONE_UPDATED_EVENT instead of misusing an effect which is only meant for visual purposes. The pro

Re: T5: porting to Got5-JQuery > how to use former Tapestry.ElementEffect ?

2010-10-22 Thread gbrits
p;node=3231498&i=3>- > http://blog.andyhot.gr <http://blog.andyhot.gr?by-user=t> > Tapestry PMC / Tacos developer > Open Source / JEE Consulting > > ----- > To unsubscribe, e-mail: [hidden

Re: T5: porting to Got5-JQuery > how to use former Tapestry.ElementEffect ?

2010-10-21 Thread Andreas Andreou
I took a look and it shouldnt be hard to add this ... The important file is tapestry-jquery.js and around line 150 there's a definition for a ui.tapestryZone widget So, you need to modify the update function of the widget to lookup functions in the Tapestry.ElementEffect namespace and have them ru

T5: porting to Got5-JQuery > how to use former Tapestry.ElementEffect ?

2010-10-21 Thread gbrits
I'm porting my tapestry application to jquery using Got5-JQuery and it looks great! One thing I can't figure out though: tapestry allows registering callbacks on zoneupdates, etc. using: Tapestry.ElementEffect. e.g for illustration purposes I had: Tapestry.ElementEffect.updateavailtrigger