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     [SOLVED] Multiple Reports in Single Frame

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Multiple Reports in Single Frame
 Login/Join
 
Member
posted
I have an html form with two radio buttons, two iframes, and a button control.
The radio buttons allow users to select either summary or detail reports.
When the user selects the summary reports radio button the two summary reports should display, in their respective assigned frames, when the button is clicked. If they select the detail reports radio button the two detail reports should display, in the same two frames, after clicking the button.
How do I do this in App Studio's HTML Composer?

This message has been edited. Last edited by: Michael Watts,


8.0.03/Windows7
 
Posts: 13 | Registered: July 02, 2014Report This Post
Gold member
posted Hide Post
Create FEX which controls what you execute.

IF radiobutton tells that its "DETAILS" then include detailed fex otherwise summary fex. Also there is SET command to say in which frame to execute the report.

Regards,


Release: WebFOCUS 8104, AppStudio: 8105
OS: Windows
Output: HTML,Excel,Active Reports
 
Posts: 89 | Registered: November 19, 2013Report This Post
Guru
posted Hide Post
Within the App Studio HTML Composer add a new task and add the report (and target frames) to the task.

Then add javascript to the button that does something like this:

//Begin function form1Submit_onclick
function form1Submit_onclick(event) {
// Get value of the checkbox
var showReports = IbComposer_getCurrentSelection('checkbox1');
// Execute the task to populate the summary reports
if (showReports == 'TRUE') {
  IbComposer_triggerExecution("task3",1);
  }
// Execute the regular task
IbComposer_triggerExecution("task2",1);
}
//End function form1Submit_onclick
  


The new App Studio "Task & Animations" panel allows a lot more control than Dev Studio did. However I'm still working out how to make use of them - also the IbComposer_triggerExecution function is undocumented as of release 8.0.07.

Cheers

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
Member
posted Hide Post
[SOLVED]
Thank you everyone for your feedback. I went with the FEX solution, although I liked the javascript one as well.


8.0.03/Windows7
 
Posts: 13 | Registered: July 02, 2014Report This Post
Virtuoso
posted Hide Post
Michael, edit the first post of this thread and put the [SOLVED] tag at the beginning of the subject.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Multiple Reports in Single Frame

Copyright © 1996-2020 Information Builders