public class CommonEventUtils extends Object
| Constructor and Description | 
|---|
| CommonEventUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static long | getCommonEventsMarked(UIComponent component) | 
| 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)Render an attribute taking into account the passed event,
 the component property and the passed attribute value for the component
 property. | 
| 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) | 
| static boolean | renderBehaviorizedAttribute(FacesContext facesContext,
                           ResponseWriter writer,
                           String componentProperty,
                           UIComponent component,
                           String sourceId,
                           String eventName,
                           Map<String,List<ClientBehavior>> clientBehaviors,
                           String htmlAttrName)Render an attribute taking into account the passed event and
 the component property. | 
| static void | renderBehaviorizedEventHandlers(FacesContext facesContext,
                               ResponseWriter writer,
                               long commonPropertiesMarked,
                               long commonEventsMarked,
                               UIComponent uiComponent,
                               Map<String,List<ClientBehavior>> clientBehaviors) | 
| static void | renderBehaviorizedEventHandlers(FacesContext facesContext,
                               ResponseWriter writer,
                               long commonPropertiesMarked,
                               long commonEventsMarked,
                               UIComponent uiComponent,
                               String sourceId,
                               Map<String,List<ClientBehavior>> clientBehaviors) | 
| static void | renderBehaviorizedEventHandlersWithoutOnclick(FacesContext facesContext,
                                             ResponseWriter writer,
                                             long commonPropertiesMarked,
                                             long commonEventsMarked,
                                             UIComponent uiComponent,
                                             Map<String,List<ClientBehavior>> clientBehaviors) | 
| static void | renderBehaviorizedEventHandlersWithoutOnclick(FacesContext facesContext,
                                             ResponseWriter writer,
                                             long commonPropertiesMarked,
                                             long commonEventsMarked,
                                             UIComponent uiComponent,
                                             String sourceId,
                                             Map<String,List<ClientBehavior>> clientBehaviors) | 
| static void | renderBehaviorizedFieldEventHandlers(FacesContext facesContext,
                                    ResponseWriter writer,
                                    long commonPropertiesMarked,
                                    long commonEventsMarked,
                                    UIComponent uiComponent,
                                    String sourceId,
                                    Map<String,List<ClientBehavior>> clientBehaviors) | 
| static void | renderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext,
                                                   ResponseWriter writer,
                                                   long commonPropertiesMarked,
                                                   long commonEventsMarked,
                                                   UIComponent uiComponent,
                                                   Map<String,List<ClientBehavior>> clientBehaviors) | 
| static void | renderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext,
                                                   ResponseWriter writer,
                                                   long commonPropertiesMarked,
                                                   long commonEventsMarked,
                                                   UIComponent uiComponent,
                                                   String sourceId,
                                                   Map<String,List<ClientBehavior>> clientBehaviors) | 
| static void | renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(FacesContext facesContext,
                                                              ResponseWriter writer,
                                                              long commonPropertiesMarked,
                                                              long commonEventsMarked,
                                                              UIComponent uiComponent,
                                                              Map<String,List<ClientBehavior>> clientBehaviors) | 
| static void | renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(FacesContext facesContext,
                                                              ResponseWriter writer,
                                                              long commonPropertiesMarked,
                                                              long commonEventsMarked,
                                                              UIComponent uiComponent,
                                                              String sourceId,
                                                              Map<String,List<ClientBehavior>> clientBehaviors) | 
| static void | renderBehaviorizedFieldEventHandlersWithoutOnfocus(FacesContext facesContext,
                                                  ResponseWriter writer,
                                                  long commonPropertiesMarked,
                                                  long commonEventsMarked,
                                                  UIComponent uiComponent,
                                                  String sourceId,
                                                  Map<String,List<ClientBehavior>> clientBehaviors) | 
public static long getCommonEventsMarked(UIComponent component)
public static boolean renderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String sourceId, String eventName, Map<String,List<ClientBehavior>> clientBehaviors, String htmlAttrName) throws IOException
facesContext - writer - component - clientBehaviors - eventName - componentProperty - htmlAttrName - IOExceptionpublic 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
facesContext - writer - componentProperty - component - eventName - clientBehaviors - htmlAttrName - attributeValue - IOExceptionpublic 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
IOExceptionpublic static void renderBehaviorizedEventHandlers(FacesContext facesContext, ResponseWriter writer, long commonPropertiesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOExceptionpublic static void renderBehaviorizedEventHandlers(FacesContext facesContext, ResponseWriter writer, long commonPropertiesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOExceptionpublic static void renderBehaviorizedEventHandlersWithoutOnclick(FacesContext facesContext, ResponseWriter writer, long commonPropertiesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOExceptionpublic static void renderBehaviorizedEventHandlersWithoutOnclick(FacesContext facesContext, ResponseWriter writer, long commonPropertiesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
facesContext - writer - uiComponent - clientBehaviors - IOExceptionpublic static void renderBehaviorizedFieldEventHandlers(FacesContext facesContext, ResponseWriter writer, long commonPropertiesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
facesContext - writer - uiComponent - clientBehaviors - IOExceptionpublic static void renderBehaviorizedFieldEventHandlersWithoutOnfocus(FacesContext facesContext, ResponseWriter writer, long commonPropertiesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOExceptionpublic static void renderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext, ResponseWriter writer, long commonPropertiesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOExceptionpublic static void renderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext, ResponseWriter writer, long commonPropertiesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOExceptionpublic static void renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(FacesContext facesContext, ResponseWriter writer, long commonPropertiesMarked, long commonEventsMarked, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOExceptionpublic static void renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(FacesContext facesContext, ResponseWriter writer, long commonPropertiesMarked, long commonEventsMarked, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOExceptionCopyright © 2025 The Apache Software Foundation. All rights reserved.