O'Reilly logo

JavaServer Faces by Hans Bergsten

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required