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.
In release 7.6.9 and higher there is an option in HTML Composer when creating a list box to sort the displayed values in ascending or descending order. Can someone who has release 7.6.9 or higher please look at the HTML generated by HTML Composer when the descending option is selected and tell me exactly what code is added where to the generated HTML to sort the list box values? The reason I ask is because I am curious to see if can add the same code to HTML Composer-generated code in release 7.6.7 to sort values in a list box. Probably won't work but figured it was worth a try to avoid having to jump through other hoops to sort list box values. Thanks in advance.
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
Thank you very much Francis for the code. I was hoping 7.6.7 might accept 7.6.9 sorting paramters. 7.6.7 is already sorting the list box values in ascending order (I know this because an SH1 segment is sorted in ascending order in the list box), so I was hoping to prod it into sorting in descending order. Once I have a chance to try it I will report back.
The problem with an external procedure is that the list box I want to sort is the third in a chain. Passing values from the first two chained controls does not work (at least not in the code generated by HTML Composer). So if I can't get the 7.6.9 sort parameters to work, I will probably need to convert my HTML code to -HTMLFORM in order to successfully use external procedures - which I would prefer not to have to do. Thanks again for the code.
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
No luck. The 7.6.9 sort parameters do not work in 7.6.7. I see that a number of new HTML tags and parameters have been added in 7.6.9, including the important "<data_info>" tag for specifiying sort parameters. 7.6.7 just ignores these new tags and parameters, despite being a close relative.
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007