• ChrisAtkins
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 5
    Replies
I Start to create my first VF page and when I copy and paste the tutorial code into my page I get that error message :
 
Unknown component apex:pageblocktable
 
<apex:page standardController="Account">

<apex:pageBlock title="Hello {!$User.FirstName}!">

You are viewing the {!account.name} account.

</apex:pageBlock>

<apex:pageBlock title="Contacts">

<apex:pageBlockTable value="{!account.Contacts}" var="contact">

<apex:column value="{!contact.Name}"/>

<apex:column value="{!contact.MailingCity}"/>

<apex:column value="{!contact.Phone}"/>

</apex:pageBlockTable>

</apex:pageBlock>

</apex:page>

 

Any idea ?

  • June 04, 2008
  • Like
  • 0

Did the $CurrentPage variable changed?  I get the following error:  “Error: Field $CurrentPage.parameters.relatedId does not exist. Check spelling.”

when I just create this simple page (which is in the Global Variables section of the dev guide):

 

<apex:page standardController="Account">

   <apex:pageBlock title="Hello {!$User.FirstName}!">You belong to the {!account.name} account.</apex:pageBlock>

  <apex:detail subject="{!account}" relatedList="false"/>

  <apex:relatedList list="OpenActivities" subject="{!$CurrentPage.parameters.relatedId}" />

</apex:page>

 

Thanks,

Jon