org.apache.myfaces.extensions.validator
Class HtmlCoreComponentsComponentInitializer
java.lang.Object
org.apache.myfaces.extensions.validator.HtmlCoreComponentsComponentInitializer
- All Implemented Interfaces:
- org.apache.myfaces.extensions.validator.core.initializer.component.ComponentInitializer
public class HtmlCoreComponentsComponentInitializer
- extends java.lang.Object
- implements org.apache.myfaces.extensions.validator.core.initializer.component.ComponentInitializer
- Since:
- 1.x.1
- Author:
- Gerhard Petracek
Method Summary |
void |
configureComponent(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.util.Map<java.lang.String,java.lang.Object> metaData)
|
protected void |
configureMaxLengthAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.util.Map<java.lang.String,java.lang.Object> metaData)
|
protected void |
configureRequiredAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.util.Map<java.lang.String,java.lang.Object> metaData)
|
protected java.lang.Boolean |
isComponentRequired(javax.faces.component.UIComponent uiComponent)
if there is no special attribute at the component which should overrule
the annotated property return true! |
protected boolean |
processComponent(javax.faces.component.UIComponent uiComponent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlCoreComponentsComponentInitializer
public HtmlCoreComponentsComponentInitializer()
configureComponent
public void configureComponent(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.util.Map<java.lang.String,java.lang.Object> metaData)
- Specified by:
configureComponent
in interface org.apache.myfaces.extensions.validator.core.initializer.component.ComponentInitializer
configureRequiredAttribute
protected void configureRequiredAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.util.Map<java.lang.String,java.lang.Object> metaData)
processComponent
protected boolean processComponent(javax.faces.component.UIComponent uiComponent)
isComponentRequired
protected java.lang.Boolean isComponentRequired(javax.faces.component.UIComponent uiComponent)
- if there is no special attribute at the component which should overrule
the annotated property return true!
- Parameters:
uiComponent
- component which implements the EditableValueHolder interface
- Returns:
- false to overrule the annotated property e.g. if component is readonly
configureMaxLengthAttribute
protected void configureMaxLengthAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.util.Map<java.lang.String,java.lang.Object> metaData)
Copyright © 2008 The Apache Software Foundation. All Rights Reserved.