Thank you so much. 

Lois

-----Original Message-----
From: Martin Grigorov [mailto:[email protected]] 
Sent: Thursday, October 01, 2015 11:59 AM
To: [email protected]
Subject: Re: Cannot set select2choice component in wicket tester

Hi,

Since Select2 is a JavaScript widget usually in WicketTester tests you just 
need to submit a value for it.
FormTester ft = tester.newFormTester("theForm"); 
ft.setValue("path:to:select2Choice", "selectedOptionValue"); ft.submit();



Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Oct 1, 2015 at 7:44 AM, Lois GreeneHernandez < 
[email protected]> wrote:

> Hello All,
>
> My form has a select2choice component.  I cannot seem to set this 
> field in my testing unit test.
>
> Any advice on how to deal with this would be greatly appreciated.
>
> Thanks
>
> Lois
>
>

Reply via email to