OverviewSince 3.0 You can use the icecore:push tag to configure Ajax Push behavior on a per-view basis.
Getting StartedTo use the icecore:push tag, first declare the core namespace:
<html ... xmlns:icecore="http://www.icefaces.org/icefaces/core">
Then add the icecore:push tag to your page markup, setting the required group attribute. A view can be added to one or more push groups by adding one or more occurrences of this tag. <h:body> <icecore:push group="groupNameA"/> <icecore:push group="groupNameB"/> ... Attributes
group (since ICEfaces 3.0) Allows control of the current view being added to a push group. This is a mandatory attribute specifying the group the view must be added to. UseThe icecore:push tag allows more fine-grained control than PushRenderer.addCurrentSession() since only the current page is added to the push group, rather than all pages in the session. This makes it best suited to applications where a small subset of pages require push functionality. If you require shared push functionality on all application pages, PushRenderer.addCurrentSession() is preferred. |
push
© Copyright 2021 ICEsoft Technologies Canada Corp.