Select Box Bean shell Load - Access Dependency control field

Confluence User - 19 Sep, 2018

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??

forms;selectbox;beanshell;control

3


20 Sep, 2018
confluenceUser
confluenceUser

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?

 

20 Sep, 2018
confluenceUser
confluenceUser

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?

20 Sep, 2018
confluenceUser
confluenceUser

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?

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print