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.

 I have  a radio button group called rbQueries.  It contains two hard-coded
entries : one for Daily volumes and one for Montly volumes.  I want to add a
dynamically generated radio button for the hourly volumes.  So,  I was
looking at the NetD class definition for spider.visual.CSpRadioButtonsGroup.
Under the methods index, there is this entry:

createNewSelectable(CSpValue, String)   
Instantiates and returns a new selectable radio button which  is a child of
this radio button group 

so, in my code I added:

                CSpRadioButtonsGroup radiog = (CSpRadioButtonsGroup)
getDisplayField ("rbQueries");
                CSpValue newentry = new CSpString("Hourly");
                radiog.createNewSelectable (newentry, "hourlyvol");  

What puzzled me is the error returned:

Compiling pgCustomerMenu.java...
C:\NetDynamics\NetDynamics40\Projects\MeasurementInfo\pgCustomerMenu.java:14
7: No method matching createNewSelectable(spider.session.CSpValue,
java.lang.String) found in class spider.visual.CSpRadioButtonsGroup.
                radiog.createNewSelectable(newentry, "hourlyvol"); 
                                          ^
1 error
Failed compiling Project MeasurementInfo. - 1 error.

any ideas?

nathan


PG&E Gas Transmission Texas and any other company referenced herein which uses the 
PG&E name or logo are not the same company as Pacific Gas and Electric Company, the 
California utility.  These companies are not regulated by the California Public 
Utilities Commission, and customers do not have to buy products from these companies 
in order to continue to receive quality regulated services from the utility.
_________________________________________________________________________

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