ui:remove |
|
The UI Remove tag is used to specify tags or blocks of content that should be removed from your page by the Facelets view handler at compile time. This tag has no attributes. You can use this tag within the "jsfc" attribute to indicate that a particular tag should be removed from the rendered page.
Note that the Facelets compilation process is much faster than the JSP compilation process because no Java bytecode is actually generated and compiled behind the scenes when you first visit your page.
This gives you some flexibility to display content and to work with markup in your design environment that will be omitted once the page is actually viewed by your users. FaceletsTools will not display any markup that is wrapped with a ui:remove tag in Dreamweaver's design view, but it will display markup containing the "jsfc" variant of this tag.
Example:
This text will be displayed.
<ui:remove>
This text will be removed.
</ui:remove>
This text will be displayed.
HTML Output
This text will be displayed.
This text will be displayed.
|