function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Renu anamalla 17Renu anamalla 17 

Unknown method 'contact.id()' getting error please reply as soon as possible

<apex:page standardController="contact" recordSetVar="items" sidebar="false">
<apex:form >
<style>
.one{
margin:20px;
padding:10px;
width:150px;
height:100px;
background-color:#81DAF5;
border-radius:20px;
boarder:2px solid red;
}
.outer
{
margin:10px;
padding:10px;
width:250px;
height:500px;
background-color:#FFFFFF;
}
.recent{
margin:20px;
padding:10px;
width:150px;
height:20px;
background-color:#FFFFFF;
}
</style>
<div class="one">
<apex:pageBlock >
<apex:dataTable value="{!items}" var="c" rows="5" first="3">
<apex:column >
<apex:image url="resource/1504709451000/Flower" style="width:10px;hight:10px;padding:5px;float:left;"/>
<Apex:commandLink action="{!c.id}" value="{!c.Name}" />
</apex:column>
</apex:dataTable>
</apex:pageBlock>
</div>
</apex:form>
</apex:page>
VamsiVamsi
Hi,
Since you are making use of standardlist controller you should be using only standard actions. What action you would like to perform on these ?
Renu anamalla 17Renu anamalla 17
Vamshi Actually When Click on The image shows on the page along with Contact Name