Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Variable from Java Beanshell procedure for usage in interface

873252Apr 18 2012 — edited Apr 18 2012
A variable from my package contains value: ' text',' text2',' text3',....etc.
I need to use this variable in my interface as: 'text','text2','text3',...etc.

So I wrote a Java beanshell procedure with following code and with this input variable as an option: forecastOrgCode

String forOrgCode = "<%=odiRef.getOption("forecastOrgCode")%>";
String orgCodeTrimmed = forOrgCode.replaceAll (" ","");

Any other code between <@ or <? or <% gets me messed up because of the ' characters present in the variable, so I just chose the beanshell technology and this does the trick...
However...how can I reach this orgCodeTrimmed variable from my interface?
This post has been answered by 774570 on Apr 18 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2012
Added on Apr 18 2012
5 comments
1,051 views