Namespace: xmlns:c="http://java.sun.com/jstl/core"

Compliance: JSF 2.0

Tag: c:set

Sets the result of an expression evaluation based on the value of the attributes.

Attributes

  • var String Name of the variable
  • value ValueExpression Expression to be evaluated
  • target String Target object whose property must be set.
  • property String Name of the property to be set in the target object.
  • scope String Scope for var.

Example

23 24

XHTML

Generated HTML