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     Hidden Divs in HTML Layout

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Hidden Divs in HTML Layout
 Login/Join
 
Platinum Member
posted
I have an html page that has about 10-15 fex's being executed after a parameter is posted. Several of these fex's are within a div that has the display: none style associated with it.

When executed any of the fex's that are showing execute properly. Any of the fex's that are currently hidden do not...

If I alter the display of those that didnt show properly and rerun the report they now will be displayed...

Very frustrating...anyone have any answers?


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
The way I see it, we do not hide or show fexes, we hide or show the HTML that the fexes generate.

Do your fexes generate HTML, ie. options for drop down boxes?

I usually have all the WebFOCUS code execute first, then the HTML is displayed.

Of course, I may not have understood the problem, could you please elaborate?


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
Platinum Member
posted Hide Post
Here is an example:

<div id=content style="display:none">
 <iframe id="report1" ...></iframe>
</div>


When I have the div set as display:none the report will not render. If I have it set to display:block it will... I also just figured out that if I use the visibility style set instead of display that it will render...Perhaps this is an IE issue?


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Cascading Style Sheet

display: none - the element is not displayed and does take up any space on the page.
visibility: hidden - the element is hidden but takes up space on the page.

Does your iframe have an href to a WebFOCUS request?

If it's set to display: none, how do you know something's not working, whatever is in that iframe is not diplayed?


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
Platinum Member
posted Hide Post
I have the page setup as tabs, a fex is associated with each tab. When I click on the tab I set the display:block for the div. The report in theory should then be displayed...This isnt happening...

Reading on the web it looks like this is a possible IE problem....I suppose now I am just looking to see if there is a workaround from WebFocus' side...


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
gweller,

Just by changing your display attribute to block will not render the report as it doesn't exist. If you wish to use this method then what you really need to use is the visibility attribute of CSS instead of display. Values for this are hidden or visible.

Be warned though, that because the fexes will be actioned but not displayed the render time will be dependant upon the individual reports. If you have limitations on how many agents can be run at a time on your server then, obvoiusly, some fexes will have to wait until an agent is free.

Another method, so that the initial render is fairly swift, is to assign the src attribute of the iframe when your user clicks on the relevant tab. This will execute the fex at the time of click.

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     Hidden Divs in HTML Layout

Copyright © 1996-2020 Information Builders