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

need help on Error related to apex:input file



I'm getting apex:inputFile can not be used in conjunction with an action component, apex:commandButton or apex:commandLink that specifies a rerender or oncomplete attribute.error as I have many other rerender attributes for other components.


It seems that we can't use apex:input file and rerender methods together. But is there any work around for this.





Yes, it is true, You can have a popup window for file upload functionality, and after upload you can close that popup and come to original window.