You need to sign in to do that
Don't have an account?
Max Smith
Testing a VisualForce Component
Hi All,
I've created a custom visualforce component and controller for use in a custom visualforce email template. The component code is below:
The component is called with the exact same parameters between the email body and also in a PDF attachment. Surprisingly, the "Hosted Fee Information" in the <p> tag displays in the PDF but not the email body. The actual data table does not display in either. My question is, how do I go about debugging this? Is there some log I can look at? I can't find an error message, the table just simply doesn't appear
Thanks,
Max
I've created a custom visualforce component and controller for use in a custom visualforce email template. The component code is below:
<apex:component access="global" controller="hostedFeeInfoController"> <apex:attribute type="String" name="oppoID" assignTo="{!oppID}" description="current opportunity ID"/> <apex:attribute type="Decimal" name="contractTerm" assignTo="{!term}" description="length of contract term"/> <p class="sectionHeaders">Hosted Fee Information</p> <apex:dataTable id="hostedFeeTable" value="{!yt}" var="yearT"> <apex:repeat var="total" value="{!yearT.totals}"> <apex:column headerValue="test"> <apex:outputText value="{!total}"></apex:outputText> </apex:column> </apex:repeat> </apex:dataTable> </apex:component>
The component is called with the exact same parameters between the email body and also in a PDF attachment. Surprisingly, the "Hosted Fee Information" in the <p> tag displays in the PDF but not the email body. The actual data table does not display in either. My question is, how do I go about debugging this? Is there some log I can look at? I can't find an error message, the table just simply doesn't appear
Thanks,
Max