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