Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
All of the user messaging in the InputFile component are hard-coded and can't be customized. We need to keep the defaults but allow users to set these messages in a ReourceBundle.
Exception processing updates
File info is null
the request was rejected because it's size is unknown
the request was rejected because it's size exceeds allowed range
File not found
Input File File Info is null
This is not a valid file
the request was rejected because no multipart boundary was found
and on iceupload.html:
Please wait file is uploading to the server
Exception processing updates
File info is null
the request was rejected because it's size is unknown
the request was rejected because it's size exceeds allowed range
File not found
Input File File Info is null
This is not a valid file
the request was rejected because no multipart boundary was found
and on iceupload.html:
Please wait file is uploading to the server
Activity
Philip Breau
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Estimated Complexity | Low | |
Fix Version/s | 1.6 [ 10031 ] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration] | |
Assignee Priority | P2 | |
Assignee | Ken Fyten [ ken.fyten ] | Adnan Durrani [ adnan.durrani ] |
Adnan Durrani
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Adnan Durrani
made changes -
Attachment | detail.txt [ 10290 ] |
Adnan Durrani
made changes -
Fix Version/s | 1.6DR#1 [ 10035 ] | |
Fix Version/s | 1.6 [ 10031 ] |
Ken Fyten
made changes -
Fix Version/s | 1.6 [ 10031 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 | |
Assignee | Adnan Durrani [ adnan.durrani ] |
The ability of defining facesMessages using icefaces' resourseBundle and overriding these messages by an application has been added to the icefaces. So now messages of the custom components can be I18N and overridden by the application developers. The inputFile component defines the following messages, that can be overridden by the application as well:
com.icesoft.faces.component.inputfile.INVALID_FILE=''
{0}'' is not a valid filecom.icesoft.faces.component.inputfile.INVALID_NAME_PATTERN=The file name ''{0}
'' does not match with the file name pattern ''
{1}''
com.icesoft.faces.component.inputfile.SIZE_LIMIT_EXCEEDED=the request was rejected because it's size exceeds allowed range
com.icesoft.faces.component.inputfile.UNKNOWN_SIZE=the request was rejected because it's size is unknown