Alloy Showcase

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 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