Page info in HTML output

Hi,
Is it possible to show the page information (page number, repeating header and footer) in the HTML output?
I created a RTF template included page number,header and footer, which are displayed correctly in PDF formatted output.(Header and footer repeating in each page.) When generating HTML formatted output, the page number will always be 1 and header/footer are displayed just once. It seems that HTML formatted output is just one page.
Is it possible for HTML formatted output to show the same content(each page number, repeating header and footer) as PDF formatted output?
(XML publisher version is 5.5.)
Thanks in advance.
Best regards,
Zhxiang.
Message was edited by:
zhxiangxie
Message was edited by:
zhxiangxie

HTML has only one page output.
You probably have to define a number of lines for one page and figure out when this number is reached to "send" a page number to the report.

Similar Messages

  • Capture generated html output from jsf page in bean

    Hi Member,
    I have need to capture the html output coming form jsf page. means aftr rendering what html is displayed before user, we have need to get it in programm.
    like if we use:
    <h:dataTable......>
    <h:colum>heloo</h:column>
    </h:dataTable>
    then their ouput will be:
    <table>
    <tr><td>heloo</td></tr>
    </table>
    and i have need of these complete line with <table> ......</table>
    Please help me...
    Thanks
    Shailendra Kumar

    Thnx for quick reply.
    But i want to capture it in render response phase. May it will be possible??? Is render response phase is responsible for generation of HTML format?? If yes then how can we capture output coming from this phase.
    URLConnection if fine but it still hit server once. I don't want that. I want to store page html format during its view preparation for html.
    Thanks
    Shailendra Kumar

  • Error in generating HTML output using Central Output Pro Server 5.5

    I am getting the following error while generating HTML output using the Output Pro Server. A new printer was created with the Physical Device as "HTML Template Generation - [html]" and added to the Job.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](1801) The printer name is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3015]Error, unable to open printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3008]Error, unable to get info about device 'PAYMENTADVICEHTM.html' attached to port '<nil>'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](183) Cannot create a file when that file already exists.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [2]Error opening output device/file 'PAYMENTADVICEHTM.html'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](6) The handle is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3018]Error ending page on printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [210]Nothing was printed.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfserver.exe: [314]Agent exit message: [3018]Error ending page on printer.

    If I were to guess, I'd guess that your filename is invalid. How about removing all special characters (spaces, brackets, etc.) from the device name. Also, make sure your form was compiled for HTML.
    I haven't actually used the HTML driver, but these are general things you should do if you have trouble with any Central driver.
    Regards,
    Rob McDougall
    Indigo Pacific

  • Missing a single space in html output

    Hello to all,
    take a look at the following code copied from a View
    <% DATA: eins TYPE STRING VALUE 'ClassEins',
             zwei TYPE STRING VALUE 'ClassZwei'. %>
    <span id="Test1" class="<%=eins%> ClassZwei">test it</span>
    <span id="Test2" class="ClassEins <%=zwei%>">test it</span>
    it works fine if compression is set to NONE, but if compression is set to 1 (remove spaces) or 2 (remove spaces, CR, LF) the html output looks like this:
    <span id="Test1" class="ClassEinsClassZwei">test it</span>
    <span id="Test2" class="ClassEins ClassZwei">test it</span>
    Where is the single space? What’s wrong? Why is the first space removed, but the second isn’t?

    Thilo,
    At this stage we are not planning a kernel patch, unless your business case is really pressing. (In which case update OSS message so that rethink why nein is the right answer.) We have actually spend a number of hours to find where this is stripped (by accident), and see that the price to fix this, is very high for us. The truth is that this is a minor problem that only happens when you active the additional compression, where our first suggestion would be to just skip the compression for this page. (All of this been said, we will keep it on the toDo list, and see if can get the resources at same stage to dive into kernel development again.)
    (Just for interest, not even myself could remember where some of this code is executed. Your problem provided a nice trip down memory lane!)
    As for the back tics, they are string literals, and are space sensitive in ABAP. An example:
      CONCATENATE 'a ' 'b ' 'c ' INTO s. --> s = "abc".
      CONCATENATE `a ` `b ` `c ` INTO s. --> s = "a b c ".
    The nice thing about this is that it is now possible to write in ABAP strings that contain <b>both</b> HTML and JavaScript all in one:
      s = `<body onload="myFunc('JSparm');">`.
    We use " and ' for the HTML and JavaScript, and the ` to build the ABAP string. Makes the Java colleagues just jealous of our writing style:)
    brian

  • Page breaks in (html) printed apex report

    I am having a strange problem that appears to be related to APEX page template.
    I have a report that is html generated by a PL/SQL function. I need to have page breaks in the printed report at specific locations. I am adding this style to the html output of the function:
    <STYLE>
    DIV.pageBreak { page-break-before: always; }
    </STYLE>
    and I insert this at the locations I need breaks:
    < D I V CLASS="pageBreak"/>
    (without the spaces in DIV)
    (found this technique here: http://www.unagibay.com/DesktopDefault.aspx?tabindex=1&tabid=100&itemid=1821 )
    This works perfect when I run the report in IE, but FireFox is "ignoring" the page breaks. However, if I take just the output of the PL/SQL function in an html doc, FireFox works fine (breaks at the proper places). This makes me believe something related to the "page wrapper" content generated by APEX causes FireFox to not handle the breaks.
    I have tried copying and editing the Popup and Printer Friendly page templates, but I either remove too much and the page doesn't render, or the page breaks don't work.
    My questions for the APEX gurus are:
    1. Is there an "approved" way to get page breaks in the printed version of an APEX report, or is there a better way to do what I need to do.
    2. What is the minimum contents for a page template (what can I safely remove).
    Thanks,
    Bill

    Hi Owen,
    the page breaks are inserted before/after the section.  Expand the report structure window and make sure that the properties window is open below.  Once you click on the section part, you will see where you can insert the page breaks - the check boxes will appear in the properties.
    yes on the second part - just insert the page break between the data providers and then repeat the header for the data provider on the pages (also check boxes on the properties tab)
    Good luck

  • Help: No Parameters, HTML Output from Java Servlet

    I have a Java Servlet that reads parameters passed from an HTML form and displays them to another HTML page. I know the servlet is being invoked; however, I am not seeing any HTML output. Sending the output to a file reveals the parameters are coming in as NULL as well.
    I attempted a simple sample app with the same results. Here is what I am running:
    The HTML Form:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE>Collecting Three Parameters</TITLE>
    </HEAD>
    <BODY BGCOLOR="#FDF5E6">
    <H1 ALIGN="CENTER">Collecting Three Parameters</H1>
    <FORM ACTION="ThreeParams">
    First Parameter: <INPUT TYPE="TEXT" NAME="param1"><BR>
    Second Parameter: <INPUT TYPE="TEXT" NAME="param2"><BR>
    Third Parameter: <INPUT TYPE="TEXT" NAME="param3"><BR>
    <CENTER><INPUT TYPE="SUBMIT"></CENTER>
    </FORM>
    </BODY>
    </HTML>
    The Java Code:
    public class ThreeParams extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String title = "Reading Three Request Parameters";
    out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
         "Transitional//EN\">\n" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1 ALIGN=\"CENTER\">" + title + "</H1>\n" +
    "<UL>\n" +
    " <LI><B>param1</B>: "
    + request.getParameter("param1") + "\n" +
    " <LI><B>param2</B>: "
    + request.getParameter("param2") + "\n" +
    " <LI><B>param3</B>: "
    + request.getParameter("param3") + "\n" +
    "</UL>\n" +
    "</BODY></HTML>");
    What happens when I "submit" from the form is the same form reloads with the query string in the URL: "http://localhost:8080/ThreeParams/?param1=1&param2=2&param3=3"
    Any assistance with either (or both) would be thoroughly appreciated:
    a) why the parameters are not being passed correctly to the servlet
    b) why the HTML output page is not displayed
    Thanks in advance!
    - Steve

    I have found the answer to my problem listed in another thread.
    Thank you.

  • Reports 3/6i HTML Output Print problem

    Hi!
    I am using Reports 3 to generate HTML output but when I print this HTML output, it does not break at Oracle Reports Page break. It looks like the browser takes its default settings for margins. I am using IE 5.5.
    I tried the following options
    1. Using { page-break-after: always } option in 'After Page Value' of Report Escapes property (Report)
    2. Changing margin settings of browser, but was not able to change them to 0.
    I want to print the HTML report with page breaks where Oracle marks as Page Break.
    If possible, Please do write me at [email protected]
    Thanks,
    Praveen Kumar

    Praveen,
    When you generate a HTML page in Reports, you are generating a single page document that is then intepretted by the browser. You are correct that when you then print this page from the browser then it will not necessarily break at the same point as the reports page breaks.
    The only way to guarantee that you will get the same breaks is to use a different format. Most commonly people use PDF format when they want the printed page to match exactly what's on the screen. Alternatively you could include a link on the HTML rendition of the report that resubmits the report to the server but instructs the server to print the report directly.
    Hope this helps,
    Danny

  • Can SQL Developer be used for Oracle Support "HTML Output" Diag Scripts ?

    Hi All,
    Oracle Support has asked me to run a diagnostic script (OTL_Diag.sql for anyone familar with the script) that produces output in HTML format using SQL*Plus to help troubleshoot an OTL problem we are having. Unfortunately I don't have SQL*Plus installed and my company is not on board with me installing it because of the SQL*NET connection required. Instead I have access to SQL Developer 3.1.0.7. While this works fine for most situations I'm having problems generating the required .html output file that Support needs.
    I've tried runing the OTL_Diag.sql a couple of ways using SQL Developer. First, I opened the file from SQL Developer and using the Run Script functionality (F5) I executed the code that way. This method did give me an opportunity to input the necessary parms and it did create the 'start' of the HTML file on my (Windows) file system, but the script seemed to abort with a java error that indicated some sort of format error (sorry, I'm not a java person so I can't provide any more info, but I'll be glad to get the exact error message if anyone thinks that will help solve my issue).
    My second approach was to open a SQL Window where I typed in @C:\OTL_Diag.sql without quotes. This approach also gave me the opportunity to enter the necessary input parms and it seemed to end normally. It also created the 'start' of the diaganostic output file on my Windows file system, but it 'completed' before any of the 'real' diaganostic output was written to the .html file.
    The Metalink note clearly specifies that the OTL_Diag.sql script is to be run with SQL*Plus 10.2 or above so I don't think I can complain too loudly to Oracle about this...but given that I don't have access to this product (and it is useless for me to again ask to install it) I am hoping someone out there has some ideas or insight as to how I can use SQL Developer to execute this diag script in a manner that will produce the required .html output file.
    Thanks in advance to anyone taking time to read my post !!
    Jeff
    Edited by: user13111861 on Jul 10, 2012 6:43 PM
    Edited by: user13111861 on Jul 10, 2012 7:51 PM

    >
    As a result, at this point in time my only available tool to run the OTL_Diag.sql script (provided by Oracle Support) is SQL Developer
    >
    Then you will have to edit the script, break it into pieces, execute each piece manually and save the output to feed into the next piece as required based on what the script is actually doing. Don't post the script or contents as that will likely violate your support agreement.
    As I already mentioned the script may be using syntax and/or commands that are simply not supported by sql*developer. One likely area is the script may be producing intermediate output scripts that are then processed by a later portion of the script. If that is the case then my suggestion to execute the pieces manually should work but you will need to do some trial-and-error to see.
    Even if you appear to be successful you will still have an issue when you communicate the results of your 'test' to Oracle support and they determine you didn't follow their instructions to use the proper tool.
    Sounds like your management is either ignorant or incompetent so I suggest you cover yourself by documentating the instructions from Oracle support and the direct orders you were given to disregard those instructions. No need to discuss that issue further but clearly there are resources available somewhere in the org that has the proper privileges or they wouldn't be able to maintain and support the database. If they want to pay for support they should heed their advice. Nuff said.

  • Getting question marks in html output when XML sourced from a CLOB...

    I have noticed a number of other unanswered questions on the
    same subject in this forum. Can someone at Oracle shed some
    light on this problem?...
    I store XML in CLOBS which contain a lot of &eacute; &ouml;
    characters. When using XSQL to select the XML from the CLOB I
    have to apply a stylesheet to the XSQL (myFile.xsql) with
    disable-output-escaping ="yes" in order to output well formed
    XML.
    I then call the XSQL file from inside another stylesheet i.e.
    <xsl:variable name="sample" select="document(myFile.xsql)"/>
    <xsl:template match="/">
    <xsl:for-each select="$sample">
    <html>
    <body>
    <title>
    <xsl:value-of select="/page/title"/>
    </title>
    </body>
    </html>
    etc...
    I use <xsl:for-each select="$sample"> to output the XML I need,
    within the HTML. The problem is though if "&eacute;" appears in
    the /page/title node the output in HTML appears as a question
    mark.
    Its important to note as well that the stylesheet I apply to
    myFile.xsql starts with:
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output doctype-system="/myFile.dtd" indent="yes"/>
    etc..
    and myFile.dtd has <!ENTITY eacute "&#x000E9;"> in order to
    validate &eacute; in the CLOB.
    I don't have this problem when the &eacute; character is stored
    in a VARCHAR2 column and the VARCHAR2 column is in the same
    select statement as the CLOB in the XSQL file. This outputs in
    my HTML just fine. What am I missing here?
    Shaun

    I parse the XML doc into a domdocument and then loop through using xpath.valueof to pull the individual values from the nodes and then build a generic insert. It works quite well with a small number of columns. I'm not sure how it would work with a lot of columns. You can get code examples from Steve Muench's book "Developing Oracle XML Applications".

  • Is text mining operations on document binary and its HTML output is simiar?

    Does the text mining operations differ when I perform on document binary or its HTML output? Do you think the results would be the same, if i performed clustering operation on the HTML or text output of a binary document instead of its binary file.
    Please comment!

    I assume you are trying to put an anchor tag in a text item, that points to a document stored elsewhere in the Portal repository.
    Use a direct access URL (search the online help for info on these) to construct the link to the document. You can use a relative URL by leaving out the "http://server.domain:port" part of the URL - e.g. {a href="/pls/portal30/docs/FOLDER/MYROOTFOLDER/MYSUBFOLDER/MyDocument.DOC"} - I'm using {} here instead of <> because real tags get messed up in these forum messages.
    The Portal FAQ explains how to use httpd.conf to define a redirect directive.
    Regards,
    Jerry
    null

  • How to get the size of JSP html output?

    Hi,
    Is there a JSP method to get the size of JSP HTML output.
    e.g. I would like to print the size of the JSP e.g.
    Size of this page is <%=pageContext.getPageSize()%> Kb ???
    Any ideas? Thanks.
    George
    Edited by: googchro on Jan 5, 2010 4:45 PM

    Would you like to print "the size of this page is..." before or after you calculate the size of the page.
    Because adding that bit of text to the page will make the page bigger...
    Doing it in java, the best approach would probably to have a filter counting the number of bytes that gets sent to the writer/output stream.
    A client side tool measuring the amount of bytes received would probably be easier though.
    You can always look at the Content-length header sent with a response. Though you normally don't have access to that on the java/jsp side, as it is sent by the container.
    cheers,
    evnafets

  • Save servlet html output as jpeg.

    Hello everybody,
    I have a servlet that creates an html page.
    The html consits of information from a database and displays a data sheet with images and text.
    I have been asked if the outputed data sheet can be saved as an image (jpeg).
    Is this possible?
    Thanks.

    I am can of confused how this works
    I know that there is more to do in order to create an
    image.First you have to make a desition, what do you need?
    * if you only want to save a data sheet i think the better solution is a Excel format file, for this yo coul take a look at http://jakarta.apache.org/poi/hssf/index.html
    * if you want to generate a pdf with images, tables, etc. yo should take a look at http://xml.apache.org/fop/
    * if you want to create a custom image i cant help you
    the proces to generate excel isnt dificult but to make a pdf is a little hard. but if you read the documentation and the examples you shouldnt have problems
    Jorge

  • Stop desktop's title from getting rendered in the final HTML output

    Is there a way to stop the desktop's title value from being rendered and displayed in the HTML source of the page? I don't want to use a backing file to achieve this -- looking for a simple easy configuration to remove all the desktop property definitions from getting rendered to the final HTML output.
    Specifically trying to remove the title:
    <title >Microsite Desktop</title>
    <meta name="bea-portal-meta-skeleton" content="/framework/skeletons/testmicrositeskel"/>
    <meta name="bea-portal-meta-skin" content="/framework/skins/testcardsskin"/>
    <meta name="bea-portal-meta-skin-images" content="/framework/skins/testcardsskin/images"/>
    Edited by sjayas01 at 12/18/2007 8:38 AM

    Try this function.
    data: label type string.
    CALL FUNCTION 'DDIF_FIELDLABEL_GET'
      EXPORTING
        tabname              = 'MARA'
        FIELDNAME            = 'MATNR'
    *   LANGU                = SY-LANGU
    *   LFIELDNAME           = ' '
      IMPORTING
        LABEL                = label.
    Regards,
    Rich Heilman

  • 'Page Info' doesn't support HTML5 'meta charset' tag?

    Admittedly this isn't a catastrophic problem, but it seems that the Firefox 'Page Info - General' dialog does not support HTML5's '<meta charset="UTF-8">' tag - the dialog displays an empty line in my Firefox 21.0 browser.
    If the meta charset tag is changed to the pre-HTML5 version of '<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> the Page Info dialog displays the 'Content-type' information.
    Other posts I've seen suggest that Firefox's HTML5 support has been frozen except for new HTML5 standards that may be added as they are finalised.
    Does that mean that this omission is going to be left unfixed?

    Looks as though someone started working on this in 2010, but interest (?) petered out?
    [https://bugzilla.mozilla.org/show_bug.cgi?id=584285 Bug 584285 – Meta tag list: HTML5-style charset is not displayed / meta tags in body are displayed]
    ''About the Bugzilla bug tracking system:'' If forum members can contribute to the development, please feel free to pitch in. Otherwise, it's generally not helpful to add comments to bugs (unless there is a call for test cases), but you can register on the Bugzilla site and "vote" for them to be fixed. See:
    * [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html Bugzilla Etiquette]
    * [https://bugzilla.mozilla.org/page.cgi?id=voting.html Voting]

  • Adding HTML output TO J3D

    Hi all;
    i want to show HTML page on a java 3D object say a on a face of a Cube or Sphere.
    plz suggest something..
    Thanks in advance!!

    Hi Shendi,
    Probable solution for doing this is as
    1> Try to capture HTML output
    2> Write the captured HTML output to the Buffered Image
    3> Use that buffered image for displaying it on Java 3D/2D Object.
    Hope this will work. Only thing is that the HTML page will not interact like in web browser, because 3D/2D deals with images.
    Regards

Maybe you are looking for

  • Blackberry Z10 has deleted all my emails from all my accounts..​.also it has deleted emails from server side (OS Rev. 10.1.0.418​1)

    It's happened a bad thing. My Z10 (OS 10.1.0.4181) has decided to delete, from all my email account , each emails from july to today!!!! It's unacceptable!!! I have paid 700 Euro for a smartphone that delete my email?! It has deleted also emails from

  • Cant activate my cs2 indesign newly downloaded

    I have macbook pro. And CS2 indesign. Can't find disk. Owned it outright. Was told to download CS2 indesign from adobe link. Downloaded-doesn't work. Scared to take off my original version from my disk- in case I can't find my disk in storage. I can'

  • Xserve G5 Video Quirk

    Well, I finally got my Xserve G5 up and running, which was an Ebay "spares or repair" job which I resurrected. It has an ATI Radeon 9200, which has both a DVI and VGA output, so I hooked up my 20" Cinema Display, and going into the display settings s

  • Playing MP4 files in published Captivate 6.01

    Help!! I have added an MP4 file (7MB) to a slide using Captivate 6 and it plays fine in preview mode but not when I publish the project. I checked to make sure that I have all of the updates for Captivate installed. I am not using a media server as t

  • SLD Server does not start

    Hi, I try to configure my local SLD. I created all the roles and groups mentioned in http://help.sap.com/saphelp_nw70/helpdata/EN/43/ce62c162cd0cd4e10000000a1553f7/content.htm. I put my Administrator User in all of the created groups. When entering t