In JSF2, how to know if composite component has children?

I'm writing a composite component, you have a special tag named:

<composite:insertChildren />

Which inserts all the component's children there. Is there any way to know whether the component has children? Like a boolean value that could go on a "rendered" attribute.

5
задан BalusC 3 June 2016 в 19:31
поделиться