ICEfaces
  1. ICEfaces
  2. ICE-9121

FileEntryFormSubmit.processEvent() invoked too often.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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?

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44096 Thu Feb 19 18:09:02 MST 2015 mircea.toma ICE-9121 Clone the submitting element in ice.ace.fileentry.cancelFileSelection function to avoid serializing the contained input[type=file] elements (also avoid having Myfaces complain and drop the request).
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44084 Wed Feb 18 17:43:13 MST 2015 mircea.toma ICE-9121 Wire FileEntryFormSubmit listener fo pre-render events to ensure that FileEntry can be found among the grand/children of the form.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44045 Wed Feb 11 13:18:05 MST 2015 mircea.toma ICE-9121 Add back FileEntryLoader class to register FileEntryPhaseListener on startup.
        Files Changed
        Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryLoader.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44035 Tue Feb 10 06:29:31 MST 2015 mircea.toma ICE-9121 Assign IDs to the components that trigger the creation of 'head' and 'body' facet containers to avoid interfering with ID generation (in particular for the UIViewRoot).
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/InitializeHeadAndBodyFacetContainers.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43994 Mon Feb 02 19:01:48 MST 2015 mircea.toma ICE-9121 Register FileEntryFormSubmit listener in faces-config.xml instead of doing it programmaticaly from FileEntryLoader bean. Fire FileEntryFormSubmit listener when enclosing form is added to component tree to avoid triggering infinite loop in Myfaces.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryFormSubmit.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml
        Commit graph DEL /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryLoader.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43937 Wed Jan 21 17:52:17 MST 2015 mircea.toma ICE-9121 Prefix IDs of dynamically added components with parent's ID to avoid duplicate IDs in the component tree. Fix lookup for progress bar div.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryFormSubmit.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/ProgressListenerResourcePusher.java
        Commit graph DEL /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FormScriptWriter.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43920 Mon Jan 19 12:58:05 MST 2015 mircea.toma ICE-9121 Subscribe FileEntryFormSubmit for PostAddToViewEvent type events.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryLoader.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43919 Mon Jan 19 12:56:55 MST 2015 mircea.toma ICE-9121 Removed unused method.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryFormSubmit.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43918 Mon Jan 19 12:23:13 MST 2015 mircea.toma ICE-9121 Modified FileEntryFormSubmit listener to process only the addition of FileEntry to the component tree event.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryFormSubmit.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Krashan Brahmanjara
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: