I'm trying to pass a parameter from a Visualforce page to the controller in an apex:actionfunction however I'm facing a strange dilemma.
The only way the apex:param works with the action function is if there is a rerender attribute on it. Unfortunately I can't use a rerender because I also have an apex:inputfile on the page; which causes an error if there is a rerender attribute.
Any ideas how to pass a parameter to the controller without using an apex:param.