hi

i am writting a software for an article management. a user can post and edit articles. to do that i show all the users articles in a /*DataView*/. This lists every item in a TableRow.

ButtonPanel buttonPanel = new ButtonPanel("buttonPanel"); // extends Panel
Of course the user needs to delete these, for that i provide a button.
AjaxLink deleteButton = new AjaxLink("deleteButton"){
...
}
buttonPanel.add(deleteButton);

But i want to confirm this action befor i delete the article. my idea is to Replace the panel which holds the deleteButton with a ConfirmButton in another Panel. And afterwards delete or show the original article row.

I use the code i found on the wiki site : http://cwiki.apache.org/WICKET/getting-user-confirmation.html but my ajax update won't send me any html markup which would replace the panel.

so my first question is, has anyone ever done this ? especially replacing a panel IN a DataView!

thank you very much for your help !









---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to