Martijn,

That's exactly what I am doing (I think form.submit earlier was confusing -
apologies).

The button has setDefaultFormProcessing to true (but is used to
setResponsePage) - although this works fine functionally, could that be an
issue with the test?

I will debug the tree to see if validation components contain any errors -
there were none in the test logs though.

Thanks!



Martijn Dashorst wrote:
> 
> FormTester ft = tester.newFormTester("form");
> ft.submit();
> 
> Did you also check for any validation errors?
> 
> Martijn
> 
> On Tue, Apr 21, 2009 at 6:03 PM, Chiradeep Chhaya <cbchh...@gmail.com>
> wrote:
>> I have a form that contains an indicating ajax button which when
>> clicked performs some calculations and calls setResponsePage. In the
>> test I have tried form.submit on the button and also executing
>> onSubmit ajax event but nothing works. Any suggestions?
>>
>> Thanks
>>
>> --
>> Sent from my mobile device
>>
>> -Chiradeep
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
> 
> 
> 
> -- 
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.5 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wicket-tester-form-submission-problem-tp23159433p23166322.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to