Alloy Showcase

f:converter

The f:converter Facelet tag exposes the functionality of a Converter inside Facelet views. f:converter tags facilitate conversion of complex data structures into UI data and back.

General Usage

Converters must be annotated with @FacesConverter (or declared as a converter in a faces-config.xml file) and implement Converter in order to be accessible via the f:converter tag.

Selected Country Id:1, Selected Country Name:China

Source Code

Liferay Faces Alloy 3.0.0 + Liferay Faces Bridge Implementation 4.0.0 + Showcase Common 3.0.0 + Liferay Faces Util 3.0.0 + Mojarra 2.2.13