0 Replies Latest reply on Feb 9, 2010 7:07 PM by Luiz Abrahao

    PDF header bug? 2.2.0.GA

    Luiz Abrahao Newbie

      I don't know if it's a known issue or even if it's meant to be like this, but if I try to apply different font styles to the header and footer only the footer is rendered.


      both are rendered:



      <f:facet name="header">
         <p:font size="7" color="red" style="normal">
            <p:header borderWidthTop="0" borderColorBottom="#51A025" borderWidthBottom="0.5" padding="0">
               <p:paragraph>Text header</p:paragraph>
            </p:header>
                      
            <p:footer borderWidthTop="0.5" borderColorTop="#51A025" borderWidthBottom="0" padding="0">
               <p:paragraph><p:pageNumber /></p:paragraph>
            </p:footer>
         </p:font>
      </f:facet>
      



      only footer is rendered:


      <f:facet name="header">
         <p:font size="7" color="blue" style="normal">
            <p:header borderWidthTop="0" borderColorBottom="#51A025" borderWidthBottom="0.5" padding="0">
               <p:paragraph>Text header</p:paragraph>
            </p:header>
         </p:font>          
         
      <p:font size="7" color="red" style="normal">
            <p:footer borderWidthTop="0.5" borderColorTop="#51A025" borderWidthBottom="0" padding="0">
               <p:paragraph><p:pageNumber /></p:paragraph>
            </p:footer>
         </p:font>
      </f:facet>
      



      Just wanted to let you know if in case this is a bug


      Thanks,
      Luiz