Hi,
I'm on Jdev 11.1.1.7 and I'm trying to use the af:inputFile component but am having troubles when the Max file size error happens. After the warning the file that was attempted is still in the value field and the update button displayed. When the update popup is used to try to fix this you get stuck in there with neither button allowing you to leave. I have seen this problem described in an archived conversation () started by @"KT" but I'm having trouble getting a message to him to ask if he/she resolved it.
The file size validation occurs before the setUploadedFile or any valueChangeListener is called so I can't seem to catch it either.
A further complication is that we have another example using the af:inputFile in out app which works fine, the difference seems to be that the component doesn't validate the size immediately, but waits until the commit, whereas the problem component is validating immediately on autosubmit and failing. The two components have the exact same attributes, so I'm thinking the cause is something outside the actual component, but can't find what it would be.
The ADF code for the component is:
<af:panelLabelAndMessage label="#{bindings.Filename.hints.label}"
id="plam37"
showRequired="true">
<af:inputFile label="#{bindings.Filename.hints.label}"
id="if1"
autoSubmit="true"
binding="#{ManageDocumentsBackBean.inputFile1}"
value="#{ManageDocumentsBackBean.uploadedFile}"
showRequired="true"
required="true"
simple="true"/>
</af:panelLabelAndMessage>
Regards,
David