In fact there is no limitation. The part of the documentation within ***
turns out be an empty threat!

>>>
 Adds a new relevant selectable child to this instance in a requested
position. For example, if the instance is a CSpListBox, the new
selectable would be of the type CSpListItem. ***Note that you can't use
this method to append the new child to the end of the list. If you try
to do so, it will throw an ArrayIndexOutOfBounds exception***.  
<<<

-----Original Message-----
From: Aby Mathew [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 09, 1999 2:18 PM
To: 'Roach, Nathan';
[EMAIL PROTECTED]
Subject: Re: [ND] Problems with Radio Buttons


The problem is that 
>>
*protected* CSpSelectable createNewSelectable(CSpValue value, 
                                             String label) 
<<
is *protected*. May be, meant for ND's internal use or when we subclass
the 'CSpStuff'.

Fortunately, there is 
>>
 public void addSelectable(int index, 
                           String label, 
                           CSpValue value) throws
ArrayIndexOutOfBoundsException 
<<
It works though with the unpleasant limitation that you can't append
something to the end of the list.


Aby 

-----Original Message-----
From: Roach, Nathan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 09, 1999 1:24 PM
To: [EMAIL PROTECTED]
Subject: [ND] Problems with Radio Buttons



I am trying to add an entry to a radio button group and it isnt working
properly. It is probably developer error so I'm hoping that  someone
can
tell me what I'm doing wrong.

_________________________________________________________________________

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]

Reply via email to