ICEfaces
  1. ICEfaces
  2. ICE-9338

Resource coalescing omitting fileentry.js

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3, EE-3.3.0.GA
    • Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Liferay portal 6.1.1 on Tomcat 7.0.27 with Liferay faces bridge 3.1.2 and ICEfaces 3.3 EE tag branch HEAD
    • Assignee Priority:
      P1

      Description

      Having an ICEfaces ACE FileEntry portlet on its own works fine with coalescing. The included fileentry.js code can be readily found. But, if another ACE component sample portlet is added, for example Accordion, and the display is refreshed, then there is this exception:

      Uncaught TypeError: Cannot call method 'captureFormOnsubmit' of undefined

      This is because the ice.ace.fileentry.captureFormOnsubmit function is not found since the file it comes in is not included:

      icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.js

      This might be related to ICE-9263.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #37007 Wed Jul 17 17:17:24 MDT 2013 mircea.toma ICE-9338 Implement hashCode method for the CoalescingResource.Info class to make the hash set used for merging resources effective when removeAll() method is invoked on the set.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/CoalescingResource.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #36976 Tue Jul 16 15:13:34 MDT 2013 mircea.toma ICE-9338, ICE-9433 Make sure to also add the unordered resources at the end of the list of merged resources.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/CoalescingResourceHandler.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #36967 Tue Jul 16 10:17:36 MDT 2013 mircea.toma ICE-9338 The resources collected previously are merged now with the currently collected ones so that when multiple views are processed (such as in portlets) the coalescing resource contains the resources needed by all the rendered views.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/ResourceOrdering.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/CoalescingResourceHandler.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #36173 Tue Jun 11 17:21:05 MDT 2013 deryk.sinotte ICE-9338: adjust coalescing of scripts to use "safe" session attribute access so that it works in portlets as well
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/CoalescingResourceHandler.java

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Mark Collette
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: