> public void onClick() {
> DeleteLink.this.replaceWith(new
> ConfirmDeletePanel(DeleteLink.this.getId(), "really delete?") {
> @Override
> protected void onCancel() {
> replaceWith(DeleteLink.this);
> }
>
> @Override
> protected void onConfirm() {
> Filter filter =
> (Filter)getParent().getParent().getModelObject();
> service.delete(filter);
> replaceWith(DeleteLink.this);
> }
> });
> }
Code looks fine to me. And I'm using replaceWith quite a bit and it
works fine. Can you try to set a break point in onClick, see if it
arrives there and step into the replace code?
Eelco
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user