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'm creating a launch page using Resource Layout and I have a problem trying to populate a listbox.
I want the listbox to be populated with either data from Source A or Source B, depending upon an earlier selection made on the form.
I'm selecting a Dynamic Control Value but I can't use the Data Source option as that expects me to select a specific data source - I want the data source to be dynamic.
I'm guessing I need to use the Procedure option but I'm really not sure what I need to do ?
Help much appreciated, Rob.This message has been edited. Last edited by: Kerry,
Posts: 7 | Location: London, England | Registered: February 16, 2005
Make the earlier selection control a pull-down (SELECT) list, and chain the second SELECT to it.
Assuming just the filename depends on choice of parent, have the fex that populates the 2nd option list base its source file (rather than screening condition) on the choice of parent option, like so:
-* determine source file, based on parent selected: -DEFAULT &PARENT=one -SET &SOURCE = DECODE &PARENT (one fileone, ELSE filetwo); TABLE FILE &SOURCE SUM opt2name BY opt2code ON TABLE PCHOLD FORMAT XML END If more than the filename would depend on parent, you'd use -GOTO to handle the two (or however many) cases, but you get the idea.This message has been edited. Last edited by: <Mabel>,
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Two ways to create your list boxes, 1st one is pure WebFocus, 2nd uses dynamic javascript. My personal choice is the 2nd as it only needs to go to the server once and so although the initial population takes longer it looks much smoother.
Sorry I can not paste the code because the system objects to the tags so I've emailed it to you.