I have a colum
<apex:column value="{!b.name}" rendered="{!IF(b.account.name = a.account.name,true,false)}"/>
on which i want to do inline editing but I get the error:
must be the direct parent of
When i place th button directly under pageblock I get:
Unknown method
accSearchController.save()
Here is my code:
<apex:page Controller="accSearchController" sidebar="false" showHeader="false">
<apex:form >
<apex:pageBlock title="Openlucht Museum ledenbestand">
<apex:pageBlockButtons location="top">
<apex:inputText value="{!searchstring}" label="Input"/>
<apex:commandButton value="Zoek op naam" action="{!search}"/>
<apex:commandButton value="Ververs" action="{!clear}"/>
<apex:inputText value="{!searchstringmem}" label="Input"/>
<apex:commandButton value="Zoek op lidmaatschapnummer" action="{!searchmem}"/>
<apex:commandButton value="Ververs" action="{!clearmem}"/>
</apex:pageBlockButtons>
<apex:pageblockTable value="{!cont}" var="a">
<apex:column value="{!a.account.name}"/>
<apex:column >
<apex:pageblockTable value="{!cont}" var="b">
<apex:column value="{!b.name}" rendered="{!IF(b.account.name = a.account.name,true,false)}"/>
<apex:inlineEditSupport event="ondblClick" showOnEdit="saveButton,cancelButton" hideOnEdit="editButton" />
</apex:pageBlockTable>
</apex:column>
</apex:pageBlockTable>
<apex:pageblockTable value="{!contmem}" var="a">
<apex:column value="{!a.account.name}"/>
<apex:column value="{!a.id}"/>
</apex:pageBlockTable>
<apex:pageBlockButtons >
<apex:commandButton value="Edit" action="{!save}" id="editButton" />
<apex:commandButton value="Save" action="{!save}" id="saveButton" />
<apex:commandButton value="Cancel" action="{!cancel}" id="cancelButton" />
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>