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);
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!!
4 June, 2008 - 16:12 — DavidHi 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
9 June, 2008 - 11:09 — andysHi David,
It is true that the selectOneRadio disappear in IE.
you can add this code below in your backing bean
Hope this helps
Andys
OK, it works fine, Thank you
9 June, 2008 - 12:46 — DavidOK, it works fine,
Thank you andys