c:set becomes useful for setting a value to a JavaBean or an scoped variable.

General Usage

Set value for specifying which value you want to set, and then there are two possible options:
  • Store the value in a scoped variable. Set var and scope attributes for that purpose.
  • Set the value to a JavaBean property. In this case, just use target for the bean name, and property for the bean property name to be set.

Rendered bean value is:true

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20