|
||||||||||
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 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 | |
---|---|
UIViewParameter()
|
Method Summary | |
---|---|
void |
decode(FacesContext context)
Check the submitted form parameters for data associated with this component. |
void |
encodeAll(FacesContext context)
|
protected Object |
getConvertedValue(FacesContext context,
Object submittedValue)
Convert the provided object to the desired value. |
protected FacesContext |
getFacesContext()
|
String |
getFamily()
|
String |
getName()
|
String |
getStringValue(FacesContext context)
|
String |
getStringValueFromModel(FacesContext context)
|
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(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 String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
Constructor Detail |
---|
public UIViewParameter()
Method Detail |
---|
public String getFamily()
getFamily
in class UIInput
public void decode(FacesContext context)
UIComponentBase
decode
in class UIInput
public void encodeAll(FacesContext context) throws IOException
encodeAll
in class UIComponentBase
IOException
public String getName()
public String getStringValue(FacesContext context)
public String getStringValueFromModel(FacesContext context) throws ConverterException
ConverterException
public 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(String name)
public void updateModel(FacesContext context)
updateModel
in class UIInput
protected Object getConvertedValue(FacesContext context, 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
protected FacesContext getFacesContext()
getFacesContext
in class UIComponentBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |