This work:
<t:actionlink t:id="ok" t:zone="zone1">ok</t:actionlink>
This doesn't:
<t:actionlink t:id="ok">ok</t:actionlink>

<t:zone t:id="zone1"/>

What is going on ?

2009/12/11, marioosh.net <[email protected]>:
> How to do onClick handler for my "ok" link (by annotation) ?
>
> ActionLink doesn't work for me :(
>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
>       <t:actionlink t:id="ok">ok</t:actionlink>
> </html>
>
> public class Index {
>       
>       void onAction() {
>               System.out.println("action");
>       }
>       @OnEvent(value = "action", component = "ok")
>       void ok() {
>               System.out.println("ok");
>       }
>       Object onActionFromOk() {
>               System.out.println("ok2");
>               return this;
>       }
>       @PageLoaded
>       public void hello() {
>               System.out.println("Hello :)");
>       }
> }
>
>
> --
> Pozdrawiam,
> Mariusz
>


-- 
Pozdrawiam,
Mariusz

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to