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.
Thanks for the example Francis, it explains a lot for me when I have some working code to compare to.
I've tried all sorts of changes to spelling and capitalization, but of course nothing works. I am posting my html form's code in it's entirety below, hoping someone will see an obvious error.
My assumption is that you're getting a JavaScript error, but the error notification is turned off.
If you're using Internet Explorer, check the JS error notification setting. Internet Explorer > Tools > Internet Options > Display a notification about every script error - this checkbox should be checked.
This is, of course, an assumption.
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
Francis, Thanks for your help! I changed the edit1_onchange function to run the alert that you posted, and it worked great! Whenever I change the drop down list it pops up the alert with the new value.
function edit1_onchange(ctrl) {
alert(ctrl.value);
}
I made the "display an error" change in my IE settings, but nothing comes up.
So, I guess we just need to figure out why when the function says:
function edit1_onchange(ctrl) {
OnExecute(ctrl)
}
it doesn't run the embedded report.
Thanks for your help!This message has been edited. Last edited by: Jason K.,
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
Notice that piece on the IFRAME in your HTML, I believe that means that the frame is only responding to the button2 for OnExecute. So the easiest way to handle this would be to have your OnChange event trigger the OnClick event of button2. That is how we usually handle it, as we have the same need in our shop.
I am having the same issue, I can't even get an alert to fire in the onchange event. It works fine in the onclick event so I know the syntax is correct.
When you say that you want to execute an "embedded report", what do you mean? Do you want to run a report when the contents of the dropdown list box changes? or when the user clicks another value?
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, 2006
I have a frame with a fex as a data source. The fex uses the value from the dropdown box as a parameter. When the contents of the dropdown change, the report output should be refreshed based on the new parameter value.
Apparently the onchange event is not firing and is a known issuw in 7.6.9. There is a hotfix but it causes other problems so we backed it out.
Instead I am using a workaround I found on the forum. It remaps the OnChange Event every time the OnClick event is triggered as follows:
//Begin function combobox50_onclick function combobox50_onclick(ctrl) { combobox50.onchange=combobox50_onchange } //End function combobox50_onclick
Using our WrapApp product, we would define a list box object and a trigger (a fex) attached to it which executes the report when the user clicks a value. So each time you click, you see a different output. No javascript needed!
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, 2006