|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.UIViewRootTestCase.PhaseSkipTestComponent
public static class UIViewRootTestCase.PhaseSkipTestComponent
Field Summary |
---|
Fields inherited from class javax.faces.component.UIInput |
---|
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME |
Fields inherited from class javax.faces.component.UIComponent |
---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
Constructor Summary | |
---|---|
UIViewRootTestCase.PhaseSkipTestComponent()
|
Method Summary | |
---|---|
void |
decode(FacesContext context)
Decode any new state of this UIComponent from the
request contained in the specified FacesContext , and store
this state as needed. |
void |
encodeBegin(FacesContext context)
If our rendered property is true , render the
beginning of the current state of this UIComponent to the
response contained in the specified FacesContext . |
boolean |
isDecodeCalled()
|
boolean |
isEncodeBeginCalled()
|
boolean |
isProcessUpdatesCalled()
|
boolean |
isProcessValidatorsCalled()
|
void |
processUpdates(FacesContext context)
In addition to the standard processUpdates behavior
inherited from UIComponentBase , calls
updateModel() . |
void |
processValidators(FacesContext context)
In addition to the standard processValidators behavior
inherited from UIComponentBase , calls validate()
if the immediate property is false (which is the
default); if the component is invalid afterwards, calls
FacesContext.renderResponse() . |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, getValue, setConverter |
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 |
Constructor Detail |
---|
public UIViewRootTestCase.PhaseSkipTestComponent()
Method Detail |
---|
public void decode(FacesContext context)
UIComponent
Decode any new state of this UIComponent
from the
request contained in the specified FacesContext
, and store
this state as needed.
During decoding, events may be enqueued for later processing
(by event listeners who have registered an interest), by calling
queueEvent()
.
decode
in class UIInput
context
- FacesContext
for the request we are processingpublic boolean isDecodeCalled()
public void encodeBegin(FacesContext context) throws java.io.IOException
UIComponent
If our
rendered
property is true
, render the
beginning of the current state of this UIComponent
to the
response contained in the specified FacesContext
.
Call UIComponent.pushComponentToEL(javax.faces.context.FacesContext,javax.faces.component.UIComponent)
.
Call Application.publishEvent(javax.faces.context.FacesContext, java.lang.Class extends javax.faces.event.SystemEvent>, java.lang.Object)
, passing
PreRenderComponentEvent
.class
as the
first argument and the component instance to be rendered as the
second argument.
If a Renderer
is associated with this UIComponent
, the actual encoding will be delegated to
Renderer.encodeBegin(FacesContext, UIComponent)
.
If our rendered
property is
false
, call UIComponent.pushComponentToEL(javax.faces.context.FacesContext,javax.faces.component.UIComponent)
and return immediately.
encodeBegin
in class UIComponentBase
context
- FacesContext
for the response we are creating
java.io.IOException
- if an input/output error occurs while renderingpublic boolean isEncodeBeginCalled()
public void processValidators(FacesContext context)
UIInput
In addition to the standard processValidators
behavior
inherited from UIComponentBase
, calls validate()
if the immediate
property is false (which is the
default); if the component is invalid afterwards, calls
FacesContext.renderResponse()
.
If a RuntimeException
is thrown during
validation processing, calls FacesContext.renderResponse()
and re-throw the exception.
processValidators
in class UIInput
context
- FacesContext
for the request we are processingpublic boolean isProcessValidatorsCalled()
public void processUpdates(FacesContext context)
UIInput
In addition to the standard processUpdates
behavior
inherited from UIComponentBase
, calls
updateModel()
.
If the component is invalid afterwards, calls
FacesContext.renderResponse()
.
If a RuntimeException
is thrown during
update processing, calls FacesContext.renderResponse()
and re-throw the exception.
processUpdates
in class UIInput
context
- FacesContext
for the request we are processingpublic boolean isProcessUpdatesCalled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |