f

Tag view

Component Information 
InfoValue
Component Typejakarta.faces.ViewRoot
Handler ClassNone
Renderer TypeNone
DescriptionNone
Attributes 
NameRequiredTypeDescription
afterPhasefalsejakarta.el.MethodExpression
(signature must match void afterPhase(jakarta.faces.event.PhaseEvent) )

MethodBinding pointing to a method that takes a jakarta.faces.event.PhaseEvent and returns void. This method will be called after every phase except for restore view on an initial request.

beforePhasefalsejakarta.el.MethodExpression
(signature must match void beforePhase(jakarta.faces.event.PhaseEvent) )

MethodBinding pointing to a method that takes a jakarta.faces.event.PhaseEvent and returns void. This method will be called before every phase except for restore view.

contentTypefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)

Specifies the content-type of the response.

contractsfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)

A comma separated list of resource library contracts that may be used from within the Facelets chain. If this attribute is present, it must only be on the outer-most file in the chain of files that started ultimately with a call to ViewDeclarationLanguage.createView(). Any use of this attribute on a non-outer-most file is undefined.

If this attribute exists on the tag, empty or not, the tag handler must create a List<String> for the value of the attribute and unconditionally call FacesContext.setRresourceLibraryContracts() passing that list value.

encodingfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)

Specifies the character encoding that should be used for the response.

locale false jakarta.el.ValueExpression
(must evaluate to java.lang.Object)

Locale to use for localizing this page. Expressions must evaluate to a java.util.Locale or to a String that is converted to a Locale.

renderKitIdfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Identifier for the RenderKit to use for rendering this page.
transientfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)

If true, this view must not participate in state saving or restoring. Note that transient views may not be used with @ViewScoped managed beans. The implementation must call setTransient() on the UIViewRoot, passing the value of the attribute as specified in the markup.