apex:inputFile
component, but I'm a bit confused about why rerendering part of a page that has no apex:inputFile
component should generate the following 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.
I've created a demo for getting the error message, although you can't see the exact error message unless you deploy the page in your own sandbox. The source code can be downloaded here.
What I expected was that my partial page refresh of "Dependent Section" would work just fine. However, when I change the value in my controlling picklist, the page just fails, with the error mentioned above.
Is this a bug? I'm not sure what Salesforce would say, but it certainly is puzzling and extremely frustrating to me.