Skip to main content
added 1 character in body
Source Link
SF_user
  • 3.7k
  • 10
  • 44
  • 58

Replace :

<apex:outputPanel rendered="{!IF(CONTAINS({!opp.Optional_Transport__c}, "Train "),True, False)}" >

by :

<apex:outputPanel rendered="{!CONTAINS(opp.Optional_Transport__c, 'Train ')}" >...<apex:outputpanel>

CONTAINS method already returns a Boolean value.

You don't need to add several {!...} in rendered

And you need to close youyour <outputPanel> tag.

Replace :

<apex:outputPanel rendered="{!IF(CONTAINS({!opp.Optional_Transport__c}, "Train "),True, False)}" >

by :

<apex:outputPanel rendered="{!CONTAINS(opp.Optional_Transport__c, 'Train ')}" >...<apex:outputpanel>

CONTAINS method already returns a Boolean value.

You don't need to add several {!...} in rendered

And you need to close you <outputPanel> tag.

Replace :

<apex:outputPanel rendered="{!IF(CONTAINS({!opp.Optional_Transport__c}, "Train "),True, False)}" >

by :

<apex:outputPanel rendered="{!CONTAINS(opp.Optional_Transport__c, 'Train ')}" >...<apex:outputpanel>

CONTAINS method already returns a Boolean value.

You don't need to add several {!...} in rendered

And you need to close your <outputPanel> tag.

added 160 characters in body
Source Link
SF_user
  • 3.7k
  • 10
  • 44
  • 58

Replace :

<apex:outputPanel rendered="{!IF(CONTAINS({!opp.Optional_Transport__c}, "Train "),True, False)}" >

by :

<apex:outputPanel rendered="{!CONTAINS(opp.Optional_Transport__c, 'Train ')}" />...<apex:outputpanel>

CONTAINS method already returns a Boolean value.

You don't need to add several {!...} in rendered

And you need to close you <outputPanel> tag.

Replace :

<apex:outputPanel rendered="{!IF(CONTAINS({!opp.Optional_Transport__c}, "Train "),True, False)}" >

by :

<apex:outputPanel rendered="{!CONTAINS(opp.Optional_Transport__c, 'Train ')}" />

Replace :

<apex:outputPanel rendered="{!IF(CONTAINS({!opp.Optional_Transport__c}, "Train "),True, False)}" >

by :

<apex:outputPanel rendered="{!CONTAINS(opp.Optional_Transport__c, 'Train ')}" >...<apex:outputpanel>

CONTAINS method already returns a Boolean value.

You don't need to add several {!...} in rendered

And you need to close you <outputPanel> tag.

Source Link
SF_user
  • 3.7k
  • 10
  • 44
  • 58

Replace :

<apex:outputPanel rendered="{!IF(CONTAINS({!opp.Optional_Transport__c}, "Train "),True, False)}" >

by :

<apex:outputPanel rendered="{!CONTAINS(opp.Optional_Transport__c, 'Train ')}" />