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

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

Reply via email to