Skip to main content
Manish Kulkarni ha preguntado en #Visualforce
<apex:page standardController="Opportunity" recordSetVar="Oppo">

  <apex:form >

    <apex:pageBlock title="List of Opportunities">

     <apex:pageBlockTable value="{!Oppo}" var="o">

      <apex:column value="{!o.name}"/>

      <apex:column value="{!o.type}"/>

      <apex:column value="{!o.Account.Name}"/>

      <apex:column value="{!o.Account.Phone}"/>

      <apex:column value="{!o.StageName}"/>

      <apex:column value="{!o.Probability}"/>

      <apex:column value="{!o.ExpectedRevenue}"/>

     </apex:pageBlockTable>

     <apex:inlineEditSupport />

    </apex:pageBlock>

    <apex:commandButton value="Save" action="{!Quicksave}"/>

  </apex:form>

</apex:page>

This is my custom page. The changes done after editing the fields are not getting saved after i hit the Save button. There are no errors while saving the code. Please let me know the issue and the fix if you guys know of any.
1 respuesta
  1. 17 nov 2016, 17:11

    Hello Manish Kulkarni,

    Try changing your column code to match this:

    <apex:column>

    <apex:inputField value="{!o.name}"/>

    </apex:column>

    The "inputField" should provide the avenue to save the data in the field that was entered.

    I hope this helps.

    Jason

     
0/9000