please file a bug

-Igor


On 7/23/06, Nili Adoram <[EMAIL PROTECTED]> wrote:
Hi all,
I have a radio choice add to form:
FormComponent        fc = 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.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-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.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to