Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.3
-
Fix Version/s: EE-4.0.0.GA, 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Icefaces 3.3 from trunk
-
Assignee Priority:P1
Description
I got app with many separated pages. Some of the use ace:fileEntry.
Breakpoint on FileEntryFormSubmit.processEvent() amazingly show this method is called 6-9 times on pages also on pages without ace:fileEntry included?
Breakpoint on FileEntryFormSubmit.processEvent() amazingly show this method is called 6-9 times on pages also on pages without ace:fileEntry included?
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
FileEntryFormSubmit is a SystemEventListener that listens for form components being added to the page, on every single lifecycle, and adds javascript to make the form submit work with the fileEntry uploading code, if the form contains any fileEntry components. The more forms on your page, the more this will be called. Is there some performance problem you're experiencing with this?
Show
Mark Collette
added a comment - - edited FileEntryFormSubmit is a SystemEventListener that listens for form components being added to the page, on every single lifecycle, and adds javascript to make the form submit work with the fileEntry uploading code, if the form contains any fileEntry components. The more forms on your page, the more this will be called. Is there some performance problem you're experiencing with this?
Modified ice.ace.fileentry.cancelFileSelection function to clone the submitting element and avoid serializing the included input[type=file] elements. This ensures that Myfaces will not invalidate the form submit and cause the issued single submit to fail (including the element cleanup it needs to do).