|
||||||||||
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.UIViewParameter
@JSFComponent(name="f:viewParam", bodyContent="JSP", tagClass="org.apache.myfaces.taglib.core.ViewParamTag") @JSFJspProperty(name="maxlength", returnType="int", longDesc="The max number or characters allowed for this param") public class UIViewParameter
TODO: documentation on jsp and pld are not the same. It appear two params: maxlength and for, but no property getter and setter founded here. If maxlength is used, we can put something like this: JSFJspProperty(name = "maxlength", returnType = "java.lang.String")
Nested Class Summary | |
---|---|
static class |
UIViewParameter.Reference
|
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.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 | |
---|---|
UIViewParameter()
|
Method Summary | |
---|---|
void |
decode(FacesContext context)
Check the submitted form parameters for data associated with this component. |
void |
encodeAll(FacesContext context)
|
protected java.lang.Object |
getConvertedValue(FacesContext context,
java.lang.Object submittedValue)
Convert the provided object to the desired value. |
java.lang.String |
getFamily()
|
java.lang.String |
getName()
|
java.lang.String |
getStringValue(FacesContext context)
|
java.lang.String |
getStringValueFromModel(FacesContext context)
|
java.lang.String |
getSubmittedValue()
Gets the current submitted value. |
boolean |
isImmediate()
A boolean value that identifies the phase during which action events should fire. |
boolean |
isRendered()
A boolean value that indicates whether this component should be rendered. |
void |
processValidators(FacesContext context)
|
void |
setName(java.lang.String name)
|
void |
updateModel(FacesContext context)
|
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, 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, setConverter |
Field Detail |
---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
Constructor Detail |
---|
public UIViewParameter()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class UIInput
public void decode(FacesContext context)
UIComponentBase
decode
in class UIInput
public void encodeAll(FacesContext context) throws java.io.IOException
encodeAll
in class UIComponent
java.io.IOException
public java.lang.String getName()
public java.lang.String getStringValue(FacesContext context)
public java.lang.String getStringValueFromModel(FacesContext context) throws ConverterException
ConverterException
public java.lang.String getSubmittedValue()
UIInput
getSubmittedValue
in interface EditableValueHolder
getSubmittedValue
in class UIInput
@JSFProperty(tagExcluded=true) public boolean isImmediate()
UIInput
During normal event processing, action methods and action listener methods are fired during the "invoke application" phase of request processing. If this attribute is set to "true", these methods are fired instead at the end of the "apply request values" phase.
isImmediate
in interface EditableValueHolder
isImmediate
in class UIInput
@JSFProperty(tagExcluded=true) public boolean isRendered()
UIComponentBase
isRendered
in class UIComponentBase
public void processValidators(FacesContext context)
processValidators
in class UIInput
public void setName(java.lang.String name)
public void updateModel(FacesContext context)
updateModel
in class UIInput
protected java.lang.Object getConvertedValue(FacesContext context, java.lang.Object submittedValue)
UIInput
If there is a renderer for this component, then call the renderer's getConvertedValue method. While this can of course be implemented in any way the renderer desires, it typically performs exactly the same processing that this method would have done anyway (ie that described below for the no-renderer case).
Otherwise:
getConvertedValue
in class UIInput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |