RE: Cannot set select2choice component in wicket tester

2015-10-01 Thread Lois GreeneHernandez
Thank you so much. Lois -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, October 01, 2015 11:59 AM To: users@wicket.apache.org Subject: Re: Cannot set select2choice component in wicket tester Hi, Since Select2 is a JavaScript widget usually

Re: Cannot set select2choice component in wicket tester

2015-10-01 Thread Martin Grigorov
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