afaik both of these should already support isrequired

-igor


On 1/10/07, jan_bar <[EMAIL PROTECTED]> wrote:

Hi,

it would be nice if setRequired(true) works on RadioGroup or
DropDownChoice
and similar controls. For instance, radio group with initial state that
has
no radio "checked", user is required to select one, there is no default
value. When RadioGroup has required=true, it will verify if one of he
radios
is "checked", otherwise it displays error "select one of the choices". The
same logic can be applied to DropdownChoice, the "Choose one" entry is
invalid input.
How can I implements this behaviour in wicket-1.2.4?

Thanks for your support and precious time, Jan




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to