O'Reilly logo

Advanced Java® EE Development with WildFly® by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating input and output Facelets composition pages

In this section, we will create input and output Facelets composition pages, input.xhtml and output.xhtml. Create the Facelets pages similar to creating the BasicTemplate.xhtml, header.xhtml, and footer.xhtml to that select the folder to create input.xhtml and output.xhtml as webapp. For example, specify input.xhtml in Create New XHTML Page, as shown here:

Creating input and output Facelets composition pages

And in Select XHTML Template, select Form Facelet Page Template and click on Finish, as shown in the following screenshot:

Creating input and output Facelets composition pages

In the BasicTemplate.xhtml ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required