I just got the error.

I don't know why or how the comboBox got corrupted or something similar,
because I just delete it and create it again and it worked.

Thanks Aby

Sergio Alberto Rodriguez Venegas
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
http://www.infosphere.com.mx <http://www.infosphere.com.mx> 
(528)365-42-88 Ext. 125



        -----Original Message-----
        From:   Aby Mathew [SMTP:[EMAIL PROTECTED]]
        Sent:   Wednesday, September 08, 1999 5:59 PM
        To:     'Rodriguez, Sergio';
[EMAIL PROTECTED]
        Subject:        Re: [ND] Problems with Combo Box

        getValue() or getSelected().getValue() should work. If it doesn't,
it
        requires some background investigation.

        My first diagnostic question would be, are you trying to get the
value
        on the web event of an href?


        Aby


        -----Original Message-----
        From: Rodriguez, Sergio [mailto:[EMAIL PROTECTED]]
        Sent: Wednesday, September 08, 1999 2:55 PM
        To: [EMAIL PROTECTED]
        Subject: [ND] Problems with Combo Box


        Hi all,

        I'm filling manually a combo box and I leave the label for None
Selected
        Combo.addSelectable("Label A",  new CspInteger(1));
        Combo.addSelectable("Label B",  new CspInteger(2));

        But when I tried to get the value from the combo box it always
return me
        the
        value = null and the label = "None Selected" . I have tried using
        Combo.getSelected() and Combo.getValue().

        Does any one know why?

        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]
        
_________________________________________________________________________

        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]
_________________________________________________________________________

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