+ Start a Discussion
Allan NolandAllan Noland 

Why won't the standard controller quick save action work?

Hi,

I am trying to create a page similar to this but the quicksave function is not working.  When i hit the save button it refreshes the page but the data is unchanged.  What is wrong with this code?
 
<apex:page StandardController="Opportunity" RecordSetVar="opp">
 <apex:form >
     <apex:commandbutton action="{!quicksave}" value="Save"/>
     <apex:pageblock mode="inlineedit">
         <apex:pageBlockTable value="{!opp}" var="o">
             <apex:column value="{!o.name}"/>
         </apex:pageBlockTable>
     
     </apex:pageblock>
 
 </apex:form>
 </apex:page>

 
Best Answer chosen by Allan Noland
Shrikant BagalShrikant Bagal
I didn't understand where you will change the data, as you were not use any inputField or Input field where user can change the value.

All Answers

Shrikant BagalShrikant Bagal
I didn't understand where you will change the data, as you were not use any inputField or Input field where user can change the value.
This was selected as the best answer
Allan NolandAllan Noland
Awesome what a dumb mistake this code works.  I seperated the column tag and added input field.
 
<apex:column >
                 <apex:inputField value="{!o.name}"/>
             </apex:column>

 
Shrikant BagalShrikant Bagal
cool :)