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] HTML Layout Painter - Tab Control Issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] HTML Layout Painter - Tab Control Issue
 Login/Join
 
Guru
posted
Hi,

I have a question about the new Tab Control available through the HTML Layout Painter (v7.6.x+). I'm not asking about BID Tabs.

I have three tabs; one shows a summary report, one shows a detail report, and the third contains an html launch page that can be used to refresh the first two tabs based on filters and a run button.

When the user presses the run button, the other two tabs are refreshed, but the parm screen is still displayed. The user has to click on either of the first two tabs to see the results of their launch page. What I'd like is to take the user to the summary tab after it's been populated.

I've tried all sorts of things, but I'm thinking some sort of javascript might be the way to go. Problem is... how do I reference these darn tabs via the DOM? Or... am I totally looking in the wrong place? Is there some built-in-to-WF way of attaining my goal?

Cheers,

Joey

WF 7.6.5

This message has been edited. Last edited by: Kerry,


-WebFOCUS 8.2.01 on Windows
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
Expert
posted Hide Post
Hi Joey,

Has this issue been resolved on your side?

The suggestion from our internal would be to open a case with Information Builders' Customer Support Services. You may either call at 1-800-736-6130, or access online at InfoResponse.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Gold member
posted Hide Post
This issue is marked "SOLVED," but I'm not seeing the solution! (Is it just me?) As I'm facing this same issue, I'd sure like to know how to proceed, if anyone can help.

Thanks,

Craig


v8.1.04, 64-bit Windows (Reporting Server), Apache Tomcat (Web/App Server), HTML, PDF, AHTML, Excel outputs
 
Posts: 57 | Location: Des Moines, IA | Registered: April 30, 2009Report This Post
Master
posted Hide Post
May be Moogle got this resolved from a case with IBI. This is what I was mentioning in the other post. During these scenarios if the solution suggested is posted here, others will not need to open case again with customer service.

Thanks


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Guru
posted Hide Post
Hi Team,

You can reference the tabs in javascript like so:

document.getElementById('tabitem1')

In this case, tabitem1 is the name of the tab itself. If you are in the HTML composer, you create a tab control and click the tab itself. Over in the properties pane, it should say tabitem1. Add a new tab and click it and it should say tabitem2.

Hope this helps.

Cheers,

Joey
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
Gold member
posted Hide Post
Moogle:

So can you describe the JavaScript code necessary to simulate a user clicking on, say, tabitem1? In other words, how, through code, can I "open" tabitem1 if tabitem2 is the tab currently showing? Do you just fire the click event for tabitem1?? (I thought I had tried that already to no avail. Maybe I just need to revisit that code!)

Thanks,

Craig


v8.1.04, 64-bit Windows (Reporting Server), Apache Tomcat (Web/App Server), HTML, PDF, AHTML, Excel outputs
 
Posts: 57 | Location: Des Moines, IA | Registered: April 30, 2009Report This Post
Gold member
posted Hide Post
I DID revisit my code; must have done something wrong previously. Anyway, here is all it takes, for example, to open up the first tab of a tab control from within the second tab on that same tab control:

document.getElementById('tabitem1').click();

I issue this in the onclick event of a submit button that's on the second tab when I catch an entry error a user has made in a control on the first tab. Takes the user right back to tab 1 without having to manually click tabitem1... Neat! (And too simple. Why did I assume there would have to be some other "magic" involved?!)

Regards,

Craig


v8.1.04, 64-bit Windows (Reporting Server), Apache Tomcat (Web/App Server), HTML, PDF, AHTML, Excel outputs
 
Posts: 57 | Location: Des Moines, IA | Registered: April 30, 2009Report 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] HTML Layout Painter - Tab Control Issue

Copyright © 1996-2020 Information Builders