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.
I have multiple dropdowns for Dept and Location and I need a simple way of creating/Recreating these list to select from. Example: SubCorporation= investment; headquarters; life; P&C;Reinsurance; Corporate Insurance; Personal lines; SubSubCorporation= has 20+ subsubsubcorporation has 5000+ Departments has 8000+
Division has 50+ Region has 100+ Location has 3500+
Now what I need to do when the client selects one or multiples in a group then only the corresponding selections are displayed in the dropdown for the other Parms.
I understand that I need to use onChange to run a javascript to create the dropdowns but I forgat how to rerun/execute the FEXs to create the dropdowns using the items selected.
I am using WebFocus 7.1.1 striaght coding only using the GUI for creating Graphs. David
You can build a webpage with drop down fields and link the fields to each other so you get what you descripe. It's rather easy to build with the GUI, but need some preparation. Are all the fields in separate linked tables?
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
Rather than reinvent the wheel, why not use the inbuilt funtions that IBs javascript modules hold, and take advantage of the GUI in this instance? (unless you do not have access to the GUI?).
The HTML form painter allows you to build the form and the various combos you require, and then link them together. The JS code assigns onchange events for you, taking away the hassle.
Speaking as a long term hand coded myself, I use a standard HTML page that I built with the GUI long ago and now, that I understand how the JS functions, I have no problems in writing my HTML pages by hand.
To try and explain how the JS functions, and the attributes you need would be time consuming, so I would urge you to consider trying the GUI (at least once or twice) and study the code produced, until you have a good understanding of the attribute functions and requirements. However, I did post this a while back that might help you understand it a bit more.
Alternatively, if you are looking at using pure WebFOCUS and HTMLFORMs to build a recursive launch page then check out the FIND facility above to locate previous posts on combo boxes within fexes (I think Mickey Grackin or J.G. did a fine example quite a while back?)
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Now what I need to do when the client selects one or multiples in a group then only the corresponding selections are displayed in the dropdown for the other Parms.
I think I may have misunderstood this, but it sounds like the chaining functionality of the HTML form is all you need to do this.
You may have to create a table that lists all the Departments associated with a sub-sub-sub-corporation. Sorry, I'm picturing a fella describing that he works for sub-subcorp Green of the M&M's corp's subcorp peanut division.
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.