This works fine, thanksJ

 

-Nino


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ingram Chen
Sent: Tuesday, March 07, 2006 2:55 PM
To: [email protected]
Subject: Re: [Wicket-user] [wicket 1.1.1]FormTester clicking a specific button

 

Try this:

FormTester formTester = wicketTester.newFormTester(false);
formTester.setValue("myButton", "whatever");
formTester.submit() ;

this should click the button with "myButton" wicketId.

On 3/7/06, Nino Wael <[EMAIL PROTECTED]> wrote:

Hi

How do I click a specific button using the test wicket framework?

 

-regards Nino




--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen

Reply via email to