Defines a composition that
optionally uses a template, as outlined in the description of the ui tag
library. Multiple compositions can use the same template, thus
encapsulating and reusing layout. JSF disregards everything outside of
the composition, which lets developers embed compositions in well-formed
XHTML pages that can be viewed in an XHTML viewer, such as Dreamweaver
or a browser, without including extraneous elements such as
head and body.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
javax.el.ValueExpression (must evaluate to java.lang.String)
A URI that points to a
template, also known as a layout, that inserts pieces of the page
defined in the composition. If the URI
cannot be resolved a TagAttributeException must be thrown,
including accurate location information to help the page author resolve
the problem. When the template is intended to come from a resource
library contract, the value of this attribute must be an absolute path
starting with "/".