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);
}

<t:zone show="myshowfunc"/>

There may be a better method that I'm not aware of though.

Josh

On Fri, Dec 4, 2009 at 5:04 PM, Ashwanth Kumar <ashwanth.ku...@gmail.com> wrote:
> 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 the TextArea to show, but its not good enough. So, asny help
> regarding this would be appreciated!
>
>  - Ashwanth Kumar
>



-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to