Focal Point
[CLOSED] Load fex output into launch page

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4341043513

January 26, 2009, 11:41 AM
Norb Eckert
[CLOSED] Load fex output into launch page
Hi All,

I have an HTML launch page with javascript, dropdowns, calendar fields, buttons etc. that I would like to use to execute a fex and then load the fex output right back into the launch page for display and then run again with different parameters?

Right now I'm using a launch page, launching a fex and then recoding everything in the -HTMLFORM section of the fex. This is messy and duplicates effort. Can I avoid using the -HTMLFORM in a fex and just put the output back into the HTML page I made?

Thanks,

Norb

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


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
January 26, 2009, 12:58 PM
Darin Lee
haven't tried this, but if you've got a hold file then it can be referenced in an HTML page by !IBI.FIL.filename

You might be able to HOLD FORMAT HTMTABLE and then reference that hold file again


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
January 26, 2009, 01:38 PM
Francis Mariani
If you point your HTML FORM TARGET to an IFRAME in the same HTML file, the launch page parameter screen will stay where it is and the output will be displayed in the IFRAME on the same page.


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
February 18, 2009, 06:39 PM
Norb Eckert
Thank you for your suggestions gentlemen. I tried the iframe and it just didn't look all that great with the scroll bars and such but even worse; I couldn't get my styling to show up in the iframe. I abandoned the idea and will consider something else.

Thanks again.

Norb


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
February 19, 2009, 03:15 PM
Waz
From what you have said, it sounds like you want what is in the Century Corp Demo.

http://webserver/approot/ibinccen/default.htm


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

February 19, 2009, 03:35 PM
dhagen
I'm not a 100% on what you are trying to do here, but you could try:
- add a html div tag where you want the fex output to go (give it an id) on you source html page.
- change the fex to have an "ON TABLE PCHOLD FORMAT HTMTABLE".
- call the fex via AJAX.
- make the div innerHTML property = the ajax responseText property.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott