Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] JS Command populateDynamicCtrl
Page 1 2 

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] JS Command populateDynamicCtrl
 Login/Join
 
Guru
posted Hide Post
If they are chained, the values of all 5 boxes would be passed to the report. Maybe there is a problem in the where clause of the report.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Member
posted Hide Post
My goal is to make the system auto-refresh the fifth box anytime one of the first 4 are changed. There are other parameters that have to be picked as well as these. Then the report is run. This is where I wish I could post a PDF of the screen. The picture would help make what I'm trying to do clearer.

I have confirmed the values are correct when I first enter the screen. And I created a report to reflect back to the screen the values from all 5 boxes so I'm confident that part is working.
 
Posts: 17 | Registered: December 20, 2010Report This Post
Guru
posted Hide Post
Do you still have my email address? I could take a look, then try to help.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Member
posted Hide Post
Just sent a copy of this to you.

Thanks!
 
Posts: 17 | Registered: December 20, 2010Report This Post
Guru
posted Hide Post
The documented JS calls Brian refers to are part of an API we have published for release 7702 and higher.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report This Post
Member
posted Hide Post
David,

Where can I find a copy of the documentation for this API? I've searched on several of the individual commands and have come up empty.

Thanks,

Bob
 
Posts: 17 | Registered: December 20, 2010Report This Post
Guru
posted Hide Post
The fullname of the manual is "Designing a User Interface for a Web Application with the HTML Composer version 7 release 7.0.2". The chapter for the API is Chapter 2 page 295.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report This Post
Guru
posted Hide Post
Here's a thought from a guy who tries to stay out of the code where possible...
In addition to chaining lists 1 thru 5 like you are currently doing add another chain from list #1 to list #5 and add a conditional chain event to list #5. This way list #5 gets its orders from either list #4 (as in the 'normal' chain process) or from list #1. If this works you could, in theory, chain lists 1,2,3 and 4 to 5.


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
 
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007Report This Post
Expert
posted Hide Post
I really want to repopulate a simple listbox once something else happens on the screen. In v7.6, I used populateDynamicCtrl (how I found out about that forbidden function, I cannot remember), in 7.7 it no longer exists. So, they've exposed an API, but there are only 10 JavaScript functions - none of which suit my simple needs. I tried IbComposer_execute('reportID'); and it doesn't do anything - neither in MRE nor on the server (by the way, there is no mention that this would or would not work in MRE). If they want to call it an API, then provide a good number of calls - 10 isn't enough.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
You should open a new feature request for functions you feel should be added. Also, there is an API function for populate dynamic control.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report This Post
Expert
posted Hide Post
Asking for a new feature won't solve my immediate problem. I need to know how to repopulate a control that was loaded onLoad.

(1896 views of this thread should auto-prompt a new feature request.)


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
To "repopulate a simple listbox once something else happens on the screen":

Create an arbitrary hidden control,
chain it as parent to the listbox,
and have your javascript change-event handler use the API call to trigger a cascade, repopulating the hidden control's progeny -- your listbox.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Expert
posted Hide Post
j.gross - hmmm, I'll consider this. Thanks for the suggestion.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
The documentation shows that we have 2 events: onbeforeload and onafterload that may be used. We also have IbComposer_populateDynamicCtrl('controlID', 'fromControlId'); to populate a dynamic control. This was added to the product after the intial shipment of 7703 and the latest cut of the documentation has it.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report This Post
Expert
posted Hide Post
This still doesn't do me any good - not all clients jump and install a new version of WF immediately it's available.

One client that has no hotfixes applied to v7.7.03 has certain problems with DevStudio HTML Composer, another client that has applied hotfix applied to v7.7.03 has a different set of problems.

Which hotfix to rely on is a dilemma. Do we assume hotfix 7 fixes all the problems the previous hotfixes caused or didn't resolve? Can we apply a hotfix to DevStudio and not have the same numbered hotfix applied to the reporting server - I think not.

I feel the documentation on the "API" is minimal and in some cases misleading.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata Page 1 2  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] JS Command populateDynamicCtrl

Copyright © 1996-2020 Information Builders