You need to sign in to do that
Don't have an account?
Renu 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>
<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>
Since you are making use of standardlist controller you should be using only standard actions. What action you would like to perform on these ?