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 don't know if WebFOCUS styling is supposed to cascade, but it doesn't work very well.
For example, why on earth do the two style commands below not work together?
COL1 is wide and the brwser wraps the cell contents, I want to turn wrap off, so I add TYPE=REPORT, COLUMN=COL1, WRAP=OFF, $.
I also want to colour the COL1 data based on a condition, so I add TYPE=DATA, COLUMN=COL1, COLOR=RGB(0 97 113), WHEN= BODYTYPE EQ 'SEDAN', $ When I add this, the WRAP no longer works. I know I can add WRAP=OFF in the TYPE=DATA command, but why do I need to?
TABLE FILE CAR
PRINT
COMPUTE COL1/A200 = MODEL | ' '| MODEL;
*
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON,
FONT='ARIAL', SIZE=9, BORDER=1, BORDER-COLOR=SILVER, $
TYPE=REPORT, COLUMN=COL1, WRAP=OFF, $
TYPE=DATA, COLUMN=COL1, COLOR=RGB(0 97 113), WHEN= BODYTYPE EQ 'SEDAN', $
ENDSTYLE
END
Thanks,
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
It uses 'CSS' to add the style, but isn't cascading itself.
Must say I have better experience with using WF ( with or without .sty file ) to just add CLASS-names (multiple if needed ) to different parts of the report and use a 'real' .css to take care of the styling.
Does TITLE Trump REPORT (I think so)? If so, try adding "TYPE=TITLE, STYLE=NORMAL, $" after you "TYPE=REPORT, COLUMN=COL1, COLOR=RGB(0 97 113), WHEN= BODYTYPE EQ 'SEDAN', $" line.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005