Re: Add attribute to label tag in CheckBoxMultipleChoice component

2016-07-13 Thread Martin Grigorov
Hi, The only way I see is to override org.apache.wicket.markup.html.form.CheckBoxMultipleChoice#appendOptionHtml() Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jul 13, 2016 at 11:56 AM, Alberto wrote: > > Hello, > in

Add attribute to label tag in CheckBoxMultipleChoice component

2016-07-13 Thread Alberto
Hello, in CheckBoxMultipleChoice component the method getAdditionalAttributes() is used to add an attribute to the input tag. Is there a simple way to do the same for the label tag? Or a way to add a new tag (e.g. ) inside label tag? getPrefix() and getSuffix() add content outside of label tag.