JSF core tag library.
Tag viewParam


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")


Tag Information
Tag Classorg.apache.myfaces.taglib.core.ViewParamTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
maxlengthfalsefalsejavax.el.ValueExpression
(must evaluate to int)
The max number or characters allowed for this param
requiredfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value that indicates whether an input value is required.

If this value is true and no input value is provided by a postback operation, then the "requiredMessage" text is registered as a FacesMessage for the request, and validation fails.

Default value: false.

converterMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Text to be displayed to the user as an error message when conversion of a submitted value to the target type fails.

requiredMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Text to be displayed to the user as an error message when this component is marked as "required" but no input data is present during a postback (ie the user left the required field blank).
validatorfalsefalsejavax.el.MethodExpression
(signature must match void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ))
A method-binding EL expression which is invoked during the validation phase for this component.

The invoked method is expected to check the submitted value for this component, and if not acceptable then report a validation error for the component.

The method is expected to have the prototype

public void aMethod(FacesContext, UIComponent,Object)
validatorMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Text which will be shown if validation fails.
valueChangeListenerfalsefalsejavax.el.MethodExpression
(signature must match void myMethod( javax.faces.event.ValueChangeEvent ))
A method which is invoked during postback processing for the current view if the submitted value for this component is not equal to the value which the "value" expression for this component returns.

The phase in which this method is invoked can be controlled via the immediate attribute.

valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Gets The initial value of this component.
converterfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter)
An expression that specifies the Converter for this component.

The value can either be a static value (ID) or an EL expression. When a static id is specified, an instance of the converter type registered with that id is used. When this is an EL expression, the result of evaluating the expression must be an object that implements the Converter interface.

idfalsetruejava.lang.StringGet a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind " + "to this component instance. This value must be an EL expression.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.