Validating standard input


This chapter includes the following sections: in the model layer.When viewed in a client browser, however, the user interface has to present the data in a manner that can be read or modified by the user.Therefore, if the value is bound to any of the following types, you do not need to explicitly add a converter: Patterns specify the format of data accepted for conversion. For example, a user could enter dates using a slash (/) or hyphen (-) as a separator.Not all converters support multiple patterns, although pattern matching is flexible and multiple patterns may not be needed.This tag invokes the converter, which will convert the As with validators, the ADF Faces converters are also run on the client side.If no converter is explicitly added, ADF Faces will attempt to create a converter based on the data type.In addition, you can create your own custom validators to suit your business needs.



Conversely, data stored as something other than a you can set one or more validator attributes or you can use the ADF Faces validator components.This chapter describes how to add conversion and validation capabilities to ADF Faces input components in your application.It also describes how to handle and display any errors, including those not caused by validation.You can create custom JSF converters that run on the server-side using Java, and then also create a Java Script version that can run on the client-side.