Hi (again and again ;-)

Is it possible to create event for a component ??
After read guide "Component Events" and done some tests I could not figure howto manage differents events for a component.

For exemple I would like to bind 2 links to the onActionA() method and 2 other link to the onActionB() method. How it is possible ?
This following code does not work, but it is to explain me need :

<li><a href="#" t:type="actionLink" t:id="A" >bind A()</a></li>
<li><a href="#" t:type="actionLink" t:id="A" >bind A()</a></li>
<li><a href="#" t:type="actionLink" t:id="B" >bind B()</a></li>
<li><a href="#" t:type="actionLink" t:id="B" >bind B()</a></li>

I've understand that :
A link :
<a href="#" t:type="actionLink" t:id="doBallot1" >Ballot 01</a>
The t:type is a component, so I must use 'actionLink' to send a event.
The t:id is the unique id of the component.

It miss something like a listener as with Tapestry4, isn't it ?

cyrille

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to