I admit I have lousy memory:( I must be too stressed, as I recall it worked just fine sorry.
-----Oprindelig meddelelse-----
Fra: [EMAIL PROTECTED] på vegne af Ingram Chen
Sendt: ma 13-03-2006 16:20
Til: [email protected]
Cc:
Emne: Re: [Wicket-user] Testing form with multiple submit buttons?
I recall that last week I suggest trying this:
FormTester formTester = wicketTester.newFormTester(false);
formTester.setValue("myButton", "whatever");
formTester.submit() ;
Does this not work for you ?
On 3/13/06, Nino Wael <[EMAIL PROTECTED] > wrote:
Hi
I have a form with multiple submit buttons, how do I click the
correct button? On formtester I can only set the submit method. Which does not
allow med to specify which button to click.
-regards Nino
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
<<winmail.dat>>
