Greetings,
Is it possible to provide an ActionLink component with a callback which is
invoked after the "action" event is completed?

I have an ActionLink which is used to initiate an AJAX call using a Zone. 
I'd like to be able to call a JavaScript function on click as well as once
the "action" event is completed.  I am able to call a function using the
onclick of the inner component of the actionlink
ex: <t:actionlink t:id="myFunction" t:zone="myZone"> ... </t:actionlink>

I've been able to use the OnEvent mixin on TextField to use the
"onCompleteCallback" property to call a post JavaScript.  However, when
doing so on an ActionLink, nothing happens.
ex. <t:actionlink t:id="myFunction" t:zone="myZone"
t:mixins="t5components/OnEvent" event="action"
onCompleteCallback="afterFunction" >...</t:actionlink>

Can this be done in the Java class event handler for the event?  I've tried
different techniques, but nothing seems to work.  Any ideas how to provide
event callbacks in T5 (5.0.16)?

Cheers,
Marcel
-- 
View this message in context: 
http://www.nabble.com/-t5--actionlink-callback-tp20641626p20641626.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to