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.
I attended Summit last week and worked with one of the experts to get a working example on how to freeze a column (not a row) on a very wide report. I'm now back in my own environment and have the example running, but there is an issue with the scrolling. The locked column frame does not scroll up and down with the scrolling frame. So, at first, I can scroll left to right and it looks just fine. However, if you reduce the height of your browser window so that the dataset requires you to scroll down, you will see that the frames do not scroll together. This loses the integrity of the row headers. Any suggestions on how I might be able to lock the vertical scrolling of these two frames?
FILEDEF T1 DISK D:\ibi\WebFOCUS77\webapps\webfocus\T1.HTML
FILEDEF T2 DISK D:\ibi\WebFOCUS77\webapps\webfocus\T2.HTML
SET HTMLCSS = ON
-* Below generates left frame, for 1st column to be used only
TABLE FILE CAR
SUM MODEL BODYTYPE SEATS
BY COUNTRY
ACROSS CAR
ON TABLE HOLD AS T1 FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT,GRID=OFF,$
ENDSTYLE
END
-* Below generates right frame, for all columns to be used
TABLE FILE CAR
SUM MODEL BODYTYPE SEATS SALES
BY COUNTRY NOPRINT
ACROSS CAR
ON TABLE HOLD AS T2 FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT,GRID=OFF,$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<html>
<frameset rows="*" cols="110,*" frameborder="NO" border="0" framespacing="0">
<frame src="T1.HTML" name="leftfr" scrolling="no" noresize>
<frame src="T2.HTML" name="topfr" scrolling="auto" noresize>
</frameset>
</html>
-HTMLFORM END
This message has been edited. Last edited by: <Kathryn Henning>,
In my opinion the expert shouldn't have used frames to achieve this. Another expert in a different room discouraged one of my colleagues from using frames to display a report on the same browser page (usually done in an iframe, but he was using a frame set. Frames are obsolete in HTML 5 "because using them damages usability and accessibility". We should all be moving toward an HTML 5 world. Instead of frames try divs or, here is a crude but working example using only CSS (based on this Stack Overflow forum thread):
I am a bit disappointed that not all of WebFOCUS 8 is HTML 5 compliant. The new graphing tool generates HTML 5 code is is supposed to be quite impressive. I hope the new Portal tool generates HTML 5 but I don't know. I do know that HTML Composer does not generate HTML 5 code.
The WWW geeks keep talking about moving away from tables, I probably frown upon using tables to layout a web page, though it's sometimes quite a struggle using divs and spans. Meanwhile, WebFOCUS reports are still best represented in tables. I wish some aspects of the WebFOCUS engine would be modernized, for example, it would be nice if
tags were generated for column titles because nice CSS stuff can be used. In general one can use CSS to do a lot with tables.
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