Faces Core
Tag viewParam


Used inside of the metadata facet of a view, this tag causes a UIViewParameter to be attached as metadata for the current view. Because UIViewParameter extends UIInput all of the attributes and nested child content for any UIInput tags are valid on this tag as well.



Tag Information
Tag Classcom.sun.faces.taglib.jsf_core.ParameterTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
converterfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter)
Converter instance registered with this component.
converterMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter.
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
requiredfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating that the user is required to provide a submitted value for this input component.
requiredMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)

A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used.

validatorfalsefalsejavax.el.MethodExpression
(signature must match void validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object))
MethodExpression representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void.
validatorMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator.
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
A ValueExpression to which the value of the request parameter, as determined by the name attribute, is bound. The resolved value of this expression is used when encoding the view parameter into a bookmarkable link or redirect URL with view parameter encoding enabled. If this attribute is omitted, the value of the request parameter will instead be the local value of the UIViewParameter.
nametruefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)

The name of the request parameter from which the value for this component is retrieved on an initial request or to override the stored value on a postback.

valueChangeListenerfalsefalsejavax.el.MethodExpression
(signature must match void valueChange(javax.faces.event.ValueChangeEvent))

MethodExpression representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void. In the latter case, the method has no way of easily knowing what the new value is, but this can be useful in cases where a notification is needed that "this value changed".

bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The ValueExpression linking this component to a property in a backing bean
forfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)

If present, this attribute refers to the value of one of the exposed attached objects within the composite component inside of which this tag is nested.


Variables
No Variables Defined.