Subview

Establishes a subset page within a view. Primarily used to introduce a new naming context (for example, around an included fragment) to ensure that each component has a unique ID.

 

Component class

com.sun.faces.taglib.jsf_core.SubviewTag

 

Component at design time

There is no visible runtime rendering of the

subview tag. This tag is not directly rendered as content within the body tag (it's children are rendered).

 

Component at runtime

There is no visible runtime rendering of the

subview tag.

 

Properties and All Attributes views

The Properties view for a component shows the most common set of attributes you can set on a component, and, depending on the component, you might also see options for adding controls, actions, or other components. To open the Properties view, click

Window | Show View | Properties.

These are the common attributes for the subview tag:

Table 1. Subview tag attributes

Attribute name

Description

binding

An expression that binds the component's instance (usually a user interface component) to a bean property (usually in the backing file).

id

Assigns a name to a component. Should be a unique name within a JSP.

rendered

Can be set to true or false:

  • false - Component will not be rendered to the browser at runtime.

  • true - Component will get rendered. This is the default value.