[richfaces-issues] [JBoss JIRA] Created: (RF-4748) Order of files using FileUpload Component

Ravi Kiran Bhaskar (JIRA) jira-events at lists.jboss.org
Mon Oct 27 12:30:33 EDT 2008


Order of files using FileUpload Component
-----------------------------------------

                 Key: RF-4748
                 URL: https://jira.jboss.org/jira/browse/RF-4748
             Project: RichFaces
          Issue Type: Feature Request
    Affects Versions: 3.3.0, Future, Wishes
         Environment: All Platforms &  OS
            Reporter: Ravi Kiran Bhaskar


if I am uploading files via rich:fileUpload and the upload dialog box shows the
1.jpg
2.jpg
3.jpg
4.jpg

And I select all files top-down the order in which the files show up in the fileupload screen is

4.jpg
1.jpg
2.jpg
3.jpg

(Note that the last pic 4.jpg ends up first)

and If I select bottom up i.e 4.jpg through 1.jpg then it shows up in correct order in the fileuploadscreen like the following

1.jpg
2.jpg
3.jpg
4.jpg

Is there any way which can give correct ordering when selected top-down ? Sorting files by names after uploading might not be an option in some cases where the application might not know ahead of time whether the names are numeric/alphanumeric.

If richfaces ends up implementing sorting, it would also be wiser to implement sorting by name/type/size/starts with etc  to make the component more useful for all types of applications/scenarios.

Thanking you in anticipation,

Ravi

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list