Components in JSF are elements like text box,
button, table etc. that are used to create user interfaces of JSF
Applications. These are objects that manage interaction with a user.
Components help developers to create UIs by
assembling a number of components , associating them with object
properties and event handlers. Would u like to repeat the same code again
& again and waste time if u want to create many tables in hundreds of
pages in your web application? Not at all. Once you create a component,
it’s simple to drop that component onto any JSP.
Components in JSF are of two types :
- Simple Components like text box, button and
- Compound Components like table, data grid
etc.
A component containing many components inside it
is called a compound component.
JSF allows you to create and use
components of two types:
-
Standard UI
Components: JSF contains its basic set of UI components like text
box, check box, list boxe, button,
label, radio button, table, panel
etc. These are called standard components.
- Custom UI
Components:
Generally UI designers need some different , stylish
components like fancy calendar, tabbed panes . These types of
components are not standard JSF components. JSF provides this
additional facility to let you create and use your own set of
reusable components. These components are called custom components.
|