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] Return selected tab from a tab control as a parameter

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Return selected tab from a tab control as a parameter
 Login/Join
 
Virtuoso
posted
Hi,

In a simple way, I have a HTML page that only contain a TabControl with multiple tab.

Each tab refer to a subject that is the BY of the reports/graphics included in the tab.

Each reports are in auto execute mode.

Because most of the reports are the same for each tab except for the BY field, I would like to have only one fex per report and have the BY as a parameter.

My problem is the following : I can catch which tab has been selected using the "_onclick()" event and assign a value to a control but I cannot pass that control value as a parameter to the fex. The fex doesn't know the parameter. It missing the value for it.

Any ideas ?

Thanks,

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


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
Virtuoso
posted Hide Post
quote:
I cannot pass that control value as a parameter to the fex


Why not? If you're using HTML Composer as I think you are, binding the HTML control to a parameter would just pass it to the WFServlet call therefore making it available as an amper variable to the underlying .fex.

Can you make something up using the CAR table along with a simple page lunch page with a couple of tabs illustrating exactly what you're doing?

I've had my share of frustrating experiences with HTML Composer in the past, especially adding new parameters to a .fex AFTER the launch page has been built, but apparently by right-clicking the form Composer and choosing "Refresh parameters" or something like that (sorry, I have no access to Dev Studio right now) will create the required bindings you need.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Virtuoso
posted Hide Post
Hi nj,

Even if you've haven't make that much Wink, you sent me on a path that resolved my issue.

I've refreshed my html page but with a fex that only have the parameter in it:
-DEFAULT &BY_FIELD = 'X';
and then it has been bind and available.

Thanks,


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
Virtuoso
posted Hide Post
Je vous en prie!

I'm glad you managed to make some sense out of the rather vague information I provided and came up with something that helped you move on. Smiler



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report 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] Return selected tab from a tab control as a parameter

Copyright © 1996-2020 Information Builders