I’m using this following java and tml code
java
private void onActionFromStart(int id)
{
// here im getting url for the particular overlay when onclick
}
In tml
<t:loop t:source="videos" t:value="pojo">
<t:actionlink t:id="start" t:context="${pojo.id}" rel="#overlay1">
// here image tag
</t:actionlink>
</t:loop>
my problem is when i click on the image it get overlayed but onActionFromStart is not triggered how to solve this problem
Action handlers need to have default or public modifiers for Tapestry to be able to find them:
Also take a look at the Component Events section of the docs.