官术网_书友最值得收藏!

Facelets support

Facelets is a templating language for JSF that enables the rendering of JSF components on XHTML files, serving as an alternative rendering medium for JSF components other than standard JSPs. As you know, Facelets is an extension of JSF especially created to simplify the design of presentation pages for JSF. To add Facelets support to your JSF projects, you start by creating a JSF project exactly as you have seen in the Creating a JSF Project Stub section. The main difference is that in the New JSF Project window (as seen in the following screenshot), you have to select JSF 1.2 with Facelets.

Facelets support

After you have selected the JSF Environment as JSF 1.2 with Facelets, you have to select a Template from the following list:

  • FaceletsBlankWithoutLibs—this is a blank JSF project without JSF support. In this case, the JSF libraries are missing for avoiding the potential conflicts with the servers that already offer JSF support.
  • FaceletsKickStartWithRILibs—this is a demo JSF/Facelets project with complete JSF/Facelets support.
  • FaceletsKickStartWithoutLibs—this is a demo JSF/Facelets project without JSF/Facelets support.

Once the project stub has been created, it is important to know that the Facelets components can be taken from the JBoss Tools Palette, JSF Facelets section (as shown in the following screenshot). For more details about how to work with JBoss Tools Palette, please see Chapter 3.

Facelets support
主站蜘蛛池模板: 平利县| 新民市| 南汇区| 开江县| 收藏| 光山县| 大丰市| 长岛县| 凤凰县| 上犹县| 长宁区| 乌拉特后旗| 石门县| 巩留县| 兴宁市| 贡嘎县| 赤峰市| 瑞金市| 桐庐县| 哈巴河县| 汉川市| 肇源县| 宜州市| 且末县| 西贡区| 云和县| 邮箱| 贺州市| 抚松县| 淮北市| 宁蒗| 遂川县| 台州市| 扎鲁特旗| 赞皇县| 青铜峡市| 抚顺县| 通化县| 绿春县| 仙游县| 霍邱县|