You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Tan CyberT@n" <qu...@gmail.com> on 2008/12/23 07:03:11 UTC
Mixin for javascript.
hi all,
regarding the tutorial about the mixin to prompt a confirm box before press
the button.
I have try to use the tutorial in
http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained
but seems like even i press the "cancel". it also will post back.
here are the sample:
<t:actionlink t:mixins="confirm" t:zone="zoneFormView" t:id="toolbarDel"
t:context="${id}"><button><img src="images/deleteRecord24.png"
/></button></t:actionlink>
is any one able to help me?
Thank you.
Regards,
Tan