Contents > Facelets UI Tag Reference > ui:component
The UI Component tag inserts a new UIComponent instance into the JSF component tree. Any components or content fragments outside this tag will be ignored by the Facelets view handler. Any components or content fragments within this tag will be added to the component tree as children of the UIComponent instance. See also ui:fragment.
Example
This text will be ignored. <ui:component binding="#{myBean.component}"> <div>Hello World!</div> </ui:component> This text will be ignored.
HTML Output
<div>Hello World!</div>