This content has been marked as final. Show 1 reply
Which namespace should I use for richfaces and ajax4jsf?
Is this the new namespace for ajax4jsf? :
I've been browsing through the checked out samples, and they seem to use one for each component.
Ex. dataTable :
Ex. tooltip :
You have to use http://richfaces.org/a4j and http://richfaces.org/rich namespaces.
Alternatively, if you are migrating from 3.0, you can still use http://richfaces.ajax4jsf.org/rich and https://ajax4jsf.dev.java.net/ajax, but they'll become deprecated in later versions.
As for sample projects - each component is first built separately with its own taglib, namespace and faces-config, and then they all are merged into single library. Most of samples use just components they demonstrate, therefore they don't need entire richfaces-ui library, and depend only on specific artifacts.
For example, dataTable demo needs to have only dataTable component, so it declares only dataTable dependency.