This content has been marked as final.
Show 1 reply
-
1. Re: Namespace for 3.1.0-SNAPSHOT
maksimkaszynski Aug 21, 2007 11:30 AM (in response to mail.micke)"mail.micke@gmail.com" wrote:
Which namespace should I use for richfaces and ajax4jsf?
Is this the new namespace for ajax4jsf? :
http://richfaces.org/a4j
I've been browsing through the checked out samples, and they seem to use one for each component.
Ex. dataTable :
http://labs.jboss.com/jbossrichfaces/ui/dataTable
Ex. tooltip :
http://labs.jboss.com/jbossrichfaces/ui/tooltip
Thanks,
Mike
Hi Mike!
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.