Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 3.2
-
Fix Version/s: None
-
Component/s: Push Library
-
Labels:None
-
Environment:n/a
Description
Currently, the developer must declare the following javascript when using Cloud Push in a JSP or Spring MVC environment:
<script type="text/javascript">
<%
String cloudPushId = Utils.getCloudPushId(request);
if (null != cloudPushId) {
out.println("window.addEventListener('load', function() { ice.push.parkInactivePushIds('" + cloudPushId + "'); }, false);");
}
%>
</script>
This could be integrated in a new push tag
<script type="text/javascript">
<%
String cloudPushId = Utils.getCloudPushId(request);
if (null != cloudPushId) {
out.println("window.addEventListener('load', function() { ice.push.parkInactivePushIds('" + cloudPushId + "'); }, false);");
}
%>
</script>
This could be integrated in a new push tag
Issue Links
- duplicates
-
PUSH-215 Cloud Push support for ICEpush JSP
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion