Here is an example :

<a t:type="eventLink" t:parameters="prop:{'name':'test'}"
t:id="eventLink">link</a>

public void onEventLink(@RequestParameter("name") String value){
System.out.println("##### EVENT " + value);
}

Emmanuel

2011/7/25 kleanthis <kleanth...@gmail.com>

> The problem is rhat EventLink needs also an Event parameter to function
> correctly.
>
> try
> <t:eventlink t:id="init" event="test1" parameters="literal:test">test
> text</t:eventlink>
>  and it should work. you also need a handler method in the corresponding
> java file is something similar to this page :
>
> http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/EventLink.html
>
> Good luck.
>
> -----
> Do not confuse motion for action.
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/How-to-set-parameters-on-EventLink-tp4630532p4630600.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emman...@gmail.com
http://emmanueldemey.fr

Reply via email to