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     html with fex to html with fex...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
html with fex to html with fex...
 Login/Join
 
<Shane>
posted
I was wondering if this was possible with WebFOCUS...

I have an html page with a fex imbedded in an iframe. I have an icon above the iframe that I'd like the user to be able to click on and have a new window open up with a new html page (and form) and a new iframe that will display another fex within. I was wondering how I go about passing parameters from the first icon link into the 2nd html page and have those parameters limit the results in my 2nd report.

Is this possible?

Shane
 
Report This Post
Guru
posted Hide Post
Shane,

The problem here is a html page calling another html. HTML can not process parameters, so your second html page has no way of passing parmeters to the fex in the iframe.

You can do of the following:

1) Have you html page call a fex directly in a new window.
2) Have you html page call a jsp or asp which would then pass the parameters to the fex in the iframe.

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report This Post
<Shane>
posted
All:

We were able to get this accomplished in a round-about way. We had the image on the first page be a hyperlink to a fex that generates the desired report and then at the bottom, has the following code:
  
-IF &RECORDS EQ 0 THEN NORECS ELSE RECS;
-NORECS
-HTMLFORM PLTMGT_H_003
-GOTO THEEND;
-RUN
-RECS
-HTMLFORM PLTMGT_H_002
-THEEND


Shane
 
Report This Post
Virtuoso
posted Hide Post
Good one Shane. We use a similar technique. It looks like a duck and acts like a duck.
Don't forget there are a lot of things that you can do in a fex besides create a report--


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, 2007Report This Post
Virtuoso
posted Hide Post
The solution found is probably hte best way to do this.
But I still think I have to comment on Fernando's contribution.
It is possible to create a link to an html page that contains parameters, and it is also possible in the called html page to obtain these parameters.
The way to pass the parameter is to have the url expanded with a string like:
'?PAR1=value1&PAR2=value2' and so on.
In the second html page you can utilize javascript to obtain the value of the parameters and store them in html-variables on the page and/or form.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report 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     html with fex to html with fex...

Copyright © 1996-2020 Information Builders