Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-5097

fileUpload component description update

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.3.0
    • Component/s: doc
    • Labels:
      None

      Description

      fileUpload section should be updated, for example there is no documentation on how to deal with "clear" or "cancel" actions on uploaded files on the
      server side at all.

        Gliffy Diagrams

          Activity

          Hide
          atsebro Alex Tserbo added a comment -

          Following paragraph was added into the <rich:fileUpload> chapter:

          1.
          Each file in list waiting for upload has link "Cancel" opposite its name. Clicking this link invokes JS API remove() function, which gets $('id').component.entries[i] as a parameter and removes the particular file from list and from the queue for upload. When file has been uploaded then link "Cancel" changes to "Clear". Clicking "Clear" invokes clear() JS API function, which also gets ID of the particular entry and removes it from the list. Uploaded to server file itself is kept untouched.

          2.
          remove() function and its description was added into the "JavaScript API" table.

          Show
          atsebro Alex Tserbo added a comment - Following paragraph was added into the <rich:fileUpload> chapter: 1. Each file in list waiting for upload has link "Cancel" opposite its name. Clicking this link invokes JS API remove() function, which gets $('id').component.entries [i] as a parameter and removes the particular file from list and from the queue for upload. When file has been uploaded then link "Cancel" changes to "Clear". Clicking "Clear" invokes clear() JS API function, which also gets ID of the particular entry and removes it from the list. Uploaded to server file itself is kept untouched. 2. remove() function and its description was added into the "JavaScript API" table.
          Hide
          atsebro Alex Tserbo added a comment -

          Done.

          Show
          atsebro Alex Tserbo added a comment - Done.

            People

            • Assignee:
              atsebro Alex Tserbo
              Reporter:
              smukhina Svetlana Mukhina
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Development