public class LocalEffectEncoder
extends java.lang.Object
| Constructor and Description |
|---|
LocalEffectEncoder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
encode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent comp,
java.lang.String[] events,
java.util.Map rendererValues,
org.w3c.dom.Element rootNode,
javax.faces.context.ResponseWriter writer)
For every javascript event in the events parameter, combine the
effect javascript if it's appropriate , the application javascript
from the passthrough attribute, and the component renderers value
from the rendererValues parameter, in that sequence, and output it
to the DOM Element or the ResponseWriter, whichever is appropriate.
|
static void |
encodeLocalEffect(java.lang.String id,
Effect fx,
java.lang.String event,
javax.faces.context.FacesContext facesContext) |
static void |
encodeLocalEffects(javax.faces.component.UIComponent comp,
org.w3c.dom.Element rootNode,
javax.faces.context.FacesContext facesContext) |
static void |
encodeLocalEffects(javax.faces.component.UIComponent comp,
org.w3c.dom.Element rootNode,
javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
boolean attribTracking,
java.util.List attributesThatAreSet) |
static void |
encodeLocalEffects(javax.faces.component.UIComponent comp,
javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext) |
static java.lang.String[] |
maskEvents(java.lang.String[] passthruAttributes)
We only want to try processing the events that are relevant to each
specific component, so we want the intersection of the complete event
list, and the component's pass-through attributes.
|
public static java.lang.String[] maskEvents(java.lang.String[] passthruAttributes)
passthruAttributes - Appropriate attributes from ExtendedAttributeConstantspublic static void encode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent comp,
java.lang.String[] events,
java.util.Map rendererValues,
org.w3c.dom.Element rootNode,
javax.faces.context.ResponseWriter writer)
facesContext - comp - events - The result of calling maskEvents(String[])rendererValues - Map where they keys are entries in ALL_EVENTS, and the values are the javascript that the component renderer wishes to emitrootNode - writer - public static void encodeLocalEffects(javax.faces.component.UIComponent comp,
org.w3c.dom.Element rootNode,
javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
boolean attribTracking,
java.util.List attributesThatAreSet)
public static void encodeLocalEffects(javax.faces.component.UIComponent comp,
org.w3c.dom.Element rootNode,
javax.faces.context.FacesContext facesContext)
public static void encodeLocalEffects(javax.faces.component.UIComponent comp,
javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext)
public static void encodeLocalEffect(java.lang.String id,
Effect fx,
java.lang.String event,
javax.faces.context.FacesContext facesContext)
Copyright 2025 ICEsoft Technologies Canada, Corp. All Rights Reserved.