<ui:composition xmlns="http://www.w3.org/1999/xhtml"
...
template="inputLayout.xhtml">
<composite:interface>
<composite:attribute name="name" />
<composite:attribute name="value" />
</composite:interface>
<composite:implementation>
<!-- <ui:define name="content"> -->
<h:message for="textPanel" style="color:red;" />
#{cc.attrs.name} :
<h:inputText id="name" value="#{cc.attrs.value}" />
<!-- <ui:define> -->
</composite:implementation>
</ui:composition>
The problem is that even the ui:define is commented the content is rendered.
So it is like the ui:define is ignored or Am I missing some thing ?
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…