RichFaces
  1. RichFaces
  2. RF-5097

fileUpload component description update

    Details

    • Type: Task Task
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.3.0
    • Component/s: doc
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      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.

        Activity

        Hide
        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
        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
        Alex Tserbo
        added a comment -

        Done.

        Show
        Alex Tserbo
        added a comment - Done.

          People

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

            Dates

            • Due:
              Created:
              Updated:
              Resolved: