• Canaan Tech
  • NEWBIE
  • 10 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I do not see Force Lite on salesforce's website anymore? Is it discontinued? Also is there a higher latency for Force Lite than force enterprise? We are using a warehouse application, where barcodes are scanned for receiving and barcodes scanned out for shipping. We are using force lite license and definitley see some latency. I am curious if it is an issue with Force Lite.

Hi, 

I have a page defining several styles and containing several components.  If my component contains html segments part of a style defined in the main page I have problems when rendering the page as pdf.  The non-pdf page renders properly with no problems.  I tried looking around the posts and the documentation with no success. 

 

If I include the custom component MyComponent the rendered pdf loses the style.  If I inline the component it works fine.

 

Below is a simplified version of what I developed.

 

Page:

 

 

<apex:page renderAs="pdf"  standardstylesheets="false" sidebar="false" showheader="false" >

 

<head> <style type="text/css">

 

body,td {

    font-family: Arial;

    font-size: 11px;

}

.table_blue {

    border-collapse: collapse;

}

 

.table_blue .head td {

    border: 1px solid #000000;

    padding: 5px 3px;

    vertical-align: top;

    background-color: #A4A4A4;

    font-weight: bold;

}

</style>

</head>

<body>

<table cellpadding="0" cellspacing="0" width="100%" class="table_blue">

       <c:LineItemHeaderComponent />

<!--tr class="head">

    <td align="center" nowrap="nowrap">"Column 1" </td>

    <td align="center" nowrap="nowrap">"Column 2" </td>

</tr>-->

</table>

</body>

</apex:page>

 

 

 

 

 My component:

 

 

<apex:component >

<tr class="head">

    <td align="center" nowrap="nowrap">"Column 1" </td>

    <td align="center" nowrap="nowrap">"Column 2" </td>

</tr>

</apex:component>

 

Thanks a lot 

 

 


 

  • August 21, 2009
  • Like
  • 0