UI-Component Sets
Project Documentation


Tag name: <f:param>
UIComponent class: javax.faces.component.UIParameter
Tag class: org.apache.myfaces.taglib.core.ParamTag
Component type: javax.faces.Parameter
Component family: javax.faces.Parameter

This tag associates a parameter name-value pair with the nearest parent UIComponent.

A UIComponent is created to represent this name-value pair, and stored as a child of the parent component; what effect this has depends upon the renderer of that parent component.

Unless otherwise specified, all attributes accept static values or EL expressions.

See Javadoc of JSF Specification


Name Type Supports EL? Description
binding String Only EL Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
id String Yes An identifier for this particular component instance within a component view.

The id must be unique within the scope of the tag's enclosing NamingContainer (eg h:form or f:subview). The id is not necessarily unique across all components in the current view

This value must be a static value, ie not change over the lifetime of a component. It cannot be defined via an EL expression; only a string is permitted.

name String Yes A String containing the name of the parameter.
value Object Yes The value of this parameter.