Alloy Showcase


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 3.0.1 + Liferay Faces Bridge Implementation 4.1.0 + Showcase Common 3.0.1 + Liferay Faces Util 3.1.0 + Mojarra 2.2.14