Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 3.3
-
Fix Version/s: 4.0.BETA
-
Component/s: Push Library
-
Labels:None
-
Environment:ICEpush, JSP
Description
ICEpush JSP tags should take advantage of Cloud Push features.
Issue Links
- is duplicated by
-
PUSH-213
<push:cloudPush> tag
-
- Closed
-
There are two ICEpush tags that can benefit from Cloud Push features:
<push:push group="myGroup">
<push:pushPeriodic group="myGroup" interval="milliseconds" >
Currently Cloud Push makes use of a PushNotification with subject and detail. (This will be expanded in the future to include sounds and other device features associated with the notification.) A new tag can be defined:
<push:pushNotification subject="mySubject" detail="myDetail" />
This is used as follows:
<push:push group="myGroup">
<push:pushNotification subject="mySubject" detail="myDetail" />
</push:push>
<push:pushPeriodic group="myGroup" interval="milliseconds" >
<push:pushNotification subject="mySubject" detail="myDetail" />
</push:pushPeriodic>
By defining this as a child tag rather than additional attributes we maintain a closer mapping to the PushContext API and support the PushContext extension mechanism through PushConfiguration. For instance, additional child tags can be defined for a variety of specific PushConfiguration types without requiring a large number of attributes on the basic push tag.