I am trying to add a confirmation to the ajaxlink. If the confirmation is not
received then the link action should stop and the ajax call not be made.

I have found code in a posting by Igor using the onComponentTag and also
code using the AjaxCallDecorator.

I can not get the onComponentTag to work, the onclick get replaced with
wickets ajax script. 

With the AjaxCallDecorator I cant stop the default behaviour, the ajax call
is always made.

Ultimately I need to ask the question "Delete this message?" and if the user
confirms the ajax call is made, if not nothing happens. A OK / Cancel
function.

Many thanks in anticipation.

Ian

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Confirmation-on-AjaxLink-tp4650466.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to