public final class HtmlRendererUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLEAR_HIDDEN_FIELD_FN_NAME |
static String |
HIDDEN_COMMANDLINK_FIELD_NAME |
static String |
NON_SUBMITTED_VALUE_WARNING |
static String |
SUBMIT_FORM_FN_NAME_JSF2 |
Modifier and Type | Method and Description |
---|---|
static void |
appendClearHiddenCommandFormParamsFunctionCall(StringBuilder buf,
String formName) |
static void |
decodeUIInput(FacesContext facesContext,
UIComponent component)
Utility to set the submitted value of the provided component from the
data in the current request object.
|
static void |
decodeUISelectBoolean(FacesContext facesContext,
UIComponent component)
X-CHECKED: tlddoc h:selectBooleanCheckbox
|
static void |
decodeUISelectMany(FacesContext facesContext,
UIComponent component)
X-CHECKED: tlddoc h:selectManyListbox
|
static void |
decodeUISelectOne(FacesContext facesContext,
UIComponent component)
X-CHECKED: tlddoc h:selectManyListbox
|
static Converter |
findUIOutputConverterFailSafe(FacesContext facesContext,
UIComponent uiComponent) |
static Converter |
findUISelectManyConverterFailsafe(FacesContext facesContext,
UIComponent uiComponent) |
static Converter |
findUISelectManyConverterFailsafe(FacesContext facesContext,
UIComponent uiComponent,
boolean considerValueType) |
static String |
getHiddenCommandLinkFieldName(UIComponent form,
FacesContext facesContext)
Get the name of the request parameter that holds the id of the
link-type component that caused the form to be submitted.
|
static String |
getOutcomeTargetHref(FacesContext facesContext,
UIOutcomeTarget component) |
static Set |
getSubmittedOrSelectedValuesAsSet(boolean selectMany,
UIComponent uiComponent,
FacesContext facesContext,
Converter converter) |
static List<UIParameter> |
getValidUIParameterChildren(FacesContext facesContext,
List<UIComponent> children,
boolean skipNullValue,
boolean skipUnrendered)
Calls getValidUIParameterChildren(facesContext, children, skipNullValue, skipUnrendered, true);
|
static List<UIParameter> |
getValidUIParameterChildren(FacesContext facesContext,
List<UIComponent> children,
boolean skipNullValue,
boolean skipUnrendered,
boolean skipNullName)
Returns a List of all valid UIParameter children from the given children.
|
static boolean |
isDisabled(UIComponent component) |
static boolean |
isDisabledOrReadOnly(UIComponent component) |
static boolean |
isHideNoSelectionOption(UIComponent component)
Returns the value of the hideNoSelectionOption attribute of the given UIComponent
|
static boolean |
isPartialOrBehaviorSubmit(FacesContext facesContext,
String clientId) |
static boolean |
isReadOnly(UIComponent component) |
static Map<String,String> |
mapAttachedParamsToStringValues(FacesContext facesContext,
UIComponent uiComponent) |
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 eventName,
Collection<ClientBehaviorContext.Parameter> eventParameters,
Map<String,List<ClientBehavior>> clientBehaviors,
String htmlAttrName,
String attributeValue,
String serverSideScript)
Render an attribute taking into account the passed event,
the passed attribute value for the component property.
|
static boolean |
renderBehaviorizedAttribute(FacesContext facesContext,
ResponseWriter writer,
String componentProperty,
UIComponent component,
String eventName,
Collection<ClientBehaviorContext.Parameter> eventParameters,
String eventName2,
Collection<ClientBehaviorContext.Parameter> eventParameters2,
Map<String,List<ClientBehavior>> clientBehaviors,
String htmlAttrName,
String attributeValue,
String serverSideScript) |
static boolean |
renderBehaviorizedAttribute(FacesContext facesContext,
ResponseWriter writer,
String componentProperty,
UIComponent component,
String eventName,
Map<String,List<ClientBehavior>> clientBehaviors)
Render an attribute taking into account the passed event and
the component property.
|
static boolean |
renderBehaviorizedAttribute(FacesContext facesContext,
ResponseWriter writer,
String componentProperty,
UIComponent component,
String eventName,
Map<String,List<ClientBehavior>> clientBehaviors,
String htmlAttrName)
Render an attribute taking into account the passed event and
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,
Collection<ClientBehaviorContext.Parameter> eventParameters,
Map<String,List<ClientBehavior>> clientBehaviors,
String htmlAttrName,
String attributeValue,
String serverSideScript) |
static boolean |
renderBehaviorizedAttribute(FacesContext facesContext,
ResponseWriter writer,
String componentProperty,
UIComponent component,
String sourceId,
String eventName,
Collection<ClientBehaviorContext.Parameter> eventParameters,
String eventName2,
Collection<ClientBehaviorContext.Parameter> eventParameters2,
Map<String,List<ClientBehavior>> clientBehaviors,
String htmlAttrName,
String attributeValue,
String serverSideScript) |
static boolean |
renderBehaviorizedAttribute(FacesContext facesContext,
ResponseWriter writer,
String componentProperty,
UIComponent component,
String sourceId,
String eventName,
Map<String,List<ClientBehavior>> clientBehaviors) |
static boolean |
renderBehaviorizedAttribute(FacesContext facesContext,
ResponseWriter writer,
String componentProperty,
UIComponent component,
String sourceId,
String eventName,
Map<String,List<ClientBehavior>> clientBehaviors,
String htmlAttrName) |
static void |
renderBehaviorizedEventHandlers(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
Map<String,List<ClientBehavior>> clientBehaviors) |
static void |
renderBehaviorizedEventHandlers(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
String sourceId,
Map<String,List<ClientBehavior>> clientBehaviors) |
static void |
renderBehaviorizedEventHandlersWithoutOnclick(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
Map<String,List<ClientBehavior>> clientBehaviors) |
static void |
renderBehaviorizedEventHandlersWithoutOnmouseoverAndOnmouseout(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
Map<String,List<ClientBehavior>> clientBehaviors) |
static void |
renderBehaviorizedFieldEventHandlers(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
Map<String,List<ClientBehavior>> clientBehaviors) |
static void |
renderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
Map<String,List<ClientBehavior>> clientBehaviors) |
static void |
renderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
String sourceId,
Map<String,List<ClientBehavior>> clientBehaviors) |
static void |
renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
Map<String,List<ClientBehavior>> clientBehaviors) |
static void |
renderBehaviorizedFieldEventHandlersWithoutOnfocus(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
Map<String,List<ClientBehavior>> clientBehaviors) |
static boolean |
renderBehaviorizedOnchangeEventHandler(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
Map<String,List<ClientBehavior>> clientBehaviors) |
static boolean |
renderBehaviorizedOnchangeEventHandler(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
String sourceId,
Map<String,List<ClientBehavior>> clientBehaviors) |
static void |
renderDisplayValueOnly(FacesContext facesContext,
UIInput input) |
static void |
renderDisplayValueOnlyForSelects(FacesContext facesContext,
UIComponent uiComponent) |
static void |
renderDisplayValueOnlyForSelects(FacesContext facesContext,
UIComponent uiComponent,
boolean considerValueType) |
static void |
renderHiddenCommandFormParams(ResponseWriter writer,
Set dummyFormParams) |
static void |
renderHiddenInputField(ResponseWriter writer,
Object name,
Object value) |
static boolean |
renderHTMLAttribute(ResponseWriter writer,
String componentProperty,
String attrName,
Object value) |
static boolean |
renderHTMLAttribute(ResponseWriter writer,
UIComponent component,
String componentProperty,
String htmlAttrName) |
static boolean |
renderHTMLAttributes(ResponseWriter writer,
UIComponent component,
String[] attributes) |
static boolean |
renderHTMLAttributesWithOptionalStartElement(ResponseWriter writer,
UIComponent component,
String elementName,
String[] attributes) |
static boolean |
renderHTMLAttributeWithOptionalStartElement(ResponseWriter writer,
UIComponent component,
String elementName,
String attrName,
Object value,
boolean startElementWritten) |
static boolean |
renderHTMLStringAttribute(ResponseWriter writer,
String componentProperty,
String htmlAttrName,
String value)
Renders a html string type attribute.
|
static boolean |
renderHTMLStringAttribute(ResponseWriter writer,
UIComponent component,
String componentProperty,
String htmlAttrName)
Renders a html string type attribute.
|
static boolean |
renderHTMLStringNoStyleAttributes(ResponseWriter writer,
UIComponent component,
String[] attributes) |
static boolean |
renderHTMLStringPreserveEmptyAttribute(ResponseWriter writer,
String componentProperty,
String htmlAttrName,
String value)
Renders a html string type attribute.
|
static boolean |
renderHTMLStringPreserveEmptyAttribute(ResponseWriter writer,
UIComponent component,
String componentProperty,
String htmlAttrName)
Renders a html string type attribute.
|
static void |
renderLabel(ResponseWriter writer,
UIComponent component,
String forClientId,
SelectItem item,
boolean disabled)
Renders a label HTML element
|
static void |
renderLabel(ResponseWriter writer,
UIComponent component,
String forClientId,
SelectItem item,
boolean disabled,
boolean selected)
Renders a label HTML element
|
static void |
renderListbox(FacesContext facesContext,
UISelectMany selectMany,
boolean disabled,
int size,
Converter converter) |
static void |
renderListbox(FacesContext facesContext,
UISelectOne selectOne,
boolean disabled,
int size,
Converter converter) |
static void |
renderMenu(FacesContext facesContext,
UISelectMany selectMany,
boolean disabled,
Converter converter) |
static void |
renderMenu(FacesContext facesContext,
UISelectOne selectOne,
boolean disabled,
Converter converter) |
static boolean |
renderOptionalEndElement(ResponseWriter writer,
UIComponent component,
String elementName,
String[] attributes) |
static void |
renderSelectOptions(FacesContext context,
UIComponent component,
Converter converter,
Set lookupSet,
List selectItemList)
Renders the select options for a
UIComponent that is
rendered as an HTML select element. |
static void |
renderTableCaption(FacesContext context,
ResponseWriter writer,
UIComponent component) |
static void |
renderUnhandledFacesMessages(FacesContext facesContext)
Renders all FacesMessages which have not been rendered yet with
the help of a HtmlMessages component.
|
static void |
writeId(ResponseWriter writer,
UIComponent component,
FacesContext facesContext) |
static void |
writeIdAndName(ResponseWriter writer,
UIComponent component,
FacesContext facesContext) |
static void |
writeIdAndNameIfNecessary(ResponseWriter writer,
UIComponent component,
FacesContext facesContext) |
static void |
writeIdIfNecessary(ResponseWriter writer,
UIComponent component,
FacesContext facesContext) |
public static final String HIDDEN_COMMANDLINK_FIELD_NAME
public static final String CLEAR_HIDDEN_FIELD_FN_NAME
public static final String SUBMIT_FORM_FN_NAME_JSF2
public static final String NON_SUBMITTED_VALUE_WARNING
public static void decodeUIInput(FacesContext facesContext, UIComponent component)
Param component is required to be an EditableValueHolder. On return from this method, the component's submittedValue property will be set if the submitted form contained that component.
public static void decodeUISelectBoolean(FacesContext facesContext, UIComponent component)
facesContext
- component
- public static boolean isDisabledOrReadOnly(UIComponent component)
public static boolean isDisabled(UIComponent component)
public static boolean isReadOnly(UIComponent component)
public static void decodeUISelectMany(FacesContext facesContext, UIComponent component)
facesContext
- component
- public static void decodeUISelectOne(FacesContext facesContext, UIComponent component)
facesContext
- component
- public static void renderListbox(FacesContext facesContext, UISelectOne selectOne, boolean disabled, int size, Converter converter) throws IOException
IOException
public static void renderListbox(FacesContext facesContext, UISelectMany selectMany, boolean disabled, int size, Converter converter) throws IOException
IOException
public static void renderMenu(FacesContext facesContext, UISelectOne selectOne, boolean disabled, Converter converter) throws IOException
IOException
public static void renderMenu(FacesContext facesContext, UISelectMany selectMany, boolean disabled, Converter converter) throws IOException
IOException
public static Set getSubmittedOrSelectedValuesAsSet(boolean selectMany, UIComponent uiComponent, FacesContext facesContext, Converter converter)
public static Converter findUISelectManyConverterFailsafe(FacesContext facesContext, UIComponent uiComponent)
public static Converter findUISelectManyConverterFailsafe(FacesContext facesContext, UIComponent uiComponent, boolean considerValueType)
public static Converter findUIOutputConverterFailSafe(FacesContext facesContext, UIComponent uiComponent)
public static void renderSelectOptions(FacesContext context, UIComponent component, Converter converter, Set lookupSet, List selectItemList) throws IOException
UIComponent
that is
rendered as an HTML select element.context
- the current FacesContext
.component
- the UIComponent
whose options need to be
rendered.converter
- component
's converterlookupSet
- the Set
to use to look up selected optionsselectItemList
- the List
of SelectItem
s to be
rendered as HTML option elements.IOException
public static boolean renderHTMLAttribute(ResponseWriter writer, String componentProperty, String attrName, Object value) throws IOException
IOException
public static boolean renderHTMLAttribute(ResponseWriter writer, UIComponent component, String componentProperty, String htmlAttrName) throws IOException
IOException
public static boolean renderHTMLAttributes(ResponseWriter writer, UIComponent component, String[] attributes) throws IOException
IOException
public static boolean renderHTMLAttributeWithOptionalStartElement(ResponseWriter writer, UIComponent component, String elementName, String attrName, Object value, boolean startElementWritten) throws IOException
IOException
public static boolean renderHTMLAttributesWithOptionalStartElement(ResponseWriter writer, UIComponent component, String elementName, String[] attributes) throws IOException
IOException
public static boolean renderOptionalEndElement(ResponseWriter writer, UIComponent component, String elementName, String[] attributes) throws IOException
IOException
public static void writeId(ResponseWriter writer, UIComponent component, FacesContext facesContext) throws IOException
IOException
public static void writeIdIfNecessary(ResponseWriter writer, UIComponent component, FacesContext facesContext) throws IOException
IOException
public static void writeIdAndNameIfNecessary(ResponseWriter writer, UIComponent component, FacesContext facesContext) throws IOException
IOException
public static final boolean renderHTMLStringPreserveEmptyAttribute(ResponseWriter writer, UIComponent component, String componentProperty, String htmlAttrName) throws IOException
writer
- component
- componentProperty
- htmlAttrName
- IOException
public static boolean renderHTMLStringPreserveEmptyAttribute(ResponseWriter writer, String componentProperty, String htmlAttrName, String value) throws IOException
writer
- componentProperty
- htmlAttrName
- IOException
public static boolean renderHTMLStringAttribute(ResponseWriter writer, UIComponent component, String componentProperty, String htmlAttrName) throws IOException
writer
- component
- componentProperty
- htmlAttrName
- IOException
public static boolean renderHTMLStringAttribute(ResponseWriter writer, String componentProperty, String htmlAttrName, String value) throws IOException
writer
- componentProperty
- htmlAttrName
- value
- IOException
public static boolean renderHTMLStringNoStyleAttributes(ResponseWriter writer, UIComponent component, String[] attributes) throws IOException
IOException
public static void writeIdAndName(ResponseWriter writer, UIComponent component, FacesContext facesContext) throws IOException
IOException
public static void renderDisplayValueOnlyForSelects(FacesContext facesContext, UIComponent uiComponent) throws IOException
IOException
public static void renderDisplayValueOnlyForSelects(FacesContext facesContext, UIComponent uiComponent, boolean considerValueType) throws IOException
IOException
public static void renderTableCaption(FacesContext context, ResponseWriter writer, UIComponent component) throws IOException
IOException
public static void renderDisplayValueOnly(FacesContext facesContext, UIInput input) throws IOException
IOException
public static void appendClearHiddenCommandFormParamsFunctionCall(StringBuilder buf, String formName)
public static void renderHiddenCommandFormParams(ResponseWriter writer, Set dummyFormParams) throws IOException
IOException
public static void renderHiddenInputField(ResponseWriter writer, Object name, Object value) throws IOException
IOException
public static void renderLabel(ResponseWriter writer, UIComponent component, String forClientId, SelectItem item, boolean disabled) throws IOException
IOException
public static void renderLabel(ResponseWriter writer, UIComponent component, String forClientId, SelectItem item, boolean disabled, boolean selected) throws IOException
IOException
public static String getHiddenCommandLinkFieldName(UIComponent form, FacesContext facesContext)
Within each page there may be multiple "link" type components that cause page submission. On the server it is necessary to know which of these actually caused the submit, in order to invoke the correct listeners. Such components therefore store their id into the "hidden command link field" in their associated form before submitting it.
The field is always a direct child of each form, and has the same name in each form. The id of the form component is therefore both necessary and sufficient to determine the full name of the field.
public static boolean isPartialOrBehaviorSubmit(FacesContext facesContext, String clientId)
public static String getOutcomeTargetHref(FacesContext facesContext, UIOutcomeTarget component) throws IOException
IOException
public static Map<String,String> mapAttachedParamsToStringValues(FacesContext facesContext, UIComponent uiComponent)
public static List<UIParameter> getValidUIParameterChildren(FacesContext facesContext, List<UIComponent> children, boolean skipNullValue, boolean skipUnrendered)
facesContext
- children
- skipNullValue
- skipUnrendered
- public static List<UIParameter> getValidUIParameterChildren(FacesContext facesContext, List<UIComponent> children, boolean skipNullValue, boolean skipUnrendered, boolean skipNullName)
facesContext
- children
- skipNullValue
- should UIParameters with a null value be skippedskipUnrendered
- should UIParameters with isRendered() returning false be skippedskipNullName
- should UIParameters with a null name be skipped
(normally true, but in the case of h:outputFormat false)public static boolean renderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String eventName, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
facesContext
- writer
- componentProperty
- component
- eventName
- clientBehaviors
- IOException
public static boolean renderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String sourceId, String eventName, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static boolean renderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String eventName, Map<String,List<ClientBehavior>> clientBehaviors, String htmlAttrName) throws IOException
facesContext
- writer
- component
- clientBehaviors
- eventName
- componentProperty
- htmlAttrName
- IOException
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
IOException
public 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
- IOException
public 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
IOException
public 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, String serverSideScript) throws IOException
facesContext
- writer
- componentProperty
- component
- eventName
- clientBehaviors
- htmlAttrName
- attributeValue
- serverSideScript
- IOException
public 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, String serverSideScript) throws IOException
IOException
public static boolean renderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String eventName, Collection<ClientBehaviorContext.Parameter> eventParameters, String eventName2, Collection<ClientBehaviorContext.Parameter> eventParameters2, Map<String,List<ClientBehavior>> clientBehaviors, String htmlAttrName, String attributeValue, String serverSideScript) throws IOException
IOException
public static boolean renderBehaviorizedAttribute(FacesContext facesContext, ResponseWriter writer, String componentProperty, UIComponent component, String sourceId, String eventName, Collection<ClientBehaviorContext.Parameter> eventParameters, String eventName2, Collection<ClientBehaviorContext.Parameter> eventParameters2, Map<String,List<ClientBehavior>> clientBehaviors, String htmlAttrName, String attributeValue, String serverSideScript) throws IOException
IOException
public static void renderBehaviorizedEventHandlers(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static void renderBehaviorizedEventHandlers(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static void renderBehaviorizedEventHandlersWithoutOnclick(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static void renderBehaviorizedEventHandlersWithoutOnmouseoverAndOnmouseout(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static void renderBehaviorizedFieldEventHandlers(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static void renderBehaviorizedFieldEventHandlersWithoutOnfocus(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static void renderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static void renderBehaviorizedFieldEventHandlersWithoutOnchange(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static void renderBehaviorizedFieldEventHandlersWithoutOnchangeAndOnselect(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static boolean renderBehaviorizedOnchangeEventHandler(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static boolean renderBehaviorizedOnchangeEventHandler(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, String sourceId, Map<String,List<ClientBehavior>> clientBehaviors) throws IOException
IOException
public static boolean isHideNoSelectionOption(UIComponent component)
component
- public static void renderUnhandledFacesMessages(FacesContext facesContext) throws IOException
facesContext
- IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.