jsf 2.2 - Filtering children in a composite component -


when writing composite component, there way insert subset of component's children? <cc:insertchildren/> inserts children - if wanted insert, say, children <myns:specialcompositesubtag .../> tags @ specific point , others @ other point? like:

<composite:implementation>     <h:outputlabel value="my special composite sub tags:" />     <composite:insertchildren condition="#{type == myns:specialcompositesubtag}" />     <h:outputlabel value="all other child tags:" />     <composite:insertchildren condition="#{type != myns:specialcompositesubtag}" /> </composite:implementation>   

is possible? if not, alternative solution?


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -