a4j
Tag push


The <a4j:push> component performs real-time updates on the client side from events triggered at the server side. The events are pushed out to the client through the RichFaces messaging queue (which is bound to Java Messaging Service - JMS). When the <a4j:push> component is triggered by a server event, it can in turn cause Ajax updates and changes.

@author Nick Belaevski @author Lukas Fryc


Tag Information
Component type org.richfaces.Push
Tag Name a4j:push
Renderer Type org.richfaces.PushRenderer
Handler Class None

Attributes
Name Required Type Description
address true java.lang.String References the topic on the JMS server that contains the pushed messages
binding false javax.faces.component.UIComponent The value binding expression used to wire up this component to a component property of a JavaBean class
id false java.lang.String The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
ondataavailable false java.lang.String The client-side script method to be called when a push notification is received
onerror false java.lang.String The client-side script method to be called when an error has occurred with the push notifications
onsubscribed false java.lang.String The client-side script method to be called when push is subscribed successfully to the topic.
rendered false boolean Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.


Output Generated by Tag Library Documentation Generator.