Request for input on new feature idea: wicket:for attribute

2009-12-13 Thread Erik van Oosten
Hi, In the many Wicket applications I have seen, the most frequent error is to not correctly set the 'for' attribute of an HTML 'label' element. Currently it is necessary to do this from code. Although a quickly written component will make this fairly easy, the task is occurring that often

Re: Request for input on new feature idea: wicket:for attribute

2009-12-13 Thread Peter Ertl
+1 that's a pretty frequent usecase Am 13.12.2009 um 14:17 schrieb John Krasnay: +1, great idea! jk On Sun, Dec 13, 2009 at 02:06:05PM +0100, Erik van Oosten wrote: Hi, In the many Wicket applications I have seen, the most frequent error is to not correctly set the 'for' attribute

Re: Request for input on new feature idea: wicket:for attribute

2009-12-13 Thread Jonas
There's already a feature request in jira for this: https://issues.apache.org/jira/browse/WICKET-1469 I tried implementing it once, but I run into trouble with component hierarchy. Only allowing labels for sibling components would probably make the implementation a lot easier, but I'm not sure