wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Bessonov <exe...@googlemail.com>
Subject Test CheckBoxMultipleChoice or CheckGroup
Date Wed, 15 Dec 2010 17:52:39 GMT
Hello list,

I'm trying to set checkboxes with junit but without significant success. 
My trouble is to find checkboxes. I've not found any way to access it if 
I use CheckBoxMultipleChoice. With CheckGroup I get access with Visitor

tester.getLastRenderedPage().visitChildren(Check.class, new
             IVisitor<Component>() {
                 public Object component(Component component) {

but it's very ugly way. Any suggestions?

To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org

View raw message