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     fex (generationg) html (calling to) fex

Read-Only Read-Only Topic
Go
Search
Notify
Tools
fex (generationg) html (calling to) fex
 Login/Join
 
Silver Member
posted
Hi All,
i need to generate a html that holds the values in a dropdown menu.
the selected values from the html should go as an input to another fex file.

I have no idea of how to do it. Is it anyway possible?


Webfocus 8002M, 8009
OS: Windows7
 
Posts: 33 | Registered: July 31, 2008Report This Post
Virtuoso
posted Hide Post
Suresh,

Here is a very short example:
  
-* File ibifil.fex
-* This creates a file of HTML options for a list box. The file is an ASCII file and its name is SOPT
DEFINE FILE CAR
NSEAT/I1=SEATS;
ASEAT/A1=EDIT(NSEAT);
RBSEATS/A30 ='<option value="' | ASEAT | '">' | ASEAT | '</option>';
END
SET HOLDLIST=PRINTONLY
TABLE FILE CAR
BY
RBSEATS
ON TABLE SAVE AS SOPT
END
-RUN
-* This creates the HTML which will include the SOPT file and execute the fex IBIEX
-HTMLFORM BEGIN
<form method="POST" action="/ibi_apps/WFServlet" >
<input type='hidden' name='IBIF_ex' value="ibiex.fex">
<Select name='SEATS' size=1>
!IBI.FIL.SOPT;
</SELECT>
<INPUT TYPE='submit' NAME='Submit' VALUE='Submit'>
-HTMLFORM END


The IBIEX.fex:
-* File ibiex.fex
TABLE FILE CAR
SUM SALES BY COUNTRY
IF SEATS EQ &SEATS
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Guru
posted Hide Post
If you use html painter in dev studio, it's easy enough.
Assign an amper variable to hold the input data to your main fex. Then on html layout painter add the control to display your report. It will prompt you for the control to use for your &var. Pick the drop-down control. Then on the parameters tab on the right, choose how you want to populate the drop-down box - either by master or by fex. If you need to create a fex to produce the data to put on the drop-down, then create the fex like Danny's first Table request above and put that fex name on that drop-down parameter.
Good luck.


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report 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     fex (generationg) html (calling to) fex

Copyright © 1996-2020 Information Builders