Re: Unable to use wicket tester to simulate ajax behavior

2012-07-24 Thread Giovanni Cuccu
Hi, here it is https://issues.apache.org/jira/browse/WICKET-4670 Thanks, Giovanni Il 24/07/12 09.22, Martin Grigorov ha scritto: Hi, File a ticket with a test case. On Tue, Jul 24, 2012 at 9:34 AM, Giovanni Cuccu wrote: Hi, sorry for the late response. Should I file a bug for th

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-24 Thread Martin Grigorov
Hi, File a ticket with a test case. On Tue, Jul 24, 2012 at 9:34 AM, Giovanni Cuccu wrote: > Hi, > sorry for the late response. Should I file a bug for this? > Thanks, > Giovanni > Il 11/07/12 15.13, Giovanni Cuccu ha scritto: > >> Hi Martin, >> I did the change you suggested but th

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-23 Thread Giovanni Cuccu
Hi, sorry for the late response. Should I file a bug for this? Thanks, Giovanni Il 11/07/12 15.13, Giovanni Cuccu ha scritto: Hi Martin, I did the change you suggested but the test fails with esame error: junit.framework.AssertionFailedError: expect no error message, but contains

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-11 Thread Giovanni Cuccu
Hi Martin, I did the change you suggested but the test fails with esame error: junit.framework.AssertionFailedError: expect no error message, but contains Field 'combo1' is required. Thanks, Giovanni Il 11/07/12 09.23, Martin Grigorov ha scritto: Hi, Try with: tester.getRequest()

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-11 Thread Martin Grigorov
Hi, Try with: tester.getRequest().setParameter("form:combo1", "0"); tester.executeAjaxEvent("form:combo1", "onchange"); On Tue, Jul 10, 2012 at 10:10 AM, Giovanni Cuccu wrote: > Hi, > can someone give me an hint on this? > I tried to explain my problem providing a complete example and expla

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-10 Thread Giovanni Cuccu
Hi, can someone give me an hint on this? I tried to explain my problem providing a complete example and explaining what I was trying to achieve. I'd like to know if there is a specific reason of getting no answer so I can change something on my side the next time I need to write to the list.

Unable to use wicket tester to simulate ajax behavior

2012-07-04 Thread Giovanni Cuccu
Hi all, I'm trying to test a wicket 1.5.7 application and I'm hitting a strange (at least for me) issue. I have two dropdowns (combo 1 and combo2) and when I select one value from combo1 I fire an AjaxUpdateBehavior on onchange event which selects a value on combo2. If I use the application e