Details
-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: Windows XP
Platform: PC
-
ICEsoft Forum Reference:
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
noted in the forum: http://www.icefaces.org/JForum/posts/list/0/3110.page#14971
We need to allow the developer to define what file types are acceptable to
upload. Currently, it doesn't seem that there's any way to do this through the
actionListener or progressListener as there's no access to the file information
until it's completely uploaded.
We need to allow the developer to define what file types are acceptable to
upload. Currently, it doesn't seem that there's any way to do this through the
actionListener or progressListener as there's no access to the file information
until it's completely uploaded.
Activity
Philip Breau
created issue -
Icefaces Administrator
made changes -
Field | Original Value | New Value |
---|---|---|
issue.field.bugzillaimportkey | 1106 | 12349 |
Ken Fyten
made changes -
Fix Version/s | 1.6DR1 [ 10035 ] | |
Fix Version/s | 1.6 [ 10031 ] |
Ken Fyten
made changes -
ICEfaces Forum Reference | http://www.icefaces.org/JForum/posts/list/0/3110.page#14971 | |
Affects | [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration] |
Ken Fyten
made changes -
Affects | [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration] | [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial] |
Ken Fyten
made changes -
Fix Version/s | 1.6 [ 10031 ] |
Ken Fyten
made changes -
Summary | Feature request: InputFile needs <ice:acceptedFileTypesValidator/> | Feature request: InputFile needs "ice:acceptedFileTypesValidator" |
Affects | [Sample App./Tutorial, Documentation (User Guide, Ref. Guide, etc.)] | [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Adnan Durrani [ adnan.durrani ] |
Fixed -r 13016
The new fileNamePattern have been added to the inputFile component. Which
allows to define the acceptable type of files to be uploaded using the regular
expression. If file does not conform the defined pattern the component throws
Fileupload exception and the actionEvent being invoked.
The default pattern being set to ".+" to accept any file. The metadata has
been updated with comments.