• JVK
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
Hello,

I am trying to have a tab apear if the status of object project is ok (pickval).
I can't get it to work, I have looked everywhere

 <apex:tab label="Stem" name="Stem" id="tabStem" rendered= "{!IF ((Project__c.Status__c = "ok"),"True","False")}">

Error that is generated:
Error: Syntax error. Missing ')'

I am sure that the syntax is right. It also doesn't work if I do

<apex:tab label="Stem" name="Stem" id="tabStem" rendered= "{!IF (CONTAINS(Project__c.Status__c , "ok"),"True","False")}">

Anybody any ideas?
Thanks:smileyhappy:
Jeroen



  • July 15, 2008
  • Like
  • 0
I have two custom objects, Setting and Customisation (British spelling). Customisation has a Master-Detail(Setting) field and
Child Relationship Name is Customisations. However
 
Code:
<apex:relatedList list="Customisations" title="Profiles" subject="{!SettingId}"/>

 Causes an error: 'Customisations' is not a valid child rationship name for entity Setting. The name right and I think I have the objects setup right. SettingId is the Id of the setting record I am using to store the information and the customisation record is related to the correct one. Seems to be moaning about the right object so I doubt its a custom controller problem.