In another way to explain,
I would like to make "by hand" the same work than a t:actionLink in a t:loop
the code :
<t:loop source="1..10" value="guess">
<t:actionlink t:id="guess" context="guess">${guess}</t:actionlink>
</t:loop>
create several links like :
/do.guess/4
/do.guess/6
/do.guess/7
So, howto do the same "by hand" (without a loop) ???
cyrille
#Cyrille37# a écrit :
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]