JBoss.orgCommunity Documentation

Chapter 17. Functionality extension

17.1. <rich:componentControl>
17.1.1. Basic usage
17.1.2. Passing parameters to API methods
17.1.3. Reference data
17.1.4. <rich:hotKey>
17.1.5. <rich:hashParam>

Read this chapter for details on miscellaneous components that provide extended functionality to web applications.

The <rich:componentControl> behavior allows JavaScript API functions to be called on target components. The functions are called after defined events are triggered on the component to with the <rich:componentControl> behavior is attached. Initialization variants and activation events can be customized, and parameters can be passed to the target component.

The <rich:hotKey> component allows to register hot keys for the page or particular elements and to define client-side processing functions for these keys.

The <rich:hashParam> component allows client-side parameters to be grouped into a hash map. The hash map can then be passed to the client JavaScript API functions of any RichFaces component.