Search code examples
primefacesprimefaces-extensions

using primefaces extensions (inputNumber)


i'm new in primefaces word , and i need to use primefaces extensions (inputNumber)

in the XHTML file I add the taglib :

xmlns:pe="http://primefaces.org/ui/extensions"

when adding the jar :

primefaces-extensions-0.6.3;

I have an error : La ressource demandée n'est pas disponible.

When removing it, the application works but the inputNember doesn't show and I get this error:

Warning: This page calls for XML namespace http://primefaces.org/ui/extensions declared with prefix pe but no taglibrary exists for that namespace.

Solution

  • To work with primefaces extensions i should add to the XHTML file the taglib:

    xmlns:pe="http://primefaces.org/ui/extensions" 
    

    and to the lib folder two jars:

    primefaces-extensions-0.6.3.jar
    common-lang3.jar.
    

    that is all.