ICEfaces
  1. ICEfaces
  2. ICE-5064

compat version of component-showcase not loading proper style for outputConnectionStatus

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0-Alpha2, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      jsf2.0, ICEfaces2.0, compat version

      Description

      for example, the outputConnectionStatus loads styles the following way in 1.8.2:-
      <div class="body_content">
      <div id="connectStat" class="iceOutConStat navConnectionStatus">
      <div id="connectStat:connection-idle" class="iceOutConStatInactv navConnectionStatusInactv" style="visibility: visible;"/>
      <div id="connectStat:connection-working" class="iceOutConStatActv navConnectionStatusActv" style="visibility: hidden;"/>
      <div id="connectStat:connection-trouble" class="iceOutConStatCaution navConnectionStatusCaution" style="visibility: hidden;"/>
      <div id="connectStat:connection-lost" class="iceOutConStatDisconnect navConnectionStatusDisconnect" style="visibility: hidden;"/>


      Note how the resources are loaded in jsf2.0, compat version:-

      <div id="connectStat" class="iceOutConStat navConnectionStatus">
      <div id="connectStat:connection-idle" class="iceOutConStatInactv navConnectionStatusInactv"/>
      <div id="connectStat:connection-working" class="iceOutConStatActv navConnectionStatusActv" style="visibility: hidden;"/>
      <div id="connectStat:connection-trouble" class="iceOutConStatCaution navConnectionStatusCaution" style="visibility: hidden;"/>
      <div id="connectStat:connection-lost" class="iceOutConStatDisconnect navConnectionStatusDisconnect" style="visibility: hidden;"/>


      the idle status for 2.0 has lost it's style reference.

        Issue Links

          Activity

          Hide
          Adnan Durrani added a comment -

          The outputConnectionStatus component maintain its state through the bridge API, seems like it not there anymore.

          Assigning Mircea to confirm it.

          <script type="text/javascript">
          'connectStat'.asExtendedElement().findContainerFor('bridge').bridge.attachStatusManager(function(defaultStatusManager)

          {return new Ice.Status.ComponentStatusManager('connectStat:connection-working', 'connectStat:connection-idle', 'connectStat:connection-trouble', 'connectStat:connection-lost', defaultStatusManager, true, false);}

          )
          ;</script>

          Show
          Adnan Durrani added a comment - The outputConnectionStatus component maintain its state through the bridge API, seems like it not there anymore. Assigning Mircea to confirm it. <script type="text/javascript"> 'connectStat'.asExtendedElement().findContainerFor('bridge').bridge.attachStatusManager(function(defaultStatusManager) {return new Ice.Status.ComponentStatusManager('connectStat:connection-working', 'connectStat:connection-idle', 'connectStat:connection-trouble', 'connectStat:connection-lost', defaultStatusManager, true, false);} ) ;</script>
          Hide
          Judy Guglielmin added a comment -

          rev 19993 shows this error with IE7

          Webpage error details

          User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MSN Optimized;US)
          Timestamp: Tue, 15 Dec 2009 19:51:28 UTC

          Message: Object doesn't support this property or method
          Line: 26
          Char: 1
          Code: 0
          URI: http://localhost:8080/component-showcase/showcase.jsf

          Show
          Judy Guglielmin added a comment - rev 19993 shows this error with IE7 Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MSN Optimized;US) Timestamp: Tue, 15 Dec 2009 19:51:28 UTC Message: Object doesn't support this property or method Line: 26 Char: 1 Code: 0 URI: http://localhost:8080/component-showcase/showcase.jsf
          Hide
          Mircea Toma added a comment -

          Fixed by resolution of ICE-4995.

          Show
          Mircea Toma added a comment - Fixed by resolution of ICE-4995 .
          Hide
          Ken Fyten added a comment -

          The connection status seems to always show the following, even though it should be active:

          <div id="connectStat:connection-idle" class="iceOutConStatInactv navConnectionStatusInactv" style="visibility: visible;"/>
          <div style="visibility: hidden;" id="connectStat:connection-working" class="iceOutConStatActv navConnectionStatusActv"/>
          <div style="visibility: hidden;" id="connectStat:connection-lost" class="iceOutConStatDisconnect navConnectionStatusDisconnect"/>
          <script type="text/javascript" id="connectStatscript">ice.onLoad(function()

          {ice.ComponentIndicators('connectStat:connection-working', 'connectStat:connection-idle', 'connectStat:connection-trouble', 'connectStat:connection-lost', true, false);}

          );</script>

          Show
          Ken Fyten added a comment - The connection status seems to always show the following, even though it should be active: <div id="connectStat:connection-idle" class="iceOutConStatInactv navConnectionStatusInactv" style="visibility: visible;"/> <div style="visibility: hidden;" id="connectStat:connection-working" class="iceOutConStatActv navConnectionStatusActv"/> <div style="visibility: hidden;" id="connectStat:connection-lost" class="iceOutConStatDisconnect navConnectionStatusDisconnect"/> <script type="text/javascript" id="connectStatscript">ice.onLoad(function() {ice.ComponentIndicators('connectStat:connection-working', 'connectStat:connection-idle', 'connectStat:connection-trouble', 'connectStat:connection-lost', true, false);} );</script>
          Hide
          Mircea Toma added a comment -

          I tested with success the connection status component with a fresh checkout of Glimmer.

          Show
          Mircea Toma added a comment - I tested with success the connection status component with a fresh checkout of Glimmer.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: