What you are missing is the fundamenatal difference between a
'Submit'(Submit button) which takes the Form values to the server, and
an href which carries nothing other than the NVPs that are part of the
href tag itself.

Aby

-----Original Message-----
From: Oscar Perez - CAST-INFO [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 12, 1999 11:55 PM
To: '[EMAIL PROTECTED]'
Subject: [ND] CSpCheckBox in a Repeated with href's


I try to get the values of  CheckBoxe's place in a Repeated, when ther
user click's on an Href, but I always get a vector with False Values, in
spite of I use the same code to get the vector when the user clicks on a
button (which is situated in the page, not in the repeated). The source
code is:

      CSpCheckBox chbBorrar = (CSpCheckBox) event.getSource( );
      chbxBorrar = (CSpCheckBox) getDisplayField ("*chbBorrar");
      if (chbxBorrar != null) {
          CSpValue chkValue = chbxBorrar.getValue ();
          if (chkValue instanceof CSpVector) {

              CSpVector v = (CSpVector) chkValue;
                 for (int i = 0; i < v.size (); i++){
                //In the on_web_event of a button here I get the correct
values
               //In the on_web_event of an href I always get a vector
with false values
               }
        }else{
              //Process only 1 field
     }


I try to get the reference to a page and after get the values of the
checkboxe's from the reference to the page, but I always get the same
results

I wait the answers....



________________________________________________________________________
_

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