Re: Code Generator with Wicket...

2018-09-19 Thread craliaga
Nice work :) 

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

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



CheckBoxMultipleChoice with CheckGroup

2018-03-26 Thread craliaga
I implemented CheckBoxMultipleChoice with items at run time, now I need to
complete with an option to mark all. I have used the CheckGroup but
apparently it is not working, any advice is welcome.

*Here is my html code:*

 check/uncheck all 






   


*And java code:*
Form formData;
add(formData = new Form<>("formulario", new
CompoundPropertyModel<>(contratoListIModel)));
CheckGroup group = new CheckGroup("group");
group.add(new CheckGroupSelector("groupselector"));
group.add(new CheckBoxMultipleChoice<>("contratos",
TipoServicio.getTodos(), TipoServicio.getCR()).
setOutputMarkupId(true)); /* Here get items, works fine*/
formData.add(group);

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

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