Details
-
Type: Bug
-
Status: Closed
-
Priority: 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.
<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.
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">
{return new Ice.Status.ComponentStatusManager('connectStat:connection-working', 'connectStat:connection-idle', 'connectStat:connection-trouble', 'connectStat:connection-lost', defaultStatusManager, true, false);}'connectStat'.asExtendedElement().findContainerFor('bridge').bridge.attachStatusManager(function(defaultStatusManager)
)
;</script>