Re: Under certain circumstances, prevent the replacement of markup after a successful Ajax response

2020-10-21 Thread Holzmueller
replacement in some circumstances. > >The circumstances could be changed during the delay between request and > >response. > > I don't see a solution how you could change .wr dynamically, since no event > is published before handling of the Ajax response. > > What

Under certain circumstances, prevent the replacement of markup after a successful Ajax response

2020-10-20 Thread Holzmueller
Hi everyone, I've a question about the wicket ajax response processing. What's the meaning behind the attrs.wr JavaScript boolean attribute? I can change it with JavaScript by the IAjaxCallListener.getBeforeSendHandler() method. My goal is to prevent the ajax component replacement in some circu

AW: how to pass initial request parameters with WicketTester

2010-11-02 Thread Stefan . Holzmueller
Hello again, thanks for the response. And I'm sorry that the code snippet got messed up somehow. Anyways, the problem is that the request parameter is strictly required (we throw an exception if it is not there). So we want to make sure that there is a non-null parameter when starting a new se

how to pass initial request parameters with WicketTester

2010-11-02 Thread Stefan . Holzmueller
Hello, we are wondering about a valid test setup - perhaps somebody is able to help us with it. Our approaches to write a test failed because our WebApplication's newSession() seem to be called whenever we create a WicketTester and before we are able to set any request parameters. Our setting