| PortletComponent is a
UIComponent that
acts as a container for all JSF components in a portlet page. This component
works around the problem of "id" clashes in a portal environment where same
portlet can be deployed multiple times.This component overrides the
getClientId() method to prepend a unique id
everytime it is invoked, so that no two JSF components with in two
different portlets have the same id . If a portletId
is specified, it has to an EL expression and the application is responsible
for making sure that it is unique. If no is specifed,
PortletComponent guarantees id uniqueness.
|