JSF 2.0 and Facelets

In blogs I read that JSF 2.0 includes Facelets. So I turned on JSF-api.jarand JSF-impl.jarin your Java build path.

But if I try to use Facelet tags, they do not work. Do I need to configure Facelets anywhere or include any additional libraries?

thank.

+3
source share
4 answers

It should work fine. For more information and a working example, see the IBM developerWorks article and the following articles in this series .

+3
source

/ Facelets Java EE 6: Facelets ( ). , ui.

+3

Did you specify the tag libraries in the html tag? How:

<html xmlns:ui="http://java.sun.com/jsf/facelets" 
      xmlns:f="http://java.sun.com/jsf/core" 
      xmlns:h="http://java.sun.com/jsf/html">
......
</html>
0
source

Source: https://habr.com/ru/post/1726229/


All Articles