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] Dynamic landing on different tab controls

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Dynamic landing on different tab controls
 Login/Join
 
<Meghan>
posted
I am creating an HTML page with 3 tabs contained within a tab control. On each of these 3 tabs there are different reports. I want different customers to land on a specific tab. Is there Javascript that I can write that will do this? I'm not familiar with Javascript at all so a little hand holding might be necessary. An example: Person A opens the HTML page and sees tab 1, Person B opens the HTML page and sees tab 2 - but they can both navigate to the other tabs when they want to.

This message has been edited. Last edited by: <Meghan>,
 
Report This Post
Expert
posted Hide Post
Meghan,

If you are not "au fait" with javascript then how would you support the code you write? It is fine grabbing JS from various locations but without knowledge of the language you are inviting problems when it needs support.

Having said that, I would be inclined to use AJAX techniques to pass the userid and return the tab id required, using the retrieved id to make the required tab have focus.

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
<Meghan>
posted
Tony,

In response to your first point - isn't that how we all learn? The work that I'm currently doing is testing what 'can' be done. If someone were to provide me code so I can get it to function as we'd like I'm sure I could learn how to support it - as I've done with learning FOCUS code and any other language that my organization requires of me.

I'm asking for help - not criticism.
 
Report This Post
Expert
posted Hide Post
Meghan,

No criticism intended, just a heads up on the future support aspects.

I am sure many people could give you some code that would satisfy your requirements but I would be concerned at providing code samples that are anything but novice level when someone states that they are not familiar with JavaScript.

Leading on from that is why I added the second paragrah on how I might attempt a solution.

There was a posting, not too long ago, that had a similar requirement to which some sample code was added. The post was this one

It revolves around populating a date value from a value held in a database somewhere, but it could easily be retrieving the userid and then matching that to held data to provide the tab required. Then all you need to to assign that value as required.

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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Dynamic landing on different tab controls

Copyright © 1996-2020 Information Builders