Name

<component>

Synopsis

The <component> element declares the implementation class for a component type.

Syntax

<component>
  [<description [xml:lang="lang"]>description</description>]*
  [<display-name [xml:lang="lang"]>displayName</display-name>]*
  [<icon [xml:lang="lang"]>
     [<small-icon>iconPath</small-icon>]
     [<large-icon>iconPath</large-icon>]
   </icon>]*
  <component-type>componentType</component-type>
  <component-class>className</component-class>
  [<attribute>
    [<description [xml:lang="lang"]>description</description>]*
    [<display-name [xml:lang="lang"]>displayName</display-name>]*
    [<icon [xml:lang="lang"]>
       [<small-icon>iconPath</small-icon>]
       [<large-icon>iconPath</large-icon>]
     </icon>]*
     <attribute-name>attrName</attribute-name>
     <attribute-class>className</attribute-class>
     [<default-value>defaultValue</default-value>]
     [<suggested-value>suggestedValue</suggested-value>]
     [<attribute-extension>extension</attribute-extension>]*
   </attribute>]*
  [<property>
    [<description [xml:lang="lang"]>description</description>]*
    [<display-name [xml:lang="lang"]>displayName</display-name>]*
    [<icon [xml:lang="lang"]>
       [<small-icon>iconPath</small-icon>]
       [<large-icon>iconPath</large-icon>]
     </icon>]*
     <property-name>propName</property-name>
     <property-class>className</property-class>
     [<default-value>defaultValue</default-value>]
     [<suggested-value>suggestedValue</suggested-value>]
     [<property-extension>extension</property-extension>]*
   </property>]*
   [<component-extension>extension</component-extension>]* </component> ...

Get JavaServer Faces 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.