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: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] [wicket
1.1.1]FormTester clicking a specific button
Try
Or
application.setupRequestAndResponse();
application.getServletRequest().setRequestToComponent(myButton);
application.processRequestCycle();
Note that myButton must be on a page that has been previously rendered.
Maurice
On 3/7/06, Nino Wael <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> How do I clic
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 w
Title: [wicket 1.1.1]FormTester clicking a specific button
Hi
How do I click a specific button using the test wicket framework?
-regards Nino