Confirmation Dialog Not Displayed For Button

2010-10-04 Thread Shelli Orton
Hi, I have the following code to create a org.apache.wicket.markup.html.form.Button: Button delete = new Button(delete) { public void onSubmit() { // Delete the selected record } }; delete.add(new

Re: Confirmation Dialog Not Displayed For Button

2010-10-04 Thread Mathias Nilsson
.1842946.n4.nabble.com/Confirmation-Dialog-Not-Displayed-For-Button-tp2955022p2955033.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

RE: Confirmation Dialog Not Displayed For Button

2010-10-04 Thread Shelli Orton
@wicket.apache.org Subject: Re: Confirmation Dialog Not Displayed For Button I ran this in IE7, Firefox and Google Chrome and it worked fine. make sure you don't have a javascript error in the page and maybe add delete.add(new SimpleAttributeModifier( onclick, if (!confirm('Delete?') ){ return false