I am trying to put a nice little '*' next to the RadioGroup when the user forgets to select an item and just having a bear of a time with something so simple.
Somehow I've ended up with a wicket:enclosure in the form. I've created my own RadioGroup class (PNCRadioGroup) that overrides onComponentTag to do the visibility toggling and I have labels in my object that enable/disable visibility on to get the enclosures to show up in specific validation cases. Its not working well and there has got to be an easier way... Any tips? <p class="paragraph_style"> <span style="line-height: 15px;" class="style_1">Do you have high speed </span> <span style="line-height: 15px;" class="style_2">internet</span> <span style="line-height: 15px;" class="style_1">? <wicket:enclosure> <span wicket:id="highspeedavailablegrouperror" class="invalid" style="padding: 2px 5px;">*</span> </wicket:enclosure> <br /> </span> </p> <span wicket:id="doyouhavehighspeedgroup"> <p class="paragraph_style"> <span style="line-height: 15px;" class="style_1"> <input wicket:id="Yes" type="radio" /> Yes<br /> </span> </p> <p class="paragraph_style"> <span style="line-height: 15px;" class="style_1"> <input wicket:id="No" type="radio" /> No <br /> </span> </p> </span> </p> .... .... John- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org