Re: Re: FormTester and Select component?

2010-03-04 Thread Jan Eriksson
well, since it looks like there's no build-in way of working with the Select component in FormTester i guess we have to decide on one of the ideas posted by you guys here. Thanks for you help! /jan On Tue, Mar 2, 2010 at 11:39 AM, leo.erlands...@tyringe.com wrote: You could easily extend

Can't get FormTester.submitLink to work (required testfield always missing)

2010-03-04 Thread Jan Eriksson
I'm stuck on something that seems like a very trivial problem.. I have a form with a RequiredTextField that i want to run some tests on using FormTester. The form is submitted using a SubmitLink located outside of the form tags. My problem is that even when i set a value on the RequiredTextField

Re: FormTester and Select component?

2010-03-02 Thread Jan Eriksson
   int start = tmp.lastIndexOf(/option);    tmp.insert(start + 9, /optgroup);  } } ** Martin ** Martin 2010/3/2 Jan Eriksson jneriks...@gmail.com: We're using a Select component (org.apache.wicket.extensions.markup.html.form.select.Select) to display two groups of SelectionOptions