i am getting 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.
but i cant skip using rerender or oncomplete. how can i solve this.
<apex:actionRegion >
<apex:outputPanel id="Panel">
<apex:repeat value="{!wrapperValues}" var="w">
<apex:inputfile value="{!w.document}"/>
</apex:repeat>
</apex:outputPanel>
<apex:commandbutton style="width: 170px;" value="Add another" action="{!addAnother}" reRender="Panel" />
</apex:actionRegion>
