Creating UIBackbaseSelectOneRadio dynamically

Hello,
I've got a class to display some radio buttons dynamically and it worked in BB 4.1.0 but it doesn't in 4.2
please, could you try it out?
I post a snippet of my code:

                // looking for my panel
                UIBackbasePanelGroup panelGroup = getStructuresPanelGroup("structuresPanel");
               
                UIBackbaseSelectOneRadio test = new UIBackbaseSelectOneRadio();
                test.setId("rdbStructures");
                test.setLayout("pageDirection");
               
                // Example select items
                UISelectItem item = new UISelectItem();
                item.setItemLabel("uno");
                item.setItemValue("uno");
                item.setItemDescription("uno");        
               
                test.addChild(item);
               
                 item = new UISelectItem();
                item.setItemLabel("dos");
                item.setItemValue("dos");
                item.setItemDescription("dos");        
                test.addChild(item);
               
                 item = new UISelectItem();
                item.setItemLabel("tres");
                item.setItemValue("tres");
                item.setItemDescription("tres");       
                test.addChild(item);
               
                // Example input Text
                UIBackbaseInputText input = new UIBackbaseInputText ();
                input.setValue("hola");
               
                // Example command link
                UIBackbaseCommandLink link = new UIBackbaseCommandLink();
                link.setValue("sdfsadf");
               
                panelGroup.addChild(test);
                panelGroup.addChild(link);
                panelGroup.addChild(input);

when I invoke this code the input text and command link are dissplayed but selectoneradio doesn't.
what am I doing wrong?

Thanks
David

a clue!!

Hi again,
I've been working on this issue and I've noticed that it works fine in Firefox, but it doesn't work in IE. I've tried it out in IE6 and IE6.
I hope this could help you to find the problem.
Kind regards
David

SelectOneRadio disappear

Hi David,

It is true that the selectOneRadio disappear in IE.
you can add this code below in your backing bean

test.setStructureDirty(false);

Hope this helps

Andys

OK, it works fine, Thank you

OK, it works fine,
Thank you andys