1
0
-1

Hi 

I have a select box which will access the database using Bean shell to load options. For bean shell query i need to access control field value.

How to access that in bean shell??

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi This is my select box bean shell code where i need to access froms country field:  

      public FormRowSet getCountryRows() { 
      //I need to get here?
      } return getCountryRows();

      How to access field directly?

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hey there,

        Rather than trying to obtain the dependency control field's value, why not just obtain the value directly from the form field that is referenced in the dependency control field of your select box instead?

         

        1. Ranjith

          Hi This is my select box bean shell code where i need to access froms country field: public FormRowSet getCountryRows() { } return getCountryRows(); How to access field directly?

        CommentAdd your comment...