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     Page Break when using HTMLFORM

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Page Break when using HTMLFORM
 Login/Join
 
Silver Member
posted
Does anyone have any examples of how they issued page break commands when holding and displaying graphs/reports using "htmlform"? I have a procedure which produces several graphs which I display using htmlform.

 
-HTMLFORM BEGIN<BR>
!IBI.FIL.GRAPH1<BR>
!IBI.FIL.GRAPH2<BR>
....<BR>
-HTMLFORM END
 

I could have up to 10 graphs to display and need to page break after every-other graph. I've tried using
and pageBreakAfter="always" but some browsers don't support this command.
 
Posts: 36 | Registered: December 21, 2005Report This Post
Virtuoso
posted Hide Post
The question sound simple, but I'm not quite sure what you are trying to accomplish. The concept of "pages" in HTML is quite nebulus. For the most part, everything is on the same "page" you just keep scrolling down. If you're trying to print, page-breaks aren't really respected without some additional trickery. If one user's resolution is higher than another's then what they see on a page (a single screen's view) is not the same. Based on your "every other graph" requirement, I would suggest a compound report and PDF format.

What is it you are trying to manage with your paging requirement?


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
To force page breaks for printing purposes in HTML files, you may use the page-break-before or page-break-after properties.

CSS page-break-before Property

Here's a fex that generates an HTML page. When you print this page, three pages are printed:

-HTMLFORM BEGIN
<style TYPE="text/css">
br
{
page-break-before: always
}
</style>

AAA
<br>
BBB
<br>
CCC
-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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
Thanks Darin and Francis. What Francis suggested was what I was looking for. Some browsers however do not support the "page-break-before" CSS command and I was just curious wheather someone used something different.
 
Posts: 36 | Registered: December 21, 2005Report This Post
Expert
posted Hide Post
I tested the code on IE6 and Firefox 3.


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Page Break when using HTMLFORM

Copyright © 1996-2020 Information Builders