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.
.
.
ON TABLE HOLD FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
this creates one html file with BOTH the report data and the css code.
Instead, I would like WebFOCUS to create 2 files. One containing the report data and the other that contains just the css code. Is this possible? I've considered post processing the output html file created and separating the text myself, but I was hoping that there was an easier way.
Anyone have any ideas? Thanks.This message has been edited. Last edited by: Kerry,
WF 7.7.3 Windows 2003 Server PDF HTML EXL2k
Posts: 27 | Location: NYC | Registered: February 27, 2004
You cannot get WebFOCUS to create separate HTML and CSS files.
An alternative (and I feel better) method is to NOT use the HTMLCSS ssetting. Instead, use CSS classes - an HTML file is created and the CSS is your own stylesheet.
SET PAGE=NOLEAD
TABLE FILE CAR
SUM
SALES
BY COUNTRY
HEADING
"SALES REPORT"
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON, $
TYPE=HEADING, CLASS=Head1, $
TYPE=TITLE, CLASS=ColumnTitle, $
ENDSTYLE
ON TABLE HOLD AS H001 FORMAT HTMTABLE
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<title>sales report</title>
<style type="text/css">
body { font-family: "Trebuchet MS", sans-serif; }
td { font-size: 12px; }
.Head1 { font-size: 14px; font-weight: bold; }
.ColumnTitle { color: blue; }
</style>
!IBI.FIL.H001;
-HTMLFORM END
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
Francis - I am not the html/css expert here so I am only repeating what I thing the web developer told me. He said;
the internal css wont get processed as a style sheet only gets processed and applied when an ENTIRE page loads. (I am giving him html files in HTMTABLE format that he is incorporating into other pages). He said he needs it separated so he can force it to be applied by connecting it at run time to the document model or having it preloaded.
Hope that makes sense.
WF 7.7.3 Windows 2003 Server PDF HTML EXL2k
Posts: 27 | Location: NYC | Registered: February 27, 2004
Unless the report is a huge HTML file, I don't think there will be a difference between the embedded CSS and the external file, but then, he's the expert.
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