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.
I have text box that is dynamically loaded from a stored procedure. The stored procedure was created as a master file, so I was able to load the text box dynamically using the HTML composer GUI. The stored procedure returns a number that increments each time it is run. Next, I have a button where I've defined an onclick event that does this:
UpdateData();
This reloads the page, and that is enough to increment the counter in my text box. I end up with a button next to a text box, and every time the button is pressed, the text box increments. Now that I've built this POC, I want to integrate it into a production launch page.
My launch page has a RIA theme applied, which I understand invokes the Bindows framework. I really love the look of the Ocean Rounded theme, and have used it on all my launch pages to date. What I didn't anticipate is that I've inadvertently lost the ability to use the UpdateData() function, and I have traced it back to turning on a RIA theme. Hmm. My theory is that Bindows has replaced the javascript library files that contain UpdateData().
I grabbed the Bindows manual, and poked through it, and learned enough to know that I have a lot to learn.
In the meantime, while I continue to research, perhaps someone already has an answer for me. I'm looking for some javascript code that will reload / refresh a specific control. It will have to be RIA theme compatible, which I'm pretty sure means it needs to use a function within Bindows.
Cheers,
JoeyThis message has been edited. Last edited by: Kerry,
-WebFOCUS 8.2.01 on Windows
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005
There's no js error, it simply does not do anything when UpdateData(); is called post Bindows enablement.
I did a side by side code compare of before RIA and after. Here's the changes:
Before RIA:
function window_onload() {
UpdateData();
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload
After RIA:
//Begin function window_onload
function window_onload() {
UpdateData();
removeStyleFromMainCSS();
application.addEventListener('resourcesready', onBindowsReady);
application.start('/ibi_apps/bindows/', '/ibi_html/javaassist/ibi/html/js/Inline.xml');
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload
So, the HTML composer invokes UpdateData(); before turning on the Bindows framework.
Next, there's some changes right before the BODY tag.
Hi Moogle, Calling UpdateData() is not a recommended practice as this is not exposed in our API and as a result, future changes by our Developers may cause your work on the non-RIA page to stop working. Please open a case with CSS and we will look into providing a solution for your issue.
Best Regards,
Lisa Scipio Product Manager Information Builders, Inc.