You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by resign <se...@yahoo.de> on 2012/04/20 08:25:50 UTC
T 5.2.6 EventLink and confirm box
hi,
i have a problem....
i have an EventLink to delete user, on this link a created an "onClick"
listener which ask the user if he want to delete something..... but Event
will fired in each case.
example:
.....
<t:eventLink t:id="deleteLink" t:event="REMOVE_ME" onClick="return
confirm('Realy?');" >delete</t:eventLink>
.....
How can i do this?
thanks,
resign
--
View this message in context: http://tapestry.1045711.n5.nabble.com/T-5-2-6-EventLink-and-confirm-box-tp5653459p5653459.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T 5.2.6 EventLink and confirm box
Posted by pieter <pi...@atos.net>.
I think you better create a mixin !
http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained
--
View this message in context: http://tapestry.1045711.n5.nabble.com/T-5-2-6-EventLink-and-confirm-box-tp5653459p5653489.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T 5.2.6 EventLink and confirm box
Posted by resign <se...@yahoo.de>.
hi,
sorry was not at home :-)
I made it an other way.
I use jQuery at all, so i creeated a dialog with two buttons yes/no and let
them fire events CANCEL oder REMOVE..... easy :-)
Thanks for help
resign
--
View this message in context: http://tapestry.1045711.n5.nabble.com/T-5-2-6-EventLink-and-confirm-box-tp5653459p5684961.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T 5.2.6 EventLink and confirm box
Posted by Geoff Callender <ge...@gmail.com>.
Does this help? http://jumpstart.doublenegative.com.au/jumpstart/together/easycrud/persons
On 20/04/2012, at 4:25 PM, resign wrote:
> hi,
> i have a problem....
>
> i have an EventLink to delete user, on this link a created an "onClick"
> listener which ask the user if he want to delete something..... but Event
> will fired in each case.
>
> example:
>
> .....
> <t:eventLink t:id="deleteLink" t:event="REMOVE_ME" onClick="return
> confirm('Realy?');" >delete</t:eventLink>
>
> .....
>
> How can i do this?
>
> thanks,
> resign
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/T-5-2-6-EventLink-and-confirm-box-tp5653459p5653459.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org