You can write a custom validator that checks all three and gives one message if any are not completed. Done correctly, it could be very reusable - give it an array of components that it checks and a resource key to get the message.
On Thu, Dec 4, 2008 at 8:22 PM, novotny <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a ListView containing several RadioButtons.setRequired(true) (a Q & > A > list) that are all required to be answered. However, if someone doesn't > click on all of the radio buttons, I see three "Please answer the question" > messages on the feedback panel. How can I just consolidate it so only one > message appears if any of the questions i.e. radiobuttons is not selected? > > Thanks, Jason > -- > View this message in context: > http://www.nabble.com/how-to-print-only-one-validation-message-from-a-listview-of-radiobuttons-tp20846684p20846684.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jeremy Thomerson http://www.wickettraining.com
