You could add a behavior... e.g a confirmbehavior for your needs :) 

Pinger wrote:
> 
> That is all well and good, but it does not 
> 
> "Do Stuff" 
> 
> now after i hit ok
> 
> djo.mos wrote:
>> 
>> Hi,
>> 
>> Pinger wrote:
>>> 
>>> I want to get a Yes/No confirm dialog, so I only "Do Stuff" if they say
>>> yes..
>>> 
>> 
>> What kind of confirmation ? Javascript ? Html ?
>> for the first, you could use this
>> 
>> ajaxButton.add(new SimpleAttributeModifier("onclick", "return
>> confirm('Delete ?');"));
>> 
>> Cheers
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Make-a-Ajax-button-have-a-confirm-dialog-tp16425091p16435223.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to