ICEfaces
  1. ICEfaces
  2. ICE-3122

inputFile selectively post form

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      a/synchronous mode
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      ICE-2860 makes the inputFile POST its surrounding form, before and after the file upload, so that the user interface may show an indeterminate progress bar during the upload. That's for when the application is running in synchronous mode, and can't push progress notifications. But, it also happens when in asynchronous mode, which may be undesirable. And it's a bit of an incompatible behavioural change, since before the inputFile did not submit its parent form, whereas now it will.

      I recommend adding an attribute, to control when the form submissions may occur. It should be able to enumerate the following modes:

      Never
        - Form submissions would never occur
      NotAsync
        - Form submissions would not occur if the app was in asynchronous mode
      Before
        - Form submission would occur before the file upload
      After
        - Form submission would occur after the file upload, perhaps to process form fields along with the file
      BeforeAndAfter
        - Form submission would occur before and after the file upload, which is the current behaviour, to support synchronous mode

        Issue Links

          Activity

          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Ken Fyten made changes -
          Affects Version/s 1.7.1 [ 10122 ]
          Assignee Mark Collette [ mark.collette ]
          Mark Collette made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 1.7.1 [ 10122 ]
          Affects [Sample App./Tutorial] [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial]
          Mark Collette made changes -
          Link This issue depends on ICE-2860 [ ICE-2860 ]
          Mark Collette made changes -
          Field Original Value New Value
          Affects [Sample App./Tutorial]
          Assignee Mark Collette [ mark.collette ]
          Mark Collette created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Mark Collette
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: