On Thu, 11 Jun 2015 07:45:06 -0300, Casey Link <ca...@outskirtslabs.com>
wrote:
<a t:type="actionlink" t:id="removeItem" context="item.id">
ActionLink and EventLink are not supposed to do AJAX requests without a
zone parameter, so I really don't know how they made AJAX requests in your
case. Try adding zone="^".
2. I've tried using an eventlink instead of an actionlink, but clicking
it still causes a full page refresh
EventLink and ActionLink are almost the same, me considering ActionLink to
be mostly deprecated, so use EventLink instead and to handle it, just use
on[event name](). If you use on[event name]From[component id], the event
handler will only work in the class associated to the template where the
component was declared, because component ids are local to where they were
declared. ActionLink always uses the same event name, so you end up
needing to use the component id in the event handler method name or
@OnEvent annotation.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org