alloy:loadConstants

LoadConstants is a TagHandler which can obtain constants from Java for use in EL.

General Usage

Constants can be imported from class, enum, or interface types and are kept in a thread-safe, application-scoped cache unless cacheable=false.
  • blue
  • green
  • red
  • blue
  • green
  • red
  • blue
  • green
  • red

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