Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.3
-
Fix Version/s: EE-4.3.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Showcase IceSoft
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
In the Showcase, changing the name of the file on ace:dynamicResource does not have any effect. The downloaded file (attachment) is always the default one.
SeeICE-10654 which claims the problem to be fixed but it isn't.
This is even worse if the Mime-Type changes dynamically eg. due to choosen Filetype to download by user. FileName and MimeType values of ace:dynamicResource must be forced reevaluated once the button is pressed in order to get the right values matching to the download at this moment.
This is quite a heavy bug as it makes ace:dynamicResource more or less useless.
See
This is even worse if the Mime-Type changes dynamically eg. due to choosen Filetype to download by user. FileName and MimeType values of ace:dynamicResource must be forced reevaluated once the button is pressed in order to get the right values matching to the download at this moment.
This is quite a heavy bug as it makes ace:dynamicResource more or less useless.
Activity
Markus Guenther
created issue -
Arturo Zambrano
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Arturo Zambrano [ artzambrano ] |
Ken Fyten
made changes -
Fix Version/s | EE-4.3.0.GA [ 13103 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52777 | Tue Nov 13 15:28:44 MST 2018 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dynamicResource/dynamicResourceAdvanced.xhtml
|
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Summary | Changing the filename on ace:dynamicResource does not have any effect | Changing the filename on ace:dynamicResource does not have any effect in Showcase demo |
Ken Fyten
made changes -
Affects | Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial [ 10003, 10001 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52846 | Tue Dec 11 15:09:42 MST 2018 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dynamicresource/DynamicResourceMeta.java
|
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Found finally a workaround. Do force a ajax render="id of the dynamicResource" or simply @all whenever there might have happened an action to change the filename or mime type within the UI.
Note: In the Showcase this is done but only with event="valueChange" and this seems not to work there somehow. In my quite similar case it works with @all and no event selector