• Ronald Poulson
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I am receiving an error when I use the render parameter in my apex:outputText.  This library says that the render can handle a boolean or a formula.  Maybe I am not getting my formula correct:

Here is the code:

    <div id="field84f" style="position:absolute; font-weight: bold; color:BLACK; font-size:6pt; top:635px; left:495px;width:150px;">      
        <apex:outputText value="{0,number,###,###,###}" <strong>rendered="{!IF(Certificate__c.AL_Any_Auto__c=true,"true","false")}"</strong> >    
         AGGREGATE $<apex:param value="{!Certificate__c.OT_Aggregate__c}" />
        </apex:outputText>      
    </div>

Here is the error:

Error Error: CertForm line 398, column 57: Element type "apex:outputText" must be followed by either attribute specifications, ">" or "/>"
Error Error: Element type "apex:outputText" must be followed by either attribute specifications, ">" or "/>".

When I remove the <strong>rendered="{!IF(Certificate__c.AL_Any_Auto__c=true,"true","false")}"</strong> the VF page saves without errors.

Thank you for your help.
I am receiving an error when I use the render parameter in my apex:outputText.  This library says that the render can handle a boolean or a formula.  Maybe I am not getting my formula correct:

Here is the code:

    <div id="field84f" style="position:absolute; font-weight: bold; color:BLACK; font-size:6pt; top:635px; left:495px;width:150px;">      
        <apex:outputText value="{0,number,###,###,###}" <strong>rendered="{!IF(Certificate__c.AL_Any_Auto__c=true,"true","false")}"</strong> >    
         AGGREGATE $<apex:param value="{!Certificate__c.OT_Aggregate__c}" />
        </apex:outputText>      
    </div>

Here is the error:

Error Error: CertForm line 398, column 57: Element type "apex:outputText" must be followed by either attribute specifications, ">" or "/>"
Error Error: Element type "apex:outputText" must be followed by either attribute specifications, ">" or "/>".

When I remove the <strong>rendered="{!IF(Certificate__c.AL_Any_Auto__c=true,"true","false")}"</strong> the VF page saves without errors.

Thank you for your help.