Senario:
I have a visualforce page which displays a table based on a value picked from a picklist at the top of the page.
After the user selects a value, the table refreshes with the data, which the user can then edit using InlineEditSupport for the outputFields.
When the user Edits an outputField, the ShowOnEdit should show the commandButton-'Save' which starts off hidden using 'style="display:none"'
Problem, The ShowOnEdit does not work unless I do a whole page refresh by leaving the reRender parameter blank in the action function.
If i use the reRender to update the table/pageblock/pageblocksection, the data in the table is updated correctly, and the inlineEditing works, but the commandButton 'Save' does not get revealed by the ShowOnEdit parameter.
Here is the pageBlockSection which the table and buttons resides in:
<apex:pageBlockSection id="blkResults" title="{!GetCurrentList.name} - Candidates:" columns="1" collapsible="false">
<apex:outputPanel>
<div align="center">
<apex:commandButton id="cmdAddCandidate" onclick="AddCand()" value="Add Candidate" reRender="none"/>
<apex:commandButton id="cmdApplyToJob" onclick="ReadyApplyToJob()" value="Apply to Job" reRender="none"/>
<apex:commandButton id="cmdDelCandidate" onclick="actDelResults()" value="Delete Candidate" reRender="none"/>
<apex:commandButton id="saveSearchResults" onclick="actSaveResults()" value="Save List" reRender="none" style="display:none"/>
<apex:actionStatus id="Working">
<apex:facet name="start">
<img src="/img/loading.gif" /> Working, please wait...
</apex:facet>
</apex:actionStatus>
</div>
</apex:outputPanel>
<apex:outputPanel id="PanelResultTable">
<apex:pageBlockTable id="CandList" value="{!lstSelectableResults}" var="sr">
<apex:inlineEditSupport event="ondblclick" showOnEdit="saveSearchResults" hideOnEdit="cmdApplyToJob, cmdAddCandidate , cmdDelCandidate" />
<apex:column >
<apex:inputCheckbox value="{!sr.isSelected}"/>
</apex:column>
<apex:column headerValue="First Name">
<apex:outputField value="{!sr.obj.Candidate__r.FirstName}"/>
</apex:column>
<apex:column headerValue="Last Name">
<apex:outputField value="{!sr.obj.Candidate__r.LastName}"/>
</apex:column>
[More Columns showing data in the same style as above]
</apex:pageBlockTable>
</apex:outputPanel>
ps. HideOnEdit also does not work. but I assume its the same problem so will be solved as long as ShowOnEdit is solved.