Class CommonHtmlEventsUtil
- java.lang.Object
- 
- org.apache.myfaces.renderkit.html.util.CommonHtmlEventsUtil
 
- 
 public class CommonHtmlEventsUtil extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description CommonHtmlEventsUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static longgetMarkedEvents(UIComponent component)static booleanrenderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String sourceId, String eventName, Collection<ClientBehaviorContext.Parameter> eventParameters, Map<String,List<ClientBehavior>> clientBehaviors, String htmlAttrName, String attributeValue)static booleanrenderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String sourceId, String eventName, Map<String,List<ClientBehavior>> clientBehaviors, String htmlAttrName)static booleanrenderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String eventName, Collection<ClientBehaviorContext.Parameter> eventParameters, Map<String,List<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 voidrenderBehaviorizedEventHandlers(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors)static voidrenderBehaviorizedEventHandlers(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors)static voidrenderBehaviorizedEventHandlersWithoutOnclick(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors)static voidrenderBehaviorizedEventHandlersWithoutOnclick(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors)static voidrenderBehaviorizedFieldEventHandlers(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors)static voidrenderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors)static voidrenderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors)static voidrenderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors)static voidrenderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors)static voidrenderBehaviorizedFieldEventHandlersWithoutOnfocus(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors)
 
- 
- 
- 
Method Detail- 
getMarkedEventspublic static long getMarkedEvents(UIComponent component) 
 - 
renderBehaviorizedAttributepublic static boolean renderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String sourceId, String eventName, Map<String,List<ClientBehavior>> clientBehaviors, String htmlAttrName) throws IOException - Throws:
- IOException
 
 - 
renderBehaviorizedAttributepublic static boolean renderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String eventName, Collection<ClientBehaviorContext.Parameter> eventParameters, Map<String,List<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
 
 - 
renderBehaviorizedAttributepublic static boolean renderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String sourceId, String eventName, Collection<ClientBehaviorContext.Parameter> eventParameters, Map<String,List<ClientBehavior>> clientBehaviors, String htmlAttrName, String attributeValue) throws IOException - Throws:
- IOException
 
 - 
renderBehaviorizedEventHandlerspublic static void renderBehaviorizedEventHandlers(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException - Throws:
- IOException
 
 - 
renderBehaviorizedEventHandlerspublic static void renderBehaviorizedEventHandlers(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException - Throws:
- IOException
 
 - 
renderBehaviorizedEventHandlersWithoutOnclickpublic static void renderBehaviorizedEventHandlersWithoutOnclick(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException - Throws:
- IOException
 
 - 
renderBehaviorizedEventHandlersWithoutOnclickpublic static void renderBehaviorizedEventHandlersWithoutOnclick(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException - Parameters:
- facesContext-
- writer-
- uiComponent-
- clientBehaviors-
- Throws:
- IOException
 
 - 
renderBehaviorizedFieldEventHandlerspublic static void renderBehaviorizedFieldEventHandlers(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException - Parameters:
- facesContext-
- writer-
- uiComponent-
- clientBehaviors-
- Throws:
- IOException
 
 - 
renderBehaviorizedFieldEventHandlersWithoutOnfocuspublic static void renderBehaviorizedFieldEventHandlersWithoutOnfocus(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException - Throws:
- IOException
 
 - 
renderBehaviorizedFieldEventHandlersWithoutOnchangepublic static void renderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException - Throws:
- IOException
 
 - 
renderBehaviorizedFieldEventHandlersWithoutOnchangepublic static void renderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException - Throws:
- IOException
 
 - 
renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselectpublic static void renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException - Throws:
- IOException
 
 - 
renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselectpublic static void renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(FacesContext facesContext, ResponseWriter writer, long commonAttributesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException - Throws:
- IOException
 
 
- 
 
-