Here is some text outside the the ui:decorate that will be rendered.

This is a test.

Facelets will render this literally, giving you some EL on your page, while JSFTemplating will evaluate it an emit a client ID:

h_outputText47

This is ui:define#foo2 in a ui:decorate. This will be rendered on the client.

Here is some text in the template that will be rendered after the defined block "foo2" is rendered.

Here is some more text outside the the ui:decorate that will be rendered.