I need to show links, which i need to populate dynamically

@Bindable protected List<ActionLink> scripts = new ArrayList<ActionLink>();

I fill ArrayList with links, which i create in onInit() and then show
them in Velocity using #foreach

For each link i set listener

link.setActionListener(new ActionListener() {
            public boolean onAction(Control control) {
             return true;
}

But onAction never get called when i click on links

What do i do wrong here?
Thanks

Reply via email to