3

In blogs i have read that JSF 2.0 is inlcuding Facelets. So i only included JSF-api.jar and JSF-impl.jar to my Java build path.

But if i try to use Facelet tags, they don't work. Do i need to configure Facelets anywhere or must i include any further libraries?

THX.

Jonik
  • 80,077
  • 70
  • 264
  • 372
ich-bin-drin
  • 543
  • 3
  • 12
  • 23

4 Answers4

3

It should works fine. More information and working example you can find in IBM developer works article and following articles in this series.

cetnar
  • 9,357
  • 2
  • 38
  • 45
3

How to configure/use Facelets is outlined the Java EE 6 tutorial: Developing a Simple Facelets Application (also check the subsequent pages). You're likely forgotten to declare the ui taglib.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
  • +1 The Java EE 6 tutorial actually makes this stuff quite clear. (Unlike e.g. some documentation under facelets.dev.java.net) – Jonik Apr 27 '10 at 17:49
0

Install Facelets as in article http://www.ibm.com/developerworks/java/library/j-facelets/#install

download jar from http://download.java.net/maven/1/com.sun.facelets/jars/

valli
  • 5,797
  • 2
  • 19
  • 9
0

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

<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>
Yuriy Tkach
  • 78
  • 1
  • 7