RE: [Wicket-user] [wicket 1.1.1]FormTester clicking a specific button

2006-03-07 Thread Nino Wael
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

Re: [Wicket-user] [wicket 1.1.1]FormTester clicking a specific button

2006-03-07 Thread Maurice Marrink
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

Re: [Wicket-user] [wicket 1.1.1]FormTester clicking a specific button

2006-03-07 Thread Ingram Chen
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

[Wicket-user] [wicket 1.1.1]FormTester clicking a specific button

2006-03-07 Thread Nino Wael
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