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,
NorbThis message has been edited. Last edited by: Kerry,
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.
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