Hi Lucio, The for="anything" was referring to the id="anything" of the input tag, which is valid. See http://www.w3schools.com/tags/tag_label.asp.
<form wicket:id="form"> <label wicket:id="label_tag" for="anything"> <span wicket:id="label_tag_Text" ></span> </label> <input wicket:id="name" type="text" size="40" id="anything" > </form> François On Wed, Sep 4, 2013 at 9:06 AM, Lucio Crusca <lu...@sulweb.org> wrote: > On Monday 02 September 2013 10:12:25 Martin Grigorov wrote: > > On Sat, Aug 31, 2013 at 10:18 AM, Lucio Crusca <lu...@sulweb.org> wrote: > > > In data venerdì 30 agosto 2013 10:48:35, Martin Grigorov ha scritto: > > > > Hi Lucio, > > > > The suggested solution should work. > > > Which one? I think I've tried all of them and reported issues here, > but > > > maybe > > > I missed one. > > FormComponentLabel + AttributeModifier > > I didn't understand how I'm supposed to use the FormComponentLabel class, > since wicket:id and wicket:for cannot be put together in the same <label> > tag and I need a reusable and repeatable panel with a styled <label> tag > inside. I asked for an example and Francois Meillet provided one, but his > example didn't use the wiket:for attribute, which I need, and using a > dummy for="anything" is invalid HTML. > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >