You need to sign in to do that
Don't have an account?
tantonio
VF Error: value for <apex:outputField> is not a dynamic binding!
I am getting this error "value for <apex:outputField> is not a dynamic binding!" on my VFP and not sure why. I read somewhere on forumns that this can be caused potentially by multi-currency being enabled, which I do have on but I'm not 100% sure that has anything to do with it.
VFP:
<apex:page controller="listorgs"> <apex:form > <Apex:pageblock > <apex:pageblockTable value="{!newlist}" var="obj"> <apex:column > <Apex:outputfield value="obj.name"/> </apex:column> </apex:pageblockTable> </Apex:pageblock> </apex:form> </apex:page>
Controlling class:
Public class listorgs implements iterator<org__c>{ public static List<org__c> newlist {get; set;} Integer i {get; set;} public listorgs(){ newlist = [select id, name from org__c]; i = 0; } Public boolean hasnext(){ if(i>= newlist.size()){ return false; } else { return true; } } Public Org__c next(){ if(i==100){return null;} i++; return newlist[i-1]; } }
Thanks to anyone who can help!
Seems to me like a typo!
You missed the merge field {! }
Change this line
To
All Answers
Seems to me like a typo!
You missed the merge field {! }
Change this line
To
Woohoo! Thanks!
I have written 1000 lines of coding to overide the standard object tab with VF page and functionality.
I was stucked with this issue. But, your reply really helps me a lot.
Thanks Again...!