org.jboss.seam.faces.component
Class UIValidateForm

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by org.jboss.seam.faces.component.UIValidateForm
All Implemented Interfaces:
EventListener, javax.faces.component.EditableValueHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class UIValidateForm
extends javax.faces.component.UIInput

Author:
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIInput
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
UIValidateForm()
           
 
Method Summary
 void encodeAll(javax.faces.context.FacesContext context)
           
 void encodeBegin(javax.faces.context.FacesContext context)
           
 void encodeChildren(javax.faces.context.FacesContext context)
           
 void encodeEnd(javax.faces.context.FacesContext context)
           
 String getFamily()
           
 String getFields()
           
 String getRendererType()
           
 String getValidatorId()
           
 boolean isShowFieldMessages()
           
 boolean isShowGlobalMessages()
           
 javax.faces.component.UIForm locateForm()
          Attempt to locate the form in which this component resides.
 void setComponents(Map<String,javax.faces.component.UIInput> components)
           
 void setFields(String fields)
           
 void setShowFieldMessages(boolean showFieldMessages)
           
 void setShowGlobalMessages(boolean showGlobalMessages)
           
 void setValidatorId(String validatorId)
           
 void validate(javax.faces.context.FacesContext context)
           
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, getValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, getValue, setConverter
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

UIValidateForm

public UIValidateForm()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.UIInput

getRendererType

public String getRendererType()
Overrides:
getRendererType in class javax.faces.component.UIComponentBase

validate

public void validate(javax.faces.context.FacesContext context)
Overrides:
validate in class javax.faces.component.UIInput

locateForm

public javax.faces.component.UIForm locateForm()
Attempt to locate the form in which this component resides. If the component is not within a UIForm tag, throw an exception.


encodeAll

public void encodeAll(javax.faces.context.FacesContext context)
               throws IOException
Overrides:
encodeAll in class javax.faces.component.UIComponent
Throws:
IOException

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws IOException
Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Throws:
IOException

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context)
               throws IOException
Overrides:
encodeEnd in class javax.faces.component.UIComponentBase
Throws:
IOException

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext context)
                    throws IOException
Overrides:
encodeChildren in class javax.faces.component.UIComponentBase
Throws:
IOException

getFields

public String getFields()

setFields

public void setFields(String fields)

getValidatorId

public String getValidatorId()

setValidatorId

public void setValidatorId(String validatorId)

isShowFieldMessages

public boolean isShowFieldMessages()

setShowFieldMessages

public void setShowFieldMessages(boolean showFieldMessages)

isShowGlobalMessages

public boolean isShowGlobalMessages()

setShowGlobalMessages

public void setShowGlobalMessages(boolean showGlobalMessages)

setComponents

public void setComponents(Map<String,javax.faces.component.UIInput> components)


Copyright © 2009-2011 Seam Framework. All Rights Reserved.