Re: Help with ZoneUpdate

2009-12-11 Thread Daniel Jones
livered fresh to your inbox. >>>> >>>> ----- >>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>>> For additional commands, e-mail: users-h...@tapestry.apache.org >>>

Re: Help with ZoneUpdate

2009-12-06 Thread Josh Canfield
> The Zone raises a JS event when is updated. You're right, my bad. I was looking at the form injector when I replied. It doesn't raise an event and so I used the show hack. I'm using ZONE_UPDATED_EVENT for my zones... Josh On Sat, Dec 5, 2009 at 1:35 AM, Juan E. Maya wrote: > The Zone raises a

Re: Help with ZoneUpdate

2009-12-05 Thread Thiago H. de Paula Figueiredo
Em Sat, 05 Dec 2009 15:28:33 -0200, Ashwanth Kumar escreveu: Can you give me an example? I'm new to, Prototype! Regarding events, take a look at http://www.prototypejs.org/api/event/observe -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, de

Re: Help with ZoneUpdate

2009-12-05 Thread Ashwanth Kumar
Hey, Can you give me an example? I'm new to, Prototype! Thanks - Ashwanth Kumar On Sat, Dec 5, 2009 at 3:05 PM, Juan E. Maya wrote: > The Zone raises a JS event when is updated. This is explained in the > Zone documentation: > > > http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apa

Re: Help with ZoneUpdate

2009-12-05 Thread Juan E. Maya
The Zone raises a JS event when is updated. This is explained in the Zone documentation: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html "After the client-side content is updated, a client-side event is fired on the zone's element. The cons

Re: Help with ZoneUpdate

2009-12-04 Thread Ashwanth Kumar
Thanks Josh, That worked like a charm!! I dont know if there could be anything better than this?? :) - Ashwanth Kumar On 12/5/09, Josh Canfield wrote: > > Last time I was hunting around for a solution for this I came up with this: > > Tapestry.ElementEffect.myshowfunc = function(element) { >

Re: Help with ZoneUpdate

2009-12-04 Thread Josh Canfield
Last time I was hunting around for a solution for this I came up with this: Tapestry.ElementEffect.myshowfunc = function(element) { // do special stuff return new Effect.Highlight(element); } There may be a better method that I'm not aware of though. Josh On Fri, Dec 4, 2009 at 5:04 P

Help with ZoneUpdate

2009-12-04 Thread Ashwanth Kumar
Hi, I've a question. How do i invoke a custom JS from the Page, immediately after a ZoneUpate! For instance, i need to apply a markitUp on a TextArea, after it has been created by the ZoneUpdate event in Tapestry. How do i invoke it sync with the ZoneUpdate. Currently i use the onClick event of t