Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.0.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces 2 JSF 2.0.3
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
This code resulted in the outputConnectionStatus component rendering in disconnected state in ICEfaces 1.8.2:
<ice:outputConnectionStatus showPopupOnDisconnect="true"/>
<h:form>
<h:commandButton value="Invalidate Session" actionListener="#{applicantController.invalidate}" />
</h:form>
public void invalidate(ActionEvent ae){
ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
HttpServletRequest req = (HttpServletRequest)ectx.getRequest();
HttpSession session = req.getSession(false);
if(session != null){
session.invalidate();
}
}
When using this component in ICEfaces 2, the icon renders in disconneted state, but there is also a modal popup (without the reload button)
User Session Expired
Reload this page to start a new user session.
So the default befavior has changed, giving us a modal pane by default now and this seems to overlap with the showPopupOnDisconnect="true" attribute (which brings up a different modal pane with a reload button)
<ice:outputConnectionStatus showPopupOnDisconnect="true"/>
<h:form>
<h:commandButton value="Invalidate Session" actionListener="#{applicantController.invalidate}" />
</h:form>
public void invalidate(ActionEvent ae){
ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
HttpServletRequest req = (HttpServletRequest)ectx.getRequest();
HttpSession session = req.getSession(false);
if(session != null){
session.invalidate();
}
}
When using this component in ICEfaces 2, the icon renders in disconneted state, but there is also a modal popup (without the reload button)
User Session Expired
Reload this page to start a new user session.
So the default befavior has changed, giving us a modal pane by default now and this seems to overlap with the showPopupOnDisconnect="true" attribute (which brings up a different modal pane with a reload button)
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24114 | Wed Mar 09 15:59:30 MST 2011 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/samples/core/test/invalidate/src/main/webapp/error-handler.js
MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/javascript/status.js MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/status.js MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24113 | Wed Mar 09 15:50:23 MST 2011 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/javascript/application.js
MODIFY /icefaces2/trunk/icefaces/samples/compat/component-showcase/src/main/webapp/WEB-INF/web.xml MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/application/ExtrasSetup.java MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/javascript/status.js MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/status.js |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24096 | Mon Mar 07 08:20:48 MST 2011 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/javascript/application.js
MODIFY /icefaces2/trunk/icefaces/samples/compat/component-showcase/src/main/webapp/WEB-INF/web.xml MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/status.js MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java |