Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.3
-
Component/s: None
-
Labels:None
-
Environment:Any
Description
As mentioned in ICE-10777, it would be worth investigating if the HTML5 file input element can support client-side validation of file-type/extension. If so, we should add support for it (on supported browsers) as this would be more efficient than the current approach of uploading the file and then performing the type validation afterwards.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Arturo Zambrano [ artzambrano ] |
| Fix Version/s | 4.3 [ 13096 ] |
| Summary | Investigate HTML5 file input validation capabilities | ace:fileEntry - Support client-side validation of file types |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #52148 | Tue Dec 12 15:54:37 MST 2017 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryMeta.java
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.js
|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #52167 | Thu Dec 14 11:07:26 MST 2017 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages.properties
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.js
|
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #52421 | Tue May 01 15:39:15 MDT 2018 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/view/menu/data/CentralDataList.java
ADD
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryValidateType.xhtml
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties
ADD
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/fileentry/FileEntryValidateTypeBean.java
|
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #52423 | Wed May 02 17:17:03 MDT 2018 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryValidateType.xhtml
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties
|
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #52450 | Tue May 15 10:16:54 MDT 2018 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties
|
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #52454 | Wed May 16 15:21:38 MDT 2018 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.css
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.js
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #52455 | Wed May 16 15:38:17 MDT 2018 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.css
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.js
|
| Status | Resolved [ 5 ] | Closed [ 6 ] |

r52148: added client-side file type validation via 'acceptType' attribute to single upload mode
Note that this feature doesn't depend on HTML5, so it works on most browsers.