Hi, Try with : textField.setOutputMarkupId(true). If this helps please file a ticket - 'wicket:for' should do this for you.
On Thu, Mar 14, 2013 at 5:01 AM, Maxim Solodovnik <solomax...@gmail.com>wrote: > Hello, > > I'm trying to use wicket:for as follows: > <input wicket:id="rememberMe" type="checkbox" /><label > wicket:for="rememberMe"><wicket:ommessage key="288" /></label> > > https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/pages/auth/SignInPage.html > > the resulting HTML is: > <td><input type="checkbox" name="rememberMe"><label for="id3">Remember > login</label></td> > http://demo.dataved.ru/openmeetings/html > > and label for is not working :( > > Am I using this feature improperly? > Wicket 6.6.0 is used > > Thanks in advance > > -- > WBR > Maxim aka solomax > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>