CHAPTER 11 Field Validation, Formatting, and Translation
This chapter walks you through the process of adding field-level validation, formatting, and translation to portlets. Several different techniques are discussed, including the use of out-of-the-box builders, Java methods, regular expressions, resource bundles, and data definitions. By the end of this chapter, you will have a good understanding of each approach and be able to implement each one in the appropriate scenarios.
The example application discussed in this chapter utilizes one model, a properties file and a Java source file, which are available for download from Chapter 11 folder (instructions for copying these files into your project ..., under the