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.
Can somebody using 7.7.03 Dev Studio please run this code in their installation and see if it works? For some idiotic reason, I can't seem to render the report if I submit the form via script instead of using a type=submit button. The script form submission would just display a blank iframe. It wouldn't even display the "loading" image.
-* File car.fex
-DEFAULT &CNTRY='JAPAN';
TABLE FILE CAR
PRINT CAR
BY COUNTRY
WHERE COUNTRY EQ '&CNTRY';
ON TABLE PCHOLD FORMAT HTML
END
-RUN
I haven't had a chance to change my signature. We're on Webfocus 7.7.04 Server with HotFix 6 and 7.7.03 Dev Studio also with HotFix 6. And I'm using IE8 browser.This message has been edited. Last edited by: Kerry,
A lot of "things" are happening in the background when the form is submitted (like adding the action of the form + much more), see onsubmit="OnExecute(this);return false;
If you want your code/button to run, just add the target in the FORM-tag like
Originally posted by FreSte: A lot of "things" are happening in the background when the form is submitted (like adding the action of the form + much more), see onsubmit="OnExecute(this);return false;
If you want your code/button to run, just add the target in the FORM-tag like
This doesn't quite work as expected. The form submits but then the entire html page gets loaded into the iframe, including the form, instead of just rendering the report.
FreSte is correct in pointing out the the form if prepared using JavaScript before submitting by passing the form to the JavaScript OnExecute() function.
Try doing the same in your jsSUmit_onclick function:
//Begin function jsSubmit_onclick function jsSubmit_onclick(ctrl) {
var form = document.getElementById('form1'); OnExecute(form); }
Originally posted by FreSte: Not sure what you expect by saying:
quote:
... instead of just rendering the report
If you just want the HTML-table without the complete HTML stuff, change the output format in your fex into
ON TABLE PCHOLD FORMAT HTMTABLE
(Hi Dave, hope all is well )
The normal action of the Submit button is that it will Post the form which then causes the fex that the iframe is pointing to to run. This then renders the output of the fex right on that iframe.
When I tried your suggestion, it didn't just run the fex in the iframe. Instead, it rendered the entire HTML - including the form - in the iframe. So now you get two forms - the original form, and then the same form inside the iframe with another iframe created inside the iframe that rendered the output of the fex.