17.4. Implementing component attributes and validation

Execute the following steps:

1.
Select the first Input component. In the Properties view, h:inputText tab, do the following (Figure 17-16 on page 564):
a. Change the id to number1.
b. Change the width to 12.
c. In the Format combo box, select Number.
d. Select Decimal as the type.
e. Check the Integer only checkbox.
Figure 17-16. Properties for number1 component
2.
Change to the Validation tab:
a. Check the Value is required checkbox.
b. Set Minimum and Maximum to 11 and 888.
c. Check the Display validation error messages in a error message control checkbox.
d. An error ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.