How to pass the node value as the attribute in Composite Component in JSF 2.0
问题 I am developing a JSF 2.0 composite component. I am trying to create a box component to which my required HTML will be set as attribute. Some thing like.. <composite:interface> <composite:attribute name="value" /> </composite:interface> <composite:implementation> <table cellpadding="0" cellspacing="0" border="1" width="100%"> <tr> <td></td> <td>#{cc.attrs.value}</td> <td></td> </tr> </table> </composite:implementation> When I want to use this component and pass the required HTML to the