I have created a portal with which I have specific filters that should be applied to the entire portal, but I will also have filters that are page/tab specific. Is there a way to have one html page with all the filters, and only the appropriate filters are active based on the page the user is on? I am running into issues having a portal filter and a separate page filter when the portal refreshes.
Version 8.105This message has been edited. Last edited by: MeM,
WebFOCUS 8.2.02 Windows, All Outputs
August 01, 2017, 03:23 PM
MartinY
I also ran into this need a few months ago and this is not something yet available (8105).
What I did is to create an HTML page with multiple tabs and then manage (with js/jquery) the displayed selection (displayed outside the tab control) based on selected tab. Such a pain...
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
August 01, 2017, 04:01 PM
MeM
Thank you Martin. Do you have any basic example of the js/jquery?
WebFOCUS 8.2.02 Windows, All Outputs
August 02, 2017, 08:32 AM
MartinY
Basic sample...not really. I did a lot of search on js and jquery with trial and error before I've been able to find a combination that is working with WF8 and the way IBI generates the HTML. The greatest challenge was with the tab control where each tab don't have a unique id that can be easily referred as in WF7.
So basically I would say that
- step 1 is to hide the specific control to a tab in the onInitialUpdate() function using :
- step 2 define a function for tabOnclick() where you will need to test the tab's name. I also had to defined internal variables to determine if my specific control are displayed and if I have the specific tab selected :