JSF Showcase
f:view
f:view declares the beginning of a JSF page.General Usage
This tag provides some attributes for page customization, such ascontentType
, encoding
or locale
. Since JSF 2.2 it is possible to make a page transient
by setting this attribute to true
. This means that the page state isn't stored anymore, hence causing all @ViewScoped managed beans to not maintain their state, but saving memory.
Source Code
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> </ui:composition>
Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 3.1.1 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20