Re: ActionLink and onClick action

2009-12-11 Thread marioosh.net
Yes, i need to trigger some server-side code 2009/12/11, Thiago H. de Paula Figueiredo : > Em Fri, 11 Dec 2009 11:50:44 -0200, marioosh.net > escreveu: > >> So... how to do something like ok and handle onClick >> event on it ? > > It depends. Do you need to trigger any server-side code or not? >

Re: ActionLink and onClick action

2009-12-11 Thread Thiago H. de Paula Figueiredo
Em Fri, 11 Dec 2009 11:50:44 -0200, marioosh.net escreveu: So... how to do something like ok and handle onClick event on it ? It depends. Do you need to trigger any server-side code or not? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, devel

Re: ActionLink and onClick action

2009-12-11 Thread marioosh.net
So... how to do something like ok and handle onClick event on it ? 2009/12/11, Thiago H. de Paula Figueiredo : > Em Fri, 11 Dec 2009 11:34:37 -0200, marioosh.net > escreveu: > >> This work: >> ok >> This doesn't: >> ok >> > > ActionLink nor EventLink can have any Javascript event hooked to them

Re: ActionLink and onClick action

2009-12-11 Thread Thiago H. de Paula Figueiredo
Em Fri, 11 Dec 2009 11:34:37 -0200, marioosh.net escreveu: This work: ok This doesn't: ok ActionLink nor EventLink can have any Javascript event hooked to them using the @OnEvent annotation (at least not yet). You have to write the Javascript yourself, unless you're using Zones. -- T

Re: ActionLink and onClick action

2009-12-11 Thread marioosh.net
This work: ok This doesn't: ok What is going on ? 2009/12/11, marioosh.net : > How to do onClick handler for my "ok" link (by annotation) ? > > ActionLink doesn't work for me :( > > http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> > ok > > > public class Index { > > v