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     [CLOSED] problem in loading data in Chained Listboxes

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] problem in loading data in Chained Listboxes
 Login/Join
 
Member
posted
HI All,

I have a chained listboxes. so On change of event in first list box, I have to load 2nd list box values corresponding to the value selected in 1st listbox.

Could anybody give suggestion how to achieve this functionality.

This message has been edited. Last edited by: Kerry,
 
Posts: 21 | Registered: June 08, 2008Report This Post
Guru
posted Hide Post
Do not use a javascript event to trigger the loading of the second list box. WebFOCUS HTML Layout Painter / Composer has a built-in way to chain controls.

All you need to do is build a fex that outputs both the key fields and the description fields in XML format. They need to be in a particular order, but I'll leave that to your research to figure out. Once you have the fex built, make each of the list boxes have dynamic source and point each one to your new fex. Then, select all the list boxes and click the chaining icon on the toolbar. If you've done it right, you will now have some chained list boxes.

Cheers,

Joey


-WebFOCUS 8.2.01 on Windows
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
Guru
posted Hide Post
While Moogle is right that WebFOCUS Layout painter/composer has a built in way to chain controls, there are instances were the auto-chaining doesn't work exactly as you would wish - different data sources with odd naming conventions for fields really bugs the chaining code.

If this is the case then you can force WebFOCUS to update a dynamic control (ie one feeding from a fex that outputs XML) with

var obj = document.getElementById('combobox2');
populateDynamicCtrl(obj);


Change the name "combobox2" to the Id of the control you want to update.

Cheers

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report 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     [CLOSED] problem in loading data in Chained Listboxes

Copyright © 1996-2020 Information Builders