ui:include |
|
The UI Include tag is a server-side include tag for Facelets. It simply includes the document pointed to by the "src" attribute as part of the current JSF page. The included document should use a component or composition tag to trim unnecessary markup, or it may simply contain a fragment of XHTML or XML to be included.
Example:
<p><strong>include.jsf</strong></p>
<ui:include src="header.jsf"/>
Body text here.
HTML Output
<p><strong>include.jsf</strong></p>
<h2>Our Company</h2>
Body goes here.
|