0

I have a custom object as "Compitetor" ,which has a lookup relation to "QUOTE " object.So created a "list button "for the custom object ,using the standard controller.

1)Now im unable to get the related records to "edit" when i click on the "list button".

2)It does not displays the column names in the VF Page.PFA ScreenShot

Any suggestion Plz.

<apex:page StandardController="Compitetor__c" sidebar="false" recordSetVar="Competitors">
 <apex:form >
  <apex:sectionHeader title="Edit for Competitor"/>
  <apex:pageBlock title="Quote Update" >
   <apex:pageBlockButtons >
    <apex:commandButton action="{!SAVE}" value="SAVE"/>
    <apex:commandButton action="{!CANCEL}" value="CANCEL"/>
   </apex:pageBlockButtons>
   <apex:pageBlockSection >
    <apex:inputField value="{!Compitetor__c.CustomQuote__c}"/>
   </apex:pageBlockSection>
   <apex:pageBlockTable value="{!Selected}" var="com">
    <apex:column value="{!com.Name}"/>
    <apex:column value="{!com.Product_Series__c}" />
    <apex:column value="{!com.Part_Number__c}"/>
    <apex:column value="{!com.Price_Offered__c}"/>
    <apex:column value="{!com.Volume__c}"/>
    <apex:column value="{!com.Date_Price_is_valid__c}"/>
</apex:pageBlockTable>
</apex:pageBlock>

4
  • your visualforce code is unreadable. Better copy paste it into your question in txt. Commented Dec 17, 2014 at 12:18
  • @guy:i have copied my code and pasted in question but still invisible.
    – nikkey
    Commented Dec 17, 2014 at 15:54
  • @nikkey - I do not see a list button in your code OR the display of the lookup object....
    – Eric
    Commented Dec 17, 2014 at 22:29
  • It might be the list button config. Check this answer salesforce.stackexchange.com/questions/5937/… Commented Dec 18, 2014 at 8:14

0

You must log in to answer this question.

Browse other questions tagged .