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.
We are currently on WebFocus Version 8. We have created an HTML composer page that contains a double list box which is bound to a search control. If a user selects 1 or more items from box 1 and transfers it/them to box 2, and subsequently performs a search for other items in box 1, box 2 is completely wiped out of any selections not matching the search criteria. My question, is there any way to turn this "refreshing" of box 2 off. I would like to be able to allow the user to select items and then perform a search for any other items without impacting the items that have already been selected. Any assistance on this matter would be greatly appreciated.This message has been edited. Last edited by: <Kathryn Henning>,
You want to be able to refresh the left-hand box ["LHB"] by means of a "search" fex, without clearing the right-hand one, so the user can incrementally build the desired selections in the RHB. Problem is that the refresh of the LHB automatically clears the RHB.
I dealt with that, a couple years back. Memory is a bit hazy, but....
You'll need some hidden controls. I tried several variations. Neatest is to just maintain a hidden copy of RHB.
* Whenever LHB gets refreshed (clearing RHB), refresh RHB from the hidden copy.
* Whenever user operates on the double-box control to move items left or right, have javascript do the obvious housekeeping to keep the hidden copy in sync with the visible RHB.
* You may want to weed out 'candidate' rows in LHB that duplicate 'incumbent' rows already in RHB. If not, test to see what happens if user attempts to move rows left or right that are already present both boxes.
* you should be able to leave the dual-box control chained, whether as parent or child or both.
* test, test, test
Bonne Chance!
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Sorry Jack. You don't need any if that. The double list has a "Keep selected values" property. Just turn it on.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com
Thank you both for your input. David, I will look for this setting an enable it. I assume this setting is available in WF version prior to App Studtio. Jack, your solution sounds interesting as well. Again thanks for the input. I will follow up with what I discover.
I'm currently using App Studio and the Keep Selected items setting for the search control does not seem to work on the Double List control. Are there any other settings that need to be set?
You might want to look at the properties when you first add the control to the HTML page. I noticed that after it is added, the "Keep selected items" property no longer displays. However, it CAN be set the first time you add the control to the HTML page. I am using Developer Studio 8, but it might be the same in App Studio. Hope this helps.