You need to sign in to do that
Don't have an account?
Manoprabha Palpandian
missing required attribute value in my code showing error
:pageBlockTable>
<apex:pageBlock title="Registration Records">
<apex:outputPanel id="ContactDetail" >
<apex:repeat value="{!Registration details}" var="reg">
<apex:outputText value="{!reg.Name__c}" /><br/>
<apex:outputText value="{!reg.Address__c}" /><br/>
<apex:outputText value="{!reg.Email_ID__c}" /><br/>
<apex:outputText value="{!reg.College_Name__c}" /><br/>
</apex:repeat>
</apex:outputPanel>
</apex:pageBlock>
</apex:pageBlockTable>
<apex:pageBlock title="Registration Records">
<apex:outputPanel id="ContactDetail" >
<apex:repeat value="{!Registration details}" var="reg">
<apex:outputText value="{!reg.Name__c}" /><br/>
<apex:outputText value="{!reg.Address__c}" /><br/>
<apex:outputText value="{!reg.Email_ID__c}" /><br/>
<apex:outputText value="{!reg.College_Name__c}" /><br/>
</apex:repeat>
</apex:outputPanel>
</apex:pageBlock>
</apex:pageBlockTable>
Hi,
correct your apex repeat as you are not entering right value
<apex:repeat value="{!Registration details}" var="reg">
correct: <apex:repeat value="{!Registrationdetails}" var="reg">
you have to enter the same name Registrationdetails as it is present in controller.
If you are using page block table then why you are using apex repeat .You can use any of one Like
Or
Do some needful changes according to your requirement.
Please let me know it is working or not?
Please mark it as the Best Answer so that other people would take references from it .
Thank You.
All Answers
Hi,
correct your apex repeat as you are not entering right value
<apex:repeat value="{!Registration details}" var="reg">
correct: <apex:repeat value="{!Registrationdetails}" var="reg">
you have to enter the same name Registrationdetails as it is present in controller.
If you are using page block table then why you are using apex repeat .You can use any of one Like
Or
Do some needful changes according to your requirement.
Please let me know it is working or not?
Please mark it as the Best Answer so that other people would take references from it .
Thank You.
Manoprabha Palpandian,
Please mark it as the Best Answer
Thank You