Open in new window

back

Facelets Support

Facelets extends JavaServer Faces by providing a lightweight framework that radically simplifies the design of presentation pages for JSF. Exadel Studio provides support for Facelets in a variety of ways.

  • The Create New JSF Project wizard contains templates for creating Facelets-enabled projects based on version 1.1_01 of the JSF Reference Implementation.

    Facelets Templates

  • Once you select the environment, you can select one of the two available templates:

    Facelets Templates

  • The Exadel Palette comes with the Facelets components ready to use. A useful tip appears when you hover the mouse cursor over the tag.

  • You also get code assist for jsfc attribute in any HTML tag and then for JSF components.

  • Also, code assist for Facelets tags is available when editing JSP files.

  • Using Exadel's OpenOn feature, you can easily navigate between the Facelets templates and other parts of your projects. Just by holding down the Control key while hovering the mouse cursor over a reference to a template, the reference becomes a hyperlink to open that template.

  • Additionally, when hovering the mouse cursor over many Facelets tag attributes, Exadel Studio provides a pop-up help tip.

Some Question about Facelets Support in Exadel Studio

How about templates for the MyFaces JSF implementation?

Exadel Studio does not provide templates for MyFaces right out of the box, but you can easily do it yourself with the "Save As Template" feature (available on the File submenu). Just create a small project with MyFaces and Facelets and then save it as a template for future use.

How can I add Facelets support to an existing project?

Right-click the folder of existing project and select Exadel Studio->Add Custom Capabilities..->Facelets.

back