push

Table of Contents

Overview

Since 3.0

You can use the icecore:push tag to configure Ajax Push behavior on a per-view basis.

See the ICEfaces Showcase Live Demo of this component, complete with source code.

Getting Started

To 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

TagLib Documentation
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.

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.

Use

The 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.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2018 ICEsoft Technologies Canada Corp.