Hello,
i'm trying to test a form with a Palette component, with WicketTester.

I don't know how to make a selection into the palette.
I did all the stuff i need to fill the Palette with some values, so it
should not be empty.

If i do 

formTester.selectMultiple("myPalette", new int[] {0});

I get a "palette cannot be cast to FormComponent" error.

Palette contains a "recorder" component, which is a FormComponent (it
extends TextField)

if i try 

formTester.select("myPalette:recorder", 0 );

or 
formTester.selectMultiple("myPalette:recorder", new int[] {0});

I get a "Trying to select on null component" error ...

Thanks for your help!

Loic


-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WicketTester-and-Palette-component-tp2306743p2306743.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to