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.
Say I have a drop down list of Names, and a list box of Employee ID Numbers that are Chained together.
When I select an Employee Name, the List box of employee ID Numbers changes to only have the Employee ID for the Name I pick, which is Great! The only problem is, we would like to have the ability to pick "ALL" as well, but when we check the 'Add "ALL" Option' box in the texbox's properties, the Employee ID # isn't picked by default, so the user has to go over and click again to pick the ID # because the ALL option is selected.
Is it possible to change this?This message has been edited. Last edited by: Kerry,
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
That's the way chaining works. The only time anything will happen (modify contents, select values, etc.) in the EmpID# box is when you select a value in the Names box.
The "ALL" option is not a value. Under the covers, it is using FOC_NONE which in essence means "ignore this line of code". So if it's ignored, nothing happens in the chained box. Also, if you select "ALL" in the Names box, what would you expect should be selected in the EmpID# box? "ALL" is not related in any way to a value in EmpId so it would not know what to select in any case.
The way around it is to use your own Javascript to make it do what you need instead of using the default chaining functionality.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
I'd add another way to do this. That is to use a fex to populate this. Darin sugessted a JavaScript - which is one way of doing it. But, then again, I'd rather do it in a fex. I'd go with whatever you are more with. The fex will require some logic to remove the "ALL" option if that's what you desire. I'd also use comboboxes for both.
Can you provide a sample fex from the empdata file?
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005