Why do you *need* to add a class to the label? <span wicket:id="radiogroup" class="myradiogroupclass"> ... </span>
css: .myradiogroupclass label { color : red; font-size : 72px; } Martijn On 10/18/07, Daniel Kröger <[EMAIL PROTECTED]> wrote: > Hi, > > using a RadioChoice within my project is out of question because RadioChoice > seems to render the <label>-tag behind the <input type="radio">-Tag > statically, but i need to add a class-attribute to that <label>-tag. > > So one attempt could be using a RepeatingView inside the RadioGroup to > dynamically generate the Radios as proposed here: > http://www.nabble.com/Re%3A-Customizing-RadioChoice-p13067505.html > > Unfortunately I'm a bit stuck there since I'm quite new to Wicket. Can > someone please provide me with an example for how to use RepeatingView > inside RadioGroup? > > Or is there a better way to achieve the desired behavior? > > Thanks in advance! > > Best regards > Daniel > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]