Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Create hierarchical combo boxes.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Create hierarchical combo boxes.
 Login/Join
 
Gold member
posted
Hi,

Is there any way to create a parameter screen in FEX with hierarchicaly linked combo boxes?

More clearly,

I need to create a parameter screen FEX which contains SiteName and BuildingNames as two parameters. Once user selects any particular site, only those buildings coming under the selected site should be populated, in BuildingName combo box.

I know this can be done in MAS file using Dimension builder and make an OLAP enabled report using that MAS file. I am looking for an option using FEX coding.

Any help would be appreciable.

Thanks and regards,
Johney.

This message has been edited. Last edited by: Kerry,


Version 7.6.11
Webfocus installed in AIX 5.3,
desktop PC: Windows-XP based
Output: Excel, HTML, PDF
 
Posts: 83 | Registered: October 19, 2007Report This Post
Expert
posted Hide Post
This technique is called chaining and is done in the HTML Layout Painter.

There are lots of posts on this topic on the Forum. Start your search with the word 'chain' and go from there.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Member
posted Hide Post
I think this could be your solution, beneath you find a javascript solution:

This script is based on two fields:
1. a listbox with the first character of the existing suppliers
2. a listbox filled with all suppliers starting with the selected character.

function LETTER_onchange(fexName, objFocus, strParam) {
  var strServer = 'http://ensfocus';
  var strCall   = '/ibi_apps/WFServlet?IBIF_ex=';
  var strTotal  = '';


  // Create a call, including fex and parameter &LETTER, call will create HOLD: !IBI.FIL.SUPPLET
  strTotal  = strServer  + strCall + fexName;
  strTotal += '&LETTER=' + strParam ;


  //--- Pointer naar IFRAME + 'CGI/Servlet-string' als url
  idIframe1     = document.getElementById('iframe1');
  idIframe1.src = strTotal;

  //--- Set focus on listbox
  idstrFocus   = document.getElementById('lbSuppliers');
  idstrFocus.focus();
}

AND


        <select language=java_script id=LETTER onChange='LETTER_onchange["INK00001_SupplierOnName.fex" , "ListboxSuppliers" , this.value);' name=LETTER operation>
       !IBI.FIL.SUPPLET;

This message has been edited. Last edited by: Kerry,


Member of Benelux
Usergroup
 
Posts: 20 | Registered: November 02, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Create hierarchical combo boxes.

Copyright © 1996-2020 Information Builders