You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by vela <ve...@gmail.com> on 2009/03/13 13:34:53 UTC
Stop AjaxFallbackLink activity from the value of java script
confirmation message
Hello,
I have a AjaxFallbackLink and on click of it, it will delete the value from
the database. On click of the link, a java script confirmation dialog will
be shown. If option 'yes' is selected, then deleting should happen, else if
'no' is chosen, then deletion should not take place.
How to acheive it?
--
View this message in context: http://www.nabble.com/Stop-AjaxFallbackLink-activity-from-the-value-of-java-script-confirmation-message-tp22495480p22495480.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Stop AjaxFallbackLink activity from the value of java script
confirmation message
Posted by Piller Sébastien <pi...@hmcrecord.ch>.
Maybe with an IAjaxCallDecorator and the script "if(!confirm('Delete'))
return false;"?
There are lots of exemple on the list ;)
vela a écrit :
> Hello,
>
> I have a AjaxFallbackLink and on click of it, it will delete the value from
> the database. On click of the link, a java script confirmation dialog will
> be shown. If option 'yes' is selected, then deleting should happen, else if
> 'no' is chosen, then deletion should not take place.
>
> How to acheive it?
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org