|Oracle Fusion Middleware Tag Reference for Oracle ADF Faces
11g Release 1 (220.127.116.11.0)
The clientAttribute tag specifies the name/value for an attribute which will both be made available both on the server-side (Faces) component as well on on the client-side equivalent. This tag will be ignored for any server-rendered components, as it is only supported for the rich client. ClientAttributes are not synchronized to the server since unknown attributes from the client are not synchronized to the server.
When using af:clientAttribute the bonus attribute can be accessed on the client through AdfUIComponent.getProperty("<bonusAttributeName>"). The rich client framework takes care of marshaling the attribute value to the client. Our marshaling layer supports marshaling of a range of object types, including strings, boolean, numbers, dates, arrays, maps, etc... In order to avoid excessive marshaling overhead, clients are encouraged to use client-side bonus attributes sparingly. af:clientAttribute should only be used for bonus (application-defined) attributes. If you need access to standard component attributes on the client, instead of using af:clientAttribute, simply set clientComponent="true".
|name||String||No||the name of the attribute|
|value||Object||Yes||the value of the attribute|