[Wicket-user] AjaxLink, mass delete and javascript confirmation

2007-04-20 Thread Decebal Suiu
I have a UsersPanel that contains a UsersTablePanel and a delete link (Ajax). UsersTablePanel contains a DataTable (Ajax) with the first column only for selection (checkboxes), and a method getSelectedIds():ListLong. The user flow is very simple: check (select) some rows from table and click on

Re: [Wicket-user] AjaxLink, mass delete and javascript confirmation

2007-04-20 Thread Igor Vaynberg
the easiest way is to keep the count using javascript and popup the box using alert -igor On 4/20/07, Decebal Suiu [EMAIL PROTECTED] wrote: I have a UsersPanel that contains a UsersTablePanel and a delete link (Ajax). UsersTablePanel contains a DataTable (Ajax) with the first column only for

Re: [Wicket-user] AjaxLink, mass delete and javascript confirmation

2007-04-20 Thread Decebal Suiu
Thanks Igor. I'm not a javascript developer and I come from swing. It is nice to have in wicket some methods that encapsulates javascript basic functions (alert, confirm, ...). In my case, in onClick method I have the selected rows number and I wish to call a confirm method (something like