# rich

## Function component

- Signature:
    `java.lang.String component(java.lang.String)`
  Description:
    The rich:component('id') function is equivalent to the RichFaces.component('clientId') code. It returns the client object instance based on the passed server-side component identifier ('id'). If the specified component identifier is not found, null is returned instead. The function can be used to get an object from a component to call a JavaScript API function without using the component.

- Function Information
  Info | Value
  --- | ---
  Function Class | `org.richfaces.function.RichFunction`
  Function Signature | `java.lang.String component(java.lang.String)`
  Display Name | None

Output generated by Vdldoc View Declaration Language Documentation Generator.