because they need to be styled differently and as far as i know there is no cross-browser selector that lets you select a label connected to a form component that has some specific css class or attribute...
-igor On Thu, May 2, 2013 at 1:45 PM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi Igor, > > I have a question about your entry in the roadmap for Wicket 7.0: > SimpleFormComponentLabel should output the "required" class just like > wicket:for > > Why helper classes like SimpleFormComponentLabel and AutoLabel should > render anything else than "for" attribute? And maybe HTML5's "form". > http://www.w3.org/wiki/HTML/Elements/label#HTML_Attributes > https://developer.mozilla.org/en-US/docs/HTML/Element/label > > "required", "disabled", etc. should be in FormComponent#onComponentTag > > -- > Martin Grigorov > Wicket Training & Consulting > http://jWeekend.com <http://jweekend.com/>