label for radio input don't match

2010-11-04 Thread Benjamin Lorenz
Hello, in the following code, the id of the radio input is changed by wicket, so that it does not match the for attribute of the corresponding label anymore. How can I make sure that this does not happen? Thanks, Benjamin wicket:panel wicket:container wicket:id=docchoice tr class=odd

Re: label for radio input don't match

2010-11-04 Thread Martin Grigorov
You need to use org.apache.wicket.markup.html.form.FormComponentLabel for the labels or formComponent.setMarkupId(somethingStable) which is not recomended On Thu, Nov 4, 2010 at 1:52 PM, Benjamin Lorenz benjamin.lor...@kapowtech.com wrote: Hello, in the following code, the id of the radio