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     [CASE-OPENED] How do I flip a window?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] How do I flip a window?
 Login/Join
 
Platinum Member
posted
I'm working with window I want to flip. There is a next button on the window which will flip the window for me, however, I'd like to be able to click anywhere within the window/iframe and have it flip.

A little background info. There are two pages and two reports. Page one holds a report with hyperlinks that will drill down to the report in page two. When I click the hyperlink, I have to press the 'Next' button on the window for it to flip to the child report which has the correct info.

I've tried working in the GUI Tasks & Animations with no success. I've also tried working in the Embedded JavaScript/CSS, also with no success. I suspect I'm missing something simple since I'm new to WF and have minimal JavaScript experience at best. Here is the JS I'm working with:

if(typeof(bRuntime) != 'undefined') {
// TODO: Add your inline runtime code here
}

//Begin function window_onload
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
//Begin function jquery.flip.min.js
$("#windowPanel6").flip({
axis: 'y',
trigger: 'manual'
}) ;


Any advice or direction would be appreciated.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 116 | Location: Birmingham, Al | Registered: July 23, 2015Report This Post
Platinum Member
posted Hide Post
I've done some research and had some help from a mentor. I'm slowly learning all that AS has to offer. I've got some more research to do. I've altered the code and here is what I'm looking at:

if(typeof(bRuntime) != 'undefined') {
// TODO: Add your inline runtime code here
}

//Begin function window_onload
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



//Begin function windowPanel6_onclick
function windowPanel6_onclick(event) {
var eventObject = event ? event : window.event;
var ctrl = eventObject.target ? eventObject.target : eventObject.srcElement;
// TODO: Add your event handler code here
function windowPanel6(){
$("#windowPanel6").flip({
axis: 'y'
});
}

}
//End function windowPanel6_onclick

I'll keep you posted


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 116 | Location: Birmingham, Al | Registered: July 23, 2015Report This Post
Guru
posted Hide Post
Hello Pondog,

I am following up with you regarding your "Flip Window".

I must admit I am not really sure what you mean by "Flip". However, my take on this is that possibly no javascript is required. Since you mention drilldown and hyperlinks I am assuming this is a drilldown report related question.

Do you have a report that drills to a second report (parent report calling a child report)? Then the parent report can be added to the HTML using the HTML composer ( possibly with parameters passed (?)). When the HTML page is run and you click on the link in the parent report this will display the child report (in the same window or a new window).

Please let me know if I am correctly or incorrectly interpreting what you are trying to do.

Thank you for participating in the Focal Point Forum.

Kindest regards,
Tamra Colangelo
Focal Point Moderator
Information Builders Inc.


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report This Post
Expert
posted Hide Post
Hi Tamra,

"flip" is a jQuery function that pivots the object around an axis - have a look at this github example .

As a consequence, it is not really a WebFOCUS question and is more to do with how to create the effect using the outputs of WebFOCUS.


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
Thanks Tony A for clearing up the confusion. I've put in a New Feature Request so hopefully we can add some Wow factor to our info.

T


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 116 | Location: Birmingham, Al | Registered: July 23, 2015Report This Post
Expert
posted Hide Post
You would think that App Studio would have this functionality. After all, someone recently asked "What can't the canvas do?". Here's one of several things...


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
Before you do anything else, read the screen.

quote:
Originally posted by Pondog:
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports


Put you code in a function called onInitialUpdate. That way it will be called after the objects are properly loaded.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report 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     [CASE-OPENED] How do I flip a window?

Copyright © 1996-2020 Information Builders