ICEfaces
  1. ICEfaces
  2. ICE-1675

Framework specific ID (ICEfaces ID and view number) handling breaks multiple portlets on a page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#5
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Portlet
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      Our current handling of ICEfaces IDs and view numbers causes problems when there are multiple ICEfaces portlets on a page served from separate archives. The problem stems from the fact that ICEfaces IDs and view numbers are not generated based on the session, which is shared between multiple portlets on a page. Instead, these framework specific IDs are generated per servlet, which are NOT shared between portlets when those portlets are served from separate deployment archives (war files).

      So there are at least two things that probably need to be done:

      1) The generation of ICEfaces IDs must be session specific. That is, portlets that may be deployed as separate web apps but could potentially share a session so the ICEfaces ID must be generated and stored in reference to that shared session to ensure that additional communication is properly directed.

      2) View numbers generation needs to be unique to the session to avoid view number collisions in portlets served from separate deployment archives.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15060 Wed Oct 31 12:42:02 MDT 2007 mircea.toma Refactor.
          ICE-1675
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/ElementController.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15058 Wed Oct 31 12:30:48 MDT 2007 mircea.toma Segregate context path configuration to integrate with a singleton async-server.

          ICE-1675
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/ElementController.java
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/connection.async.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/connection.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15012 Tue Oct 23 16:11:32 MDT 2007 mircea.toma Instantiate Bridge per container element.
          ICE-1675
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/identity.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15010 Tue Oct 23 15:49:45 MDT 2007 mircea.toma Instantiate Bridge per container element.
          ICE-1675
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/command.js
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15007 Tue Oct 23 13:54:27 MDT 2007 mircea.toma Instantiate Bridge per container element.
          ICE-1675
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/element.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/logger.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/effects/JavascriptContext.java
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/bootstrap.js
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/event.js
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/parameters.js
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/submit.js
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/command.js
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/identity.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/ElementController.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/style.js

            People

            • Assignee:
              Unassigned
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: