[Wicket-user] how to disable all choices of a radio choice

2006-07-23 Thread Nili Adoram
Hi all,
I have a radio choice add to form:
FormComponentfc = new RadioChoice(types, types),
new IChoiceRenderer() {
//some code
});
fc.setEnabled(false);
add(fc);

I wanted to disabled all choices so I call fc.setEnabled(false).
However, in the markup, only the div is disabled and not the choices.
When markup is created (RadioChoice.onComponentTagBody()) disbaled 
property is not considered per choice.
So my question is, how can I disable all/some choices from Java code?
Thanks,
Nili

-
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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] how to disable all choices of a radio choice

2006-07-23 Thread Igor Vaynberg
please file a bug-IgorOn 7/23/06, Nili Adoram [EMAIL PROTECTED] wrote:
Hi all,I have a radio choice add to form:FormComponentfc = new RadioChoice(types, types),new IChoiceRenderer() {//some code});fc.setEnabled
(false);add(fc);I wanted to disabled all choices so I call fc.setEnabled(false).However, in the markup, only the div is disabled and not the choices.When markup is created (RadioChoice.onComponentTagBody
()) disbaledproperty is not considered per choice.So my question is, how can I disable all/some choices from Java code?Thanks,Nili-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user