• Kermoony developer
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hello,

 

I'm trying to set up a custom page so that I can add some references for the Opportunity List Item page.  Unfortunately, when I try to Save my edited values nothing changes in the records.  I would like to do this only using a standard controller.  Here's the code I'm using just for this test:

 

 

<apex:page standardController="Opportunity" tabstyle="opportunity">
 <apex:form >
   <apex:pageBlock >
    <apex:pageBlockTable value="{!Opportunity.opportunitylineitems}" var="a">
     <apex:column headerValue="Price">
      <apex:inputField value="{!a.quantity}"/>
     </apex:column>
    </apex:pageBlockTable>
    <apex:commandButton value="Save" action="{!quicksave}"/>
  </apex:pageBlock>
 </apex:form>
</apex:page>

 

Is there something I can do to set it up to properly be able to save the modified line item values?

 

Any help would be appreciated.


Thanks!