2012-08-24 6 views

答えて

12

はい、UIComponent#getFacets()を使用すると、すべてのファセットを名前でマッピングできます。だから、地図の値が空でないかどうかを確認するだけです。

<h:panelGroup rendered="#{not empty cc.facets.foo}"> 
    The facet with name "foo" has been definied for this composite! 
</h:panelGroup> 
関連する問題