Hi to all,
In my applet, I' m trying to add dynamically labels of the
radiobuttons of a CheckBox Group.
Basically, I wrote this, but a blank, empty CheckBoxGroup
appears, when I run it:
_cgOnLine.removeAllChildren(true);
//_cgMiseEnLigne.clear();
_cgOnLine.addSelectable(0,"YES", new CSpInteger(0));
_cgOnLine.addSelectable(1, "NO", new CSpInteger(1));
I'm doing this in the onBeforeDisplayEvent of the CheckBoxGroup,
and _cgOnLine is declared as:
private CSpJavaCheckboxGroup _cgMiseEnLigne = null;
and I get the correct instance of the checkbox group in the
AfterInitEvent of the page... like this:
_cgOnLine = (CSpJavaCheckboxGroup)
getDisplayField("cgOnLine");
Any help to solve this would be appreciated,
Thanx,
Guillaume,
UniversalFlower.
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]