ICEfaces
  1. ICEfaces
  2. ICE-2189

CSS stylesheets not updated properly when 'head' element is modified

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1, 1.7DR#1
    • Fix Version/s: 1.6.2, 1.7DR#2, 1.7
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      IE, Safari

      Description

      Usualy when 'forwarding' navigation rules are used DOM diffs are generated for the 'head' element. When the head contains CSS stylesheet references (or Javascript code references) they are not applied (or executed) properly.

        Issue Links

          Activity

          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Mircea Toma [ mircea.toma ]
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Mircea Toma made changes -
          Fix Version/s 1.6.2 [ 10111 ]
          Fix Version/s 1.7DR#2 [ 10110 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #14954 Fri Oct 12 14:08:24 MDT 2007 mircea.toma Force page reload on 'head' element update -- ICE-2189
          Files Changed
          Commit graph ADD /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/command/Reload.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #14953 Fri Oct 12 13:52:56 MDT 2007 mircea.toma Force page reload on 'head' element update -- ICE-2189
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/bridge/src/command.js
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/command/SetCookie.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/command/Command.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/command/Redirect.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/command/SessionExpired.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/context/PushModeSerializer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/bridge/src/application.js
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/command/NOOP.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/command/UpdateElements.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/command/Pong.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/command/Macro.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #14952 Fri Oct 12 13:46:32 MDT 2007 mircea.toma Send the view number with the 'reload' message -- ICE-2189
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/command.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/Reload.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/PushModeSerializer.java
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Mircea Toma added a comment -

          Remove 'head' element's 'id' attribute to force an update for 'html' element.
          Detect when 'html' element is updated and send a 'reload' message instead of the actual update. This will force a page reload which in turn will force re-applying the CSS stylesheets.

          Show
          Mircea Toma added a comment - Remove 'head' element's 'id' attribute to force an update for 'html' element. Detect when 'html' element is updated and send a 'reload' message instead of the actual update. This will force a page reload which in turn will force re-applying the CSS stylesheets.
          Mircea Toma made changes -
          Assignee Mircea Toma [ mircea.toma ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #14915 Tue Oct 09 18:02:27 MDT 2007 mircea.toma Force page reload on 'head' element update -- ICE-2189
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/command.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/Command.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/NOOP.java
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/Pong.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/UpdateElements.java
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/Reload.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/SetCookie.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/SessionExpired.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/Macro.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/Redirect.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/PushModeSerializer.java
          Mircea Toma made changes -
          Field Original Value New Value
          Link This issue blocks ICE-2177 [ ICE-2177 ]
          Mircea Toma created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Mircea Toma
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: