You need to sign in to do that
Don't have an account?

runtime error invalid field ID
Any idea why is this throwing runtime error invalid field ID for SObject mynamespace__PaymentExport__c?
<apex:page standardController="PaymentExport__c" recordSetVar="pec" > <!-- Begin Default Content REMOVE THIS --> <h1>Congratulations {!$User.FirstName}</h1> This is your new Page <!-- End Default Content REMOVE THIS --> <apex:pageBlock > <apex:pageBlockTable value="{! pec }" var="rec" > <apex:column value="{! rec.ID }" /> </apex:pageBlockTable> </apex:pageBlock> </apex:page>
If I write
<apex:column value="{! rec.somenamethatdoesnotexist }" />
then i recieve compilation error, but if i write
<apex:column value="{! rec.ID }" />
then it compiles and shows an error when displaying page.
Is that a Visual Force BUG?