cfdocumentitem type="header"

this is displaying on the upper left. how do i make it upper
right.
<cfdocumentitem type="header">
<cfoutput>
<FONT
SIZE="-3">#employe_ename#</FONT></td><cfoutput>
#cfdocument.currentpagenumber#</cfoutput>
</cfoutput>
</cfdocumentitem>

<cfoutput>
<div style="text-align: right"><FONT
SIZE="-3">#employe_ename#</FONT></td><cfoutput>
#cfdocument.currentpagenumber#</cfoutput> </div>
</cfoutput>

Similar Messages

  • PDF output : cfdocumentitem type="header"

    PDF output : <cfdocumentitem type="header">
    Is it possible to start header output from page 2?
    Thanks for helping.

    In some cases the header section is overlapping my body data.
    How to overcome this problem?
    My header code is:
    <cfdocumentitem type="header">
    <table width="100%" cellspacing="0" cellpadding="0"
    border="0">
    <tr>
    <td style="font-family:Arial, Helvetica, sans-serif;
    font-size:14pt; color:#1F5394; font-weight:bold;width:4in;"
    nowrap="nowrap">
    Detailed Specifications & Technical Data
    </td>
    <td align="right" bgcolor="#FFFFFF">
    <cfoutput><img src="#imgpath#Logo.jpg"
    style="width:1.5in; height:0.6in;"/></cfoutput>
    </td>
    </tr>
    <cfoutput><img align="top" vspace="0"
    src="#imgpath#5pxGrayDivider.gif" border="0" alt=""
    style="width:100%; height:.05in;"></cfoutput>
    <table width="100%" cellspacing="0" cellpadding="0"
    border="0">
    <tr>
    <td STYLE="width:2.25in;font-family:Arial, Helvetica,
    sans-serif;font-size:8pt;COLOR:#000000; font-weight:bold;"
    nowrap="nowrap">
    <cfif URL.dspflag EQ
    'E'>ENGLISH <cfelse>METRIC </cfif>MEASUREMENT
    VERSION
    </td>
    <td STYLE="text-align:right;font-family:Arial, Helvetica,
    sans-serif;font-size:14pt;COLOR:#000000;font-weight:bold;">
    <cfoutput>
    #MANUFACTUREPRODUCTIDNAME#  #PRODUCTCLASSNAME# - #PRODUCTTITLE#
    </cfoutput>
    </td>
    </tr>
    </table>
    </cfdocumentitem>
    Thank you,
    Ravi.

  • External Service Failure: There was no Content-Type header

    We have developed a web service using WLW and deployed it to weblogic 8.1 (install from scratch), we manage to invoke the service successfully. However, when we deploy it to the weblogic 8.1 server installed through PeopleSoft PIA , we keep getting the 'External Service Failure: There was no Content-Type header' error.
    Does anyone know what are the differences for the weblogic installed through PeopleSoft PIA or how we can get around the error? Thanks!

    Hi Jerioon,
    Which Master Page and Content Type did you use when you created a new page layout with Designer Manager?
    Whether you could provide a screenshot about this issue.
    In addition, here is an article about creating a page layout with Designer Manager, please take a look at:
    http://www.learningsharepoint.com/2013/03/03/create-a-custom-page-layout-in-sharepoint-2013/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • The Content-type: header

    When I send a new message, Mail sets the Content-type header to
    Content-Type: text/plain;
    charset=US-ASCII;
    delsp=yes;
    format=flowed
    Most of the time it does the same for replies that I send. Sometimes however on a reply it instead sets
    Content-Type: text/plain; charset=ISO-2022-JP; delsp=yes; format=flowed
    About 2% of my replies have the second example of content-type, and I can see no common factor between them. My message format is set to plain text, and I don't "use the same format as the original message".
    Does anyone know why Mail sometimes does this?
    Thanks.
    AK

    Tom and I exchanged several emails on this topic. It would appear that the problem (mail setting the content-type to ISO-2022-JP) is caused when certain characters in the quoted text of a reply are encoded; mail decides it needs to specify ISO-2022-JP. Characters identified as causing the problem are smart quotes and apostrophes. If you look at the apostrophe in the raw text it appears as =1B$B!G=1B(B and the smart quotes as =1B$B!H=1B(B and =1B$B!I=1B(B
    AK

  • SSRS email subscription uses incorrect content-type header

    We are using SSRS to deliver emails with reports attached as PDF.
    Some mail clients are fine with this and use the correct filename. However other mail clients get confused  specially mobile phone clients. For example, the Android web mail app thinks the filename is "application/pdf" - it is actually reading
    the "name" portion of the Content-Type header. Our Goldmine mail client reads the correct filename but changes the dot to an underscore... e.g. "myreport_pdf".
    Can anyone help me?
    Thank you
    Nuno Ferreira

    Sorry for the mix up, sql server is 2014, but reports is 2012.
    Nuno Ferreira

  • Condition types header condition and group condition

    Hi All,
    can any one  tell me why the same header condition type is coming in billing document twice.The condition type has two deifferent parameters.
    In first condition type:
    condition class  :DISCOUNT /SURCHARGE
    calculation type :A percentage
    condition control:A Adjust for qty variance
    condition origin:A Automatic pricing
    In second condition type:
    condition class  :DISCOUNT /SURCHARGE
    calculation type :A percentage
    condition control:C CHchanged manually
    Condition origin:A HEADER CONDITION.
    Even though only one conditon type is maintained.
    Regards, Rajneesh

    hi,
    pl check at V/06 if you have maintained the conditon type as both header and group condition.
    regards
    sadhu kishore

  • IE Aborting Image Download with src attribute when over SSL and getting Content-Type header value image/jpg

    Images are not downloaded at all and page looks broken.
    The same page works fine over HTTP but shows the problem over HTTPS. Works fine in firefox and chrome.
    Checked and found the problem in IE 9, 10, 11
    Is it some bug in IE, I have searched the forums and searched internet. Got following but are not relevant to this case.
    Resetting src of the img (Ruled out, not doing any reset)
    Do not save encrypted pages to disk  is checked in advanced security options (Ruled out, unchecked)
    Using TLS 1.2 with SSL 2.0 (Ruled out, SSL 2.0 unchecked)
    Cache-preventing headers: Cache-Control header with the tokens no-cache, no-store (Ruled out, no such headers)
    Restarts due to parser reset owing XML Namespace declaration, Meta tags etc. (Ruled out, image tags are afterwards)
    Thanks in advance for help!

    I probably encountered the same problem.
    What happens when you disable the 'Use TLS 1.0' checkbox in Internet Options, Advanced, Security, 'Use TLS 1.0'?
    The only enabled option I have in IE is 'Use SSL 3.0'.
    Source:
    http://social.msdn.microsoft.com/Forums/ie/en-US/88a58e78-ebb4-469d-a361-0d3762a4cf80/ie10-reports-aborted-js-and-css-downloads-randomly?forum=iewebdevelopment

  • OSB+how to change content type header in http transport header.

    I have a requirement where I need to change the value of:
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    to the end system specific like:
    <http:Content-Type>application/abcd-cvs-v1+xml; </http:Content-Type>
    and the http:accept value to:
    <http:Accept>application/abcd-cvs-v1+xml</http:Accept>
    Can some one please explain how to do this.

    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/context.html
    Use replace action/insert on the follwoing QPath in trhe request action of the ServiceCallout/Routing as
    $outbound/ctx:transport/ctx:request/tp:headers/http:Content-Type
    $outbound/ctx:transport/ctx:request/tp:headers/http:Accept
    Manoj

  • Mailx content-type header

    I can't seem to find any information on setting additional headers (specifically Content-Type) when sending a message via mailx
    I can send text/plain messages, but I need to send text/html content.
    cat test.html | mailx -s "Testing" [email protected]
    I've tried including headers at the top of my file, but mailx just ignores them.
    cat test.html | mailx -t
    To:[email protected]
    Subject: Testing
    Content-Type: text/html; charset=ISO-8859-1
    <html></html>
    Any advise or links to how this can be achieved would be great.  Thanks

    I found this question on stackexchange and decided mailx does not meet my needs very well, so I installed msmtp.  It's very easy to setup and use.  I added the necessary headers to the top of my file, then executed:
    cat test.html | mstp [email protected]

  • PO material type header problem

    Sir i wish to create PO according to material type how to do this ?
    I am on line.

    Hi,
    You can control this by selecting or deselecting the "Purchasing" view for the Material Type in OMS2
    For the material types which will be used for PO creation select the "Purchasing" view in OMS2 and also maintain the material master for this view in MM01. And for the material types which will not be used for PO creation deselect the "Purchasing" view in OMS2 so user will not maintain the "Purchasing" view in material master in MM01 so Purchase order will not get processed.

  • Issue with Tomcat 4.0.1 (not recieving proper mime type header)

    I have two environments running xsql servlets. One is a Red Had 7.2 box with jdk13 and Tomcat 4.0.1 running the jars in WEB-INF/lib directory of my test context. The other environment is a Solaris8 Netra box with the same version of the jdk and the same version of Tomcat. Everthing seems to work okay except for one thing... When I view an xml page on Solaris I get just the text in IE and on the Red Hat box I get the properly formatted xml. I was wondering if anyone else has run into this issue.

    Hi There,
    As you said using equals would not work as it should be a valid String in order for the eqauls function to work.
    Unfortuantely I can't access the Servlet created or the log files. It has crossed my mind too but this is a setup by the service provider and they don't let you nose into their business but they ahvedone something wrong with their system as far I can think.
    I've wanted to print the output to the web but when i use the request.getParameter it just creates the error.
    Java service is provided optional and as any optional service it is not well supported so I need to make them some pointers. So any more ideas?
    Cheers,
    Mert

  • Header columns alignment in PDF using CFDOCUMENTITEM

    Hi All,
    I'm creating a PDF with CFDOCUMENT tags and using CFSAVECONTENT tags. I will do the formatting everything inside the CFSAVECONTENT Variable and create the PDF using the save content variable.
    <cfdocument format="PDF" orientation="landscape">
          <cfoutput>#strContent#</cfoutput>
    </cfdocument>
    The generated pdf will have 5 or 6 pages which will have a table kind of structure.
    My client needs the header columns on each page of the PDF. As of now, I'm having the header column in the first page alone.
    I tried using CFDOCUMENTITEM TYPE="Header"; I'm seeing the columns as some text with no alignment as a row.
    How to align that so that it looks as a header?
    I tried the one below;
    <cfdocument format="PDF" orientation="landscape">
         <cfdocumentitem type="header">
        <html>
         <tr style="font-weight: bold; font-size: 8pt; text-align:left">
                  <td width="10%">Test<br>Number</td>
                <td width="11%">Test B</td>
                <td width="18%" align="Center">Test<br>Factor</td>
                <td width="18%" align="left">Test c</td>
                <td width="4%" align="left">Test Qty</td>
                <td width="4%">%<br>Impact</td>
                <td width="10%"align="center">Test Owner</td>
                <td width="6%">Date</td>
                <td width="17%" align="left">Comments</td>
            </tr>
            </html>
          <cfoutput>#strContent#</cfoutput>
    </cfdocument>
    Thanks in advance for your help!

    Got this header formatting working by using CFSAVECONTENT before the CFDOCUMENT tag.
    Not sure why my style sheets not working inside the CFDOCUMENT tag.

  • Cfdocument header bug?

    Is this a bug?
    cfdocumentsection is supposed to have their own header and
    footer. This example mimics one in the documentation. I loop
    through a simple counter from 1 to 4 and name each page, header and
    footer with the loop number. But if you run this simple code, 4
    pages of a PDF will be created, the pages will be 1 to 4, but every
    pages' header and footer will say "5" on it..
    <cfdocument pagetype="letter"
    format="pdf"
    filename="#variables.filePath#" overwrite="true"
    >
    <cfloop index="ctr" from="1" to="4">
    <cfdocumentsection>
    <cfoutput><h1>Page
    #ctr#</h1></cfoutput>
    <cfdocumentitem type="header">
    <cfoutput>Header #ctr#</cfoutput>
    </cfdocumentitem>
    <cfdocumentitem type="footer">
    <cfoutput>Footer #ctr#</cfoutput>
    </cfdocumentitem>
    </cfdocumentsection>
    </cfloop>
    </cfdocument>

    Success! Upgrading to 8.0.1 fixed the header/footer issue.
    It also seems to have really helped the layout stability of
    the pdf as well. Before the scaling was unpredictable and changed
    for each page.
    Looks much better now, thanks!

  • Cfdocoument with a header question

    When using cfdocument and cfdocumentitem type header, there
    is about and inch of white space between the header and the body.
    If I make the topmargin smaller the header is scaled to fit and
    still leaves the inch of white space. I've tried many different
    padding and margin attributes for the body and tables but it
    doesn't change the space between the header and the body.
    Does anyone know how to remove the white space?
    Thanks in advance for any help!

    You Rock, That worked I have been working on this for almost 2 full weeks. Thank you soooooo much. Do you know if there is a script to make the windows open in a certain way, Example, always make the search window open on the left and arrange the windows. Just wondering, I am trying to make a cd for training and need it to be as simple as possible so I don't get a thousand calls. Either way if not you were a huge help. Thank you again.
    Dusty

  • Conditional header in CFDOCUMENT?

    I searched around, but could not find a specific answer to this one.
    I have a pretty basic report with a cover page that should have no headers or footers, and the rest of the report which should have the same header and footer on each page.
    I can't figure out how to use cfdocument so that the header and footer do not appear on the first page. I tried using this code which didn't work:
    <cfdocumentitem type="header"  >
            <cfif cfdocument.currentpagenumber GT 1>
            <div style="border-bottom:1px solid #673951;padding-bottom:20px;float:left;width:100%"><img src="../images/logo_print_150.jpg" width="180" height="52" /></div>
                </cfif>
    </cfdocumentitem>
    Is there a way around this?

    I realize this is well over a year after the original post, but I just came across it look for an answer to a question I had, maybe it will help someone someday.
    There's a simple way to do this. Headers and footers not used inside a cfdocumentsection apply to the whole document. But used inside cfdocumentsection tags only apply to that section. So it can be done as follows:
    <cfdocumentsection>
         cover page goes here
    </cfdocumentsection>
    <cfdocumentsection>
         <cfdocumentitemtype="header">
              header goes here
         </cfdocumentitem>
         main body goes here
    </cfdocumentsection>

Maybe you are looking for

  • I can't open apps in my iPhone after synced to iTunes.

    I'm having problem with iTunes, seems like everytime i sync my iPhone after it finish synced, I can't open some of the apps. I even try to find my apps (new) in iTunes, but it's not in the library. But if I started install any new app, the apps that

  • How can i mask a URL parameter

    I have a instant messaging app and i need to mask the URL parameters that uniquely identify the message (autonumber in access db) so that a user cant change the parameter number in the browser click refresh and delete a different message# How can i m

  • OS X doesn't reconnect to wi-fi after put to sleep.  Have to manually attach

    After getting the latest OS X update, my IMac stop attaching to my wireless network automatically.  I have to step thrrough the diagnostic to get it reattached.  Any ideas? Thanks! Don

  • Button - Print an external PDF file

    Hi all... I am trying to have a Button on my PDF to be able to PRINT and external PDF file from off of my site. any thoughts? Many thanks., Dave

  • Uninstalling PS Album 2.0 removed windows thumbnail viewer

    After uninstalling using control panel "add/remove" Now unable to view jpeg thumbnails in "My Pictures". Windows picture and fax viewer no longer in the drop down list of options to view pictures. Anyone know how to re-install/ re-activate windows pi