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 Just wanted to know how to pass the dropdown parameter value to the fex file.
Please find the below code i am trying.
-HTMLFORM BEGIN
< !-- BELOW IS THE DYNAMIC DROPDOWN BOX -->
<TD width="236">
<p align="left">
<SELECT NAME="CTRY" size=1>
<OPTION VALUE="FOC_NONE">ALL</OPTION>
<OPTION VALUE="ENGLAND">ENGLAND</option>
<option value="MANUAL">NotUniversal</option>
</SELECT>
>
</TD>
-HTMLFORM END
TABLE FILE CAR PRINT COUNTRY CAR MODEL BODYTYPE SEATS DEALER_COST RETAIL_COST SALES LENGTH WIDTH HEIGHT WEIGHT WHEELBASE FUEL_CAP BHP RPM MPG ACCEL WHERE COUNTRY EQ '&CTRY' END
As i am not able to that, please can anyone help me out.
ThanksThis message has been edited. Last edited by: <Kathryn Henning>,
7.1.7 windows/XP HTML, EXCEL, PDF
Posts: 12 | Location: USA | Registered: January 29, 2009
I Just wanted to know how to pass the dropdown parameter value to the fex file.
Please find the below code i am trying.
-HTMLFORM BEGIN
< !-- BELOW IS THE DYNAMIC DROPDOWN BOX -->
<TD width="236">
<p align="left">
<SELECT NAME="CTRY" size=1>
<OPTION VALUE="FOC_NONE">ALL</OPTION>
<OPTION VALUE="ENGLAND">ENGLAND</option>
<option value="MANUAL">NotUniversal</option>
</SELECT>
>
</TD>
-HTMLFORM END
TABLE FILE CAR PRINT COUNTRY CAR MODEL BODYTYPE SEATS DEALER_COST RETAIL_COST SALES LENGTH WIDTH HEIGHT WEIGHT WHEELBASE FUEL_CAP BHP RPM MPG ACCEL WHERE COUNTRY EQ '&CTRY' END
As i am not able to that, please can anyone help me out.
Thanks
7.1.7 windows/XP HTML, EXCEL, PDF
Posts: 12 | Location: USA | Registered: January 29, 2009
1. Using HTMLFORM command create form with listbox control in one.fex 2. Form action should call two.fex and method can be GET or POST 3. Keep your list box and create a submit button within the form in one.fex 4. In two.fex, you can refer to the listbox name to get the selected value.
-*test.fex
-DEFAULT &ACTION='PARAM'
-DEFAULT &CTRY='FOC_NONE'
-GOTO &ACTION
-PARAM
-HTMLFORM BEGIN
<HTML><BODY>
<form name=form1 action=/ibi_apps/WFServlet method="get()">
<!-- BELOW IS THE DYNAMIC DROPDOWN BOX -->
<SELECT NAME="CTRY" size=1>
<OPTION VALUE="FOC_NONE">ALL</OPTION>
<OPTION VALUE="ENGLAND">England</option>
<option value="ITALY">Italy</option>
</SELECT>
<input type=hidden name=IBIF_ex value=test>
<input type=hidden name=IBIAPP_app value=baseapp>
<input type=submit name=b1 value=Run>
<input type=hidden name=ACTION value=RUNQUERY>
</form></body></html>
-HTMLFORM END
-EXIT
-RUNQUERY
TABLE FILE CAR
PRINT
COUNTRY CAR MODEL BODYTYPE SEATS DEALER_COST RETAIL_COST SALES LENGTH WIDTH HEIGHT WEIGHT WHEELBASE FUEL_CAP BHP RPM MPG ACCEL
WHERE COUNTRY EQ '&CTRY'
END
This single fex is 2 parts :
run it : it prompts for choice for country Click on the RUN button, it will sumit the same fex but goes to the report part rather than the prompt part as the parameter ACTION is set to RUNQUERY in the HTMLFORM section
hopes it helps
8207, Windows 2016 64b, HTML, AHTML, PDF, EXL07...
Posts: 27 | Location: Suresnes | Registered: August 26, 2010