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 am currently using a listbox populated from a masterfile. Im wondering if there is anyway to add a blank line in the listbox? To me it just looks like i should be able to add
What is the purpose of the blank line in the list box? Just a place holder? Can it be selected as a value?
As a general rule, if you can't get what you need using the options provided then you need to manually created the contents of the list box using a procedure and instruct WF to use a procedure instead of a field. If it's inside an HTMLform, you can also execute the procedure and hold, and then manually contruct your list box with something like
where HOLDLIST is the name of the hold file you created. It will contain the HTML code for the ramainder of your list items.
You would want to make sure that you have some Javascript to make sure that the blank line cannot be selected as a value.
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 did use the GUI but the "ALL" is not what im looking for. Basically I wanted to add a blank row so if the row was blank I could pass the blank into the report to do some other tasks.
So is that blank line an acceptable value (comtained in the field values) for that field? Sound like you might just be doing some error checking within your executed fex to see if there is a blank and continue with some other processing. You could do the same with the ALL value. Just add a line like
-SET &NEWVALUE=IF &VALUE EQ 'FOC_NONE' THEN ' ' ELSE &VALUE;
and use &newvalue in your procedure. At least that lets you stay in the GUI for report and launch page development.
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
And in stead of using the master file to generate the listbox, you could use a fex to do the same. Difference is that in your fex you can practically do whatever you want/need to do to populate the listbox. It is the way I prefer to do these kind of things.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007