This content has been marked as final.
Show 1 reply
-
1. Re: components.xml
keithnaas Mar 1, 2008 4:44 AM (in response to kemelbrader)It imports a another Seam Namespace. And what exactly is a Namespace? It is a component that is used for aliasing a package full of components within the components.xml.
So instead of needing to do verbose things like
<component class="org.jboss.seam.core.init"> <property name="debug">true</property> <property name="jndiPattern">@jndiPattern@</property> </component>
You can do
<core:init debug="true" jndi-pattern="@jndiPattern@"/>
Read the section on 4.5. Using XML Namespaces
Some examples of Namespaces are web and persistence
I'm not sure why you might import another namespace instead of just referring to it in the xmlns attributes of the components element like below.
<components xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core">