JSF - Converters

Java Conceptuel Diagram

About

Converters are used to convert data that is received from the input components.

JSF converters convert Java objects to strings and back.

@FacesConverter

The @FacesConverter annotation was introduced in JSF 2.0 and it serves to mark the annotated class as a JSF converter.

You can create an inner class annotated with the @FacesConverter annotation to implement a converter.

Documentation / Reference





Discover More
Jdeveloper Create Managed Bean
JSF - (Managed Bean|Controller)

Managed Beans (also known as model objects and controllers) are lightweight container-managed objects (POJOs) with minimal requirements. They support a small set of basic services, such as: resource...
Jdeveloper Faces Config Xml
JSF - faces-config.xml

Configuration file of JSF. Permits to manager the declaration and configuration of: Managed bean Navigation Rules Validators Converters ...
Java Conceptuel Diagram
Java - Server Side Components

Server-side components enable application developers to develop “business logic” and package it as a component that can be assembled into applications. JSF server-side objects: managed beans,...
Java Conceptuel Diagram
JavaServer Faces (JSF)

The request: means to maintain the state for the time of a request session: means to maintain the state for the time of a session (between page views) none: means that the bean will be created but...



Share this page:
Follow us:
Task Runner