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

2010-10-22 Thread gbrits
://tapestry.1045711.n5.nabble.com/T5-porting-to-Got5-JQuery-how-to-use-former-Tapestry-ElementEffect-tp3231132p3231498.html To unsubscribe from T5: porting to Got5-JQuery how to use former Tapestry.ElementEffect ?, click herehttp://tapestry.1045711.n5.nabble.com/template/TplServlet.jtp?tpl

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

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 gbr...@gmail.com wrote: for people that might run into this: I didn't know that ElementEffect was the prototype

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:

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