function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
John NeffJohn Neff 

Visualforce inline edits not working

Hello, 

I have a vf page (version 35.0) and controller with inline edits on one of my output fields, and my edits are not saving for some reason. 

Here is the pageblock where the inline edit resides: 
<apex:form >
    <apex:pageBlock title="{!camp}">
     <table width="1130" style="table-layout:fixed" align="left" >
   <tr>
   <td width="205" style="background-color: #D8D8D8; color: #190707"><b>Thumb</b></td>
   <td width="100" style="background-color: #D8D8D8; color: #190707"><b>ISCI</b></td>
   <td width="150" style="background-color: #D8D8D8; color: #190707"><b>First Aired - Last Aired</b></td>
   <td width="100" style="background-color: #D8D8D8; color: #190707"><b>Aired by</b></td>
   <td width="500" style="background-color: #D8D8D8; color: #190707"><b>Notes</b></td>
   <td width="300" style="background-color: #D8D8D8; color: #190707"><b>Viewer</b></td>
   <td width="100" style="background-color: #D8D8D8; color: #190707"><b>More Details</b></td>
   
   
      </tr> 
      
      </table>

     <apex:repeat value="{!SPOT}" var="spotObj"> 

        <apex:outputPanel rendered="{!IF(camp=spotObj.Campaign__r.Name,true,false)}" >
     <table width="1130" style="table-layout:fixed" align="left">
      
  <tr>
    <td width="205"> <img src="{!spotObj.Thumbnail_URL__c}" WIDTH="200" HEIGHT="120" onclick="window.open('{!spotObj.View_Link__c}', 'newwindow', 'width=500, height=500')"> </img> </td>
    <td width="100">{!spotObj.ISCI__c}<br/></td>
     <td width="150"></td>
      <td width="100"></td>
    <td width="500"> <apex:outputField value="{!spotObj.Notes__c}" >
                                     <apex:inlineEditSupport event="ondblclick" showOnEdit="saveButton, cancelButton" />
                                </apex:outputField></td>      
    <td width="300">{!spotObj.View_Link__c}</td>  
    <td width="100"><apex:outputLink onclick="window.open('AllSpotsMoreDetails', 'newwindow', 'width=800, height=900')"> More Details</apex:outputLink></td> 
    
    </tr>
  
</table>
             </apex:outputPanel>

      </apex:repeat>
      
       
    </apex:pageBlock>
    <apex:commandButton action="{!saveNotes}" value="Update Notes"/> 
</apex:form>


The field Notes__c is a Rich Text area field. 

Here is my controller: 
 
public with sharing class AllSpotController
{

public List <Job_Number__c> SPOT {get;set;}
public list<String> campaigns {get;set;}

public PageReference saveNotes(){
    UPDATE SPOT;
    return null;
    }

public void load() 
{
  campaigns= new List<String>();
  SPOT = [Select id, name, Notes__c, Thumbnail_URL__c, ISCI__c, Title__c, Project__c, Campaign__r.Name, Nets_Running__c, View_Link__c, Internal_Title__c, Legal__c, Airing_Agencies__c from Job_Number__c where ISCI__c <> null];
  
  Set<String> campaignSet = new Set<String>();
  for (Job_Number__c j : SPOT)
      campaignSet.add(j.Campaign__r.Name);
      
      for (String campaign : campaignSet) 
      {
            campaigns.add(campaign);
      }
      campaigns.sort();
    }
}

I have used this type of setup in the past successfully, what am I missing to make this not work?