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

          Judy Guglielmin created issue -
          Judy Guglielmin made changes -
          Field Original Value New Value
          Link This issue depends on ICE-4458 [ ICE-4458 ]
          Ken Fyten made changes -
          Assignee Adnan Durrani [ adnan.durrani ]
          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>
          Adnan Durrani made changes -
          Link This issue depends on ICE-4995 [ ICE-4995 ]
          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
          Ken Fyten made changes -
          Summary compat version of component-showcase not loading proper style for some components compat version of component-showcase not loading proper style for outputConnectionStatus
          Salesforce Case []
          Assignee Adnan Durrani [ adnan.durrani ] Mircea Toma [ mircea.toma ]
          Hide
          Mircea Toma added a comment -

          Fixed by resolution of ICE-4995.

          Show
          Mircea Toma added a comment - Fixed by resolution of ICE-4995 .
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 2.0-Alpha2 [ 10214 ]
          Ken Fyten made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Security Private [ 10001 ]
          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>
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #20206 Wed Jan 13 07:55:43 MST 2010 judy.guglielmin ICE-5064 resolved
          Files Changed
          Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/samples/component-showcase/src/org/icefaces/application/showcase/util/LocaleBean.java
          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.
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 2.0.0 [ 10230 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2

            People

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

              Dates

              • Created:
                Updated:
                Resolved: