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

Re: Change visibility of a component before onSubmit

2013-03-08 Thread Martin Grigorov
Hi, You will need to use WebSocket/Push/Streaming to be able to write several times to the browser in one request. Better think for another solution. Your current requirement seems to be more complex to implement than you really want. For example make an Ajax call to start the processing and show

Re: Change visibility of a component before onSubmit

2013-03-08 Thread Andrea Del Bene
Which version of Wicket are you using? Maybe you can do what you want with an AJAX listener. 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 int

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