-
Book Overview & Buying
-
Table Of Contents
JSF 1.2 Components
By :
The Trinidad framework introduces a rich, innovative, and intuitive set of UI components for receiving input from users. Trinidad provides components for receiving color information, date/time values, numeric input, and text from users. These components can be used to enhance the usability and appeal of an existing JSF application.
Handling color selection can be a challenging task for web applications. The CoreInputColor component simplifies color selection in our user interface by providing an intuitive control for specifying color information.
The Trinidad framework provides the<tr:inputColor> tag to handle color selection in a JSF application. The<tr:inputColor> tag can be used in several ways. We will look at two examples of how to use this tag: one that involves a pop-up color chooser dialog, and one that renders a color selection palette on the same page.
In the first example, we use the<tr:inputColor> tag to...
Change the font size
Change margin width
Change background colour