この複合コンポーネントの「実装」で実装する、ファセットを含む複合コンポーネントが必要です。私の問題はIDです。複合コンポーネントでのみ定義してから実装を入れると、それはレンダリングされるだけですが、コンポーネントは別の場所にあるためです。サンプルコードは次のとおりです。
myComposition.xhtml
<composite:implementation>
<composite:renderFacet name="myFacet">
</composite:implementation>
myCompositionImpl.xhtml
<mySomething:myComposition>
<f:facet name="myFacet">
this code is rendered but the "component" which I define here is not placed
logically in the place where I defined the "renderFacet".
</f:facet>
</mySomething:myComposition>
これについて何ができますか?composite:insertFacet を使用すると、何もレンダリングされません。コンポーネントのクライアント ID を知る必要があるため、そこにもコンポーネントが必要です。