Order of files using FileUpload Component
-----------------------------------------
Key: RF-4748
URL:
https://jira.jboss.org/jira/browse/RF-4748
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: All Platforms & OS
Reporter: Ravi Kiran Bhaskar
Assignee: Alexander Dubovsky
Fix For: Future
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: