How to access Composite Component attribute values ​​in a UIComponent database?

We can access the values ​​of the Composite Component attribute (defiled in the section of the interface), in an implication like #{cc.attrs.attributeName}

How can we access this value in the support component?

+4
source share
1 answer

It is available only in any of the methods using the inherited getAttributes() method, which returns Map<String, Object> with the attribute name as the map key and attribute value as the map value.

 Bar bar = (Bar) getAttributes().get("bar"); // ... 
+6
source

All Articles