Change visibility of a component before onSubmit

2013-03-08 Thread Michael Backmann
Hello, I would like to react on the onSubmit-method of an AjaxButton or normal Button. The problem is, I would like to make a panel (a customized progressbar) visible and after this there should be internal work and when it is finished, there should be a change to another page. If I try to put

Re: Change visibility of a component before onSubmit

2013-03-08 Thread Michael Backmann
I'm using version 6 of Wicket. Meanwhile I have found a solution. I split the interaction in two requests: |AjaxButton confirmButton= new AjaxButton("confirmButton", layoutForm) { @Override protected void onSubmit(AjaxRequestTarget target, Form form) { super.onSubmit(target, for