Skip to main content
Manish Kulkarni 님이 #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개
  1. 2016년 11월 17일 오후 5: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