If you want to handle your links in start.java, you could use eventlink
instead of actionlink and give each link a different event ...
Stephane
dhning a écrit :
Hi,
One case: The page start.tml contains component ParentComponent, and template of ParentComponent
contains two action links LinkA&LinkB, context of LinkA is "a" while LinkB is
"b".
In start.java, I need to perform some special logic by which link is clicked.
In T4, I knew listener binding meets this requirement, but how to handle it in T5. For event mechanism of T5, till now I can write method onActionFormParentComponent to handle all action events, but I don't know which link is clicked and can't get the context parameters.
Please help.
Thanks in advance.