I've tried everything I can find in the archives of this group without any
luck.  On my page, I have a button (btCreateExpenseReport) the user presses
to create an expense report of one of two types based on two radio buttons
(rbReportType) on the page.  The only results I get are null or the default
value for the radio button.  Here's an ugly sample of what I've tried:

        public int btCreateExpenseReport_onWebEvent(CSpWebEvent event)
        {
                CSpRadioButtonsGroup rbg = 
                        (CSpRadioButtonsGroup)
getDisplayField("*rbReportType");
                CSpSelectable sel_rbg = rbg.getSelected();      
                CSpValue cv_radiobuttonvalue = CSpider.getWebVar("sel_rbg");

                CSpValue cv_radiobuttontemp = 
        
((getDisplayField("*rbReportType")).getValue());

                String cv_radiobuttonvalue = 
                                CSpider.getWebVar("*rbReportType");
                
                CSpValue cv_radiobuttontemp = 
                                (getDisplayFieldValue("rbReportType"));

                CSpValue cv_radiobuttontemp = 
                                CSpider.getWebVar("rbReportType");

Any suggestions, code samples would be appreciated.  Should this be in a
different event?  Thanks.

_________________________________________________________________________

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