Thanks for your answers.  However there is still some issues:

* Eelco Hillenius:

> If we use a submit link,  first the models would be updated, and
> then the link with the delete behavior would be executed.

Oh  yes, sorry  I didn't  mention: the  SubmitLink that  is likely
to  be used  for  removing  rows is  *non-validating*  ie it  sets
setDefaultProcessing()  to  false,  so  no,  the  model  is  *not*
updated.  That is the problem.   Requesting the user to have valid
values in a row to be able to delete it doesn't make sense.

Also,  now  if  instead  of  removing   one  row  at  a  time  you
want  to remove  a selection  of  rows using  a CheckGroup,  there
is  no  way to  determine  the  checked  rows,  unless you  add  a
CheckGroup.getSelection() method  that returns  a list  of checked
checkboxes, WICKET-79 provides such a feature.

All the best,
-- 
     Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/

Reply via email to