Clay Examples
Managed Bean Aliasing
This example demonstrates how Clay can use symbols for managed bean aliasing.
It also demonstrates how you can define a person's name and reuse the same
definitions, constructing and extending two other name combinations within
the same page. Each type of name is bound to a different manged bean.
Name Reuse Example
Generic Tiles Like Layouts
This example demonstrates how you can use symbols similar to how tiles are used.
There is a generic layout
that defines
sections of a typical page having a header,
footer, left navbar and body sections. The layout is defined as an HTML template,
but the entry point can be a full XML or full HTML template. There is a central
Clay configuration that is dedicated to full XML views and a base component definition
in the common clay configuration file.
Page 1
Page 2
Page 3