when you use a component from extarnal libraries (or custom component) in JSF page you add the xmlns declaration, for example:
xmlns:util="http://java.sun.com/jsf/composite/component/util
I would like to know what I have to do to use a private address in the Namaspace like this below:
xmlns:p="http://primefaces.prime.com.tr/ui"
It is something related to packages? Or it depends from the name of the .JAR that contains the components?
Thank you!
For Facelets this is definied in
.taglib.xml
file. In case of PrimeFaces it's/META-INF/primefaces-p.taglib.xml
:Note the
<namespace>
. For JSP this is definied in the.tld
file, for PrimeFaces it's the/META-INF/primefaces-p.tld
Note the
<uri>
.