Can some one please let me know why I am getting this error here?
<apex:page controller="abc">
<apex:form>
<apex:actionFunction name="addRow" action="{!addRow}" reRender="container">
<apex:param name="keyValue" assignTo="{!keyValue}" value=""/>
</apex:actionFunction>
<apex:pageBlock id="container">
<apex:repeat value="{!attachmentMap}" var="key">
<apex:pageBlockSection title="section {!key}">
<apex:outputLabel>Section {!key}</apex:outputLabel>
<apex:outputPanel styleClass="btn" onclick="addRow('{!key}')">
<apex:outputLabel>Add</apex:outputLabel>
</apex:outputPanel>
<apex:repeat value="{!attachmentMap[key]}" var="uploadFile">
<apex:inputFile value="{!uploadFile.body}" ></apex:inputFile>
</apex:repeat>
</apex:pageBlockSection>
</apex:repeat>
</apex:pageBlock>
</apex:form>
</apex:page>
Error: apex:inputFile can not be used in conjunction with an action component, apex:commandButton or apex:commandLink that specifies a rerender or oncomplete attribute.
inputFile
AND theactionFunction
inactionRegion
s. If so, please let us know what you have tried in order to get it to work. – Programmable Medley Apr 1 '15 at 15:29