org.apache.myfaces.shared_tomahawk.renderkit.html
Class CommonEventUtils
java.lang.Object
org.apache.myfaces.shared_tomahawk.renderkit.html.CommonEventUtils
public class CommonEventUtils
- extends Object
- Author:
- Leonardo Uribe
Method Summary |
static long |
getCommonEventsMarked(javax.faces.component.UIComponent component)
|
static boolean |
renderBehaviorizedAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
String componentProperty,
javax.faces.component.UIComponent component,
String eventName,
Collection<javax.faces.component.behavior.ClientBehaviorContext.Parameter> eventParameters,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors,
String htmlAttrName,
String attributeValue)
Render an attribute taking into account the passed event,
the component property and the passed attribute value for the component
property. |
static boolean |
renderBehaviorizedAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
String componentProperty,
javax.faces.component.UIComponent component,
String targetClientId,
String eventName,
Collection<javax.faces.component.behavior.ClientBehaviorContext.Parameter> eventParameters,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors,
String htmlAttrName,
String attributeValue)
|
static boolean |
renderBehaviorizedAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
String componentProperty,
javax.faces.component.UIComponent component,
String targetClientId,
String eventName,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors,
String htmlAttrName)
Render an attribute taking into account the passed event and
the component property. |
static void |
renderBehaviorizedEventHandlers(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
|
static void |
renderBehaviorizedEventHandlers(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
|
static void |
renderBehaviorizedEventHandlersWithoutOnclick(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
|
static void |
renderBehaviorizedEventHandlersWithoutOnclick(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
|
static void |
renderBehaviorizedFieldEventHandlers(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
|
static void |
renderBehaviorizedFieldEventHandlersWithoutOnchange(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
|
static void |
renderBehaviorizedFieldEventHandlersWithoutOnchange(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
|
static void |
renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
|
static void |
renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
|
static void |
renderBehaviorizedFieldEventHandlersWithoutOnfocus(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonEventUtils
public CommonEventUtils()
getCommonEventsMarked
public static long getCommonEventsMarked(javax.faces.component.UIComponent component)
renderBehaviorizedAttribute
public static boolean renderBehaviorizedAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
String componentProperty,
javax.faces.component.UIComponent component,
String targetClientId,
String eventName,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors,
String htmlAttrName)
throws IOException
- Render an attribute taking into account the passed event and
the component property. The event will be rendered on the selected
htmlAttrName
- Parameters:
facesContext
- writer
- component
- clientBehaviors
- eventName
- componentProperty
- htmlAttrName
-
- Returns:
-
- Throws:
IOException
- Since:
- 4.0.1
renderBehaviorizedAttribute
public static boolean renderBehaviorizedAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
String componentProperty,
javax.faces.component.UIComponent component,
String eventName,
Collection<javax.faces.component.behavior.ClientBehaviorContext.Parameter> eventParameters,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors,
String htmlAttrName,
String attributeValue)
throws IOException
- Render an attribute taking into account the passed event,
the component property and the passed attribute value for the component
property. The event will be rendered on the selected htmlAttrName.
- Parameters:
facesContext
- writer
- componentProperty
- component
- eventName
- clientBehaviors
- htmlAttrName
- attributeValue
-
- Returns:
-
- Throws:
IOException
renderBehaviorizedAttribute
public static boolean renderBehaviorizedAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
String componentProperty,
javax.faces.component.UIComponent component,
String targetClientId,
String eventName,
Collection<javax.faces.component.behavior.ClientBehaviorContext.Parameter> eventParameters,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors,
String htmlAttrName,
String attributeValue)
throws IOException
- Throws:
IOException
renderBehaviorizedEventHandlers
public static void renderBehaviorizedEventHandlers(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
throws IOException
- Throws:
IOException
renderBehaviorizedEventHandlers
public static void renderBehaviorizedEventHandlers(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
throws IOException
- Throws:
IOException
renderBehaviorizedEventHandlersWithoutOnclick
public static void renderBehaviorizedEventHandlersWithoutOnclick(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
throws IOException
- Throws:
IOException
renderBehaviorizedEventHandlersWithoutOnclick
public static void renderBehaviorizedEventHandlersWithoutOnclick(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
throws IOException
- Parameters:
facesContext
- writer
- uiComponent
- clientBehaviors
-
- Throws:
IOException
- Since:
- 4.0.0
renderBehaviorizedFieldEventHandlers
public static void renderBehaviorizedFieldEventHandlers(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
throws IOException
- Parameters:
facesContext
- writer
- uiComponent
- clientBehaviors
-
- Throws:
IOException
- Since:
- 4.0.0
renderBehaviorizedFieldEventHandlersWithoutOnfocus
public static void renderBehaviorizedFieldEventHandlersWithoutOnfocus(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
throws IOException
- Throws:
IOException
renderBehaviorizedFieldEventHandlersWithoutOnchange
public static void renderBehaviorizedFieldEventHandlersWithoutOnchange(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
throws IOException
- Throws:
IOException
renderBehaviorizedFieldEventHandlersWithoutOnchange
public static void renderBehaviorizedFieldEventHandlersWithoutOnchange(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
throws IOException
- Throws:
IOException
renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect
public static void renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
throws IOException
- Throws:
IOException
renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect
public static void renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
long commonPropertiesMarked,
long commonEventsMarked,
javax.faces.component.UIComponent uiComponent,
String targetClientId,
Map<String,List<javax.faces.component.behavior.ClientBehavior>> clientBehaviors)
throws IOException
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.