0

I generated Entity Classes from database then I generated JSF pages from them but when I click on any show table this message displays 3 times: Warning this page calls for XML namespaces http://xlmns.jsp.org/jsffacelets declared with prefix ui but no taglibrary exists for that namespace

Luiggi Mendoza
  • 85,076
  • 16
  • 154
  • 332
James Forland
  • 155
  • 1
  • 1
  • 6
  • possible duplicate of [Using new xmlns.jcp.org namespace on composites causes java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putIfAbsent](http://stackoverflow.com/questions/18436511/using-new-xmlns-jcp-org-namespace-on-composites-causes-java-lang-nullpointerexce) – Luiggi Mendoza Sep 21 '13 at 03:44

1 Answers1

0

For UI tags you need to use following tag library.

xmlns:ui="http://java.sun.com/jsf/facelets

Please check following link,

http://www.mkyong.com/jsf2/jsf-2-templating-with-facelets-example/

MRX
  • 1,611
  • 8
  • 33
  • 55
  • This is true for JSF 2.x until latest JSF 2.1 distribution. Since JSF 2.2, there are new namespaces. This is the only official resource I can give regarding this: http://docs.oracle.com/javaee/7/javaserverfaces/2.2/vdldocs/facelets/overview-summary.html – Luiggi Mendoza Sep 21 '13 at 03:49
  • Sorry. I did not know that. – MRX Sep 21 '13 at 04:08
  • I didn't know either until I read the possible duplicate question I proposed. BalusC's answer explains this in details. – Luiggi Mendoza Sep 21 '13 at 04:10