Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 21st, 2012  |  syntax: None  |  size: 0.62 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to reference Facelets taglib in JAR from Facelets and web.xml?
  2. <html xmlns="http://www.w3.org/1999/xhtml"
  3.       xmlns:h="http://java.sun.com/jsf/html"
  4.       xmlns:f="http://java.sun.com/jsf/core"
  5.       xmlns:p="http://primefaces.prime.com.tr/ui"
  6.       **xmlns:mcv="http://myfaces.apache.org/commons/validators"**>
  7.        
  8. <context-param>
  9.   <!-- To add additional tab libs -->
  10.   <param-name>facelets.LIBRARIES</param-name>
  11.   <param-value>??.xml</param-value>
  12. </context-param>
  13.        
  14. <dependency>
  15.     <groupId>org.apache.myfaces.commons</groupId>
  16.     <artifactId>myfaces-commons</artifactId>
  17.     <version>1.1.2</version>
  18. </dependency>