Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha1
-
Fix Version/s: 2.0-Alpha2, 2.0.0
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces, non-ICEfaces
-
Workaround Exists:Yes
-
Workaround Description:
Description
Issue Links
- depends on
-
ICE-4949 Support the partial page process features of JSF 2.0
-
- Closed
-
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The following JavaScript reference is inserted for non-ICEfaces pages:
<script type="text/javascript" src="/basic/javax.faces.resource/bridge.js.jsf">
<script type="text/javascript">ice.onLoad(function() { try {document.body.bridge = ice.Application({blockUI: false,session: '7398CBFA84C9E77650124474F2243EF6',connection: {heartbeat: {},context: {current: '/basic/',async: '/basic/'}},messages: {sessionExpired: 'User Session Expired',connectionLost: 'Network Connection Interrupted',serverError: 'Server Internal Error',description: 'To reconnect click the Reload button on the browser or click the button below',buttonText: 'Reload'}},document.body); } catch (e)
{ alert(e); }; });</script>
I created this ticket:
http://jira.icefaces.org/browse/ICE-7168
Basically, icefaces is adding a handler via jsf.ajax.addOnEvent, which will get processed for ALL requests on the page even those coming from non-icefaces portlets. It would be ok, if it detected when the request was NOT from an icefaces form and failed gracefully allowing the actual request to complete and be handled by the non-icefaces requester.