Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] to have both select and All in the drop down or in list box

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] to have both select and All in the drop down or in list box
 Login/Join
 
Member
posted
Drop down and list box components are created in WF7.6.9 using HTML composer. The values are loaded to the components though query in the fex files. so the static value "select" is not getting displayed when the dynamic datas get loaded. Please suggest any option to achieve. We need both static value "Select" and the dynamic values from the fex.

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 11 | Registered: September 23, 2010Report This Post
Master
posted Hide Post
Here is what I have done. May not be the best/most efficient, but it is effective. Bonus points in that mine also loads an otherwise dynamic drop-down menu.

SET ASNAMES = ON

-* Seed hold file with only one infection report.
DEFINE FILE CAR
INDICATORNAME/A50V = 'Infection Report';
END

TABLE FILE CAR
SUM
	MAX.INDICATORNAME
	MAX.COUNTRY NOPRINT

ON TABLE HOLD AS BT_IND_MANUAL

END




-* Get the other metric names available in the environment.  Exclude any starting with 'Infection:'
TABLE FILE VW_INDICATORMETRICVALUES
PRINT
	DST.INDICATORNAME
	BY INDICATORNAME NOPRINT

-* Get rid of infection reports that exist in the view, we only want one.
WHERE NOT VW_INDICATORMETRICVALUES.INDICATORNAME CONTAINS 'Infections:';

-* Entity
WHERE VW_INDICATORMETRICVALUES.OrgEntityNo EQ '&OrgEntityNo';

-* Remove Empty Indicators
WHERE VW_INDICATORMETRICVALUES.OrgUnitShortName NE 'N/A' OR VW_INDICATORMETRICVALUES.ReportingLineName NE 'No Service Line';

WHERE VW_INDICATORMETRICVALUES.VALUE IS-NOT MISSING;

ON TABLE PCHOLD FORMAT XML

MORE

FILE BT_IND_MANUAL

END


- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Member
posted Hide Post
I need value "Select" in the drop down.
+ the dynamic values from the fex file.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 11 | Registered: September 23, 2010Report This Post
<FreSte>
posted
 
Report This Post
Expert
posted Hide Post
Amazingly, I was recently asked to have "Select...", "All" and the dynamic values as options for a select list. I used the ALL feature as FreSte suggests, then used JavaScript to prepend the Select - not pretty.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
Hi Francis, FreSte,

I was just looking for the same requirement where I have to have a 'ALL' option and the dynamic values that comes from query to be loaded to the dropdown.

Somehow the link provided by FreSte is unavailable. Page cannot be displayed is what I get.

Kindly suggest a solution.

Thanks,
Ramya
Webfocus 8105, HTML, Javascript
 
Posts: 73 | Registered: January 02, 2012Report This Post
Expert
posted Hide Post
It should be an option in the "Canvas editor" in App Studio. In Dev Studio, when a drop-down list is selected, in the Properties and settings window, there's an option called 'Add "All" option'.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
quote:
In Dev Studio

Thanks Francis.

I missed to scroll down the properties and settings window where I found the 'ALL' option.

Thanks,
Ramya

Webfocus 8105, HTML, Javascript
 
Posts: 73 | Registered: January 02, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] to have both select and All in the drop down or in list box

Copyright © 1996-2020 Information Builders