Author: norman.richards(a)jboss.com
Date: 2008-10-14 20:23:15 -0400 (Tue, 14 Oct 2008)
New Revision: 9326
Modified:
trunk/doc/Seam_Reference_Guide/en-US/Components.xml
trunk/doc/Seam_Reference_Guide/en-US/Concepts.xml
Log:
JBSEAM-2563
Modified: trunk/doc/Seam_Reference_Guide/en-US/Components.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Components.xml 2008-10-14 23:41:26 UTC (rev
9325)
+++ trunk/doc/Seam_Reference_Guide/en-US/Components.xml 2008-10-15 00:23:15 UTC (rev
9326)
@@ -17,15 +17,7 @@
of the built in components on your own class using
<literal>@Name</literal>.
</para>
-
- <para>
- Note also that even though all the built in components use a
- qualified name, most of them are aliased to unqualified names by
- default. These aliases specify
<literal>auto-create="true"</literal>,
- so you do not need to use <literal>create=true</literal> when
- injecting built-in components by their unqualified name.
- </para>
-
+
<section>
<title>Context injection components</title>
<para>
Modified: trunk/doc/Seam_Reference_Guide/en-US/Concepts.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Concepts.xml 2008-10-14 23:41:26 UTC (rev 9325)
+++ trunk/doc/Seam_Reference_Guide/en-US/Concepts.xml 2008-10-15 00:23:15 UTC (rev 9326)
@@ -545,10 +545,40 @@
<programlisting role="XML"><![CDATA[<factory
name="loginAction" scope="STATELESS"
value="#{com.jboss.myapp.loginAction}"/>]]></programlisting>
<para>
- All of the built-in Seam components have qualified names, but most of
them are aliased to a simple
- name by the <literal>components.xml</literal> file included
in the Seam jar.
+ All of the built-in Seam components have qualified names but can be
accessed through
+ their unqualified names due to the namespace import feature of Seam.
+ The <literal>components.xml</literal> file included in the
Seam JAR defines the following
+ namespaces.
</para>
-
+
+<programlisting><components
xmlns="http://jboss.com/products/seam/components">
+
+ <import>org.jboss.seam.core</import>
+ <import>org.jboss.seam.cache</import>
+ <import>org.jboss.seam.transaction</import>
+ <import>org.jboss.seam.framework</import>
+ <import>org.jboss.seam.web</import>
+ <import>org.jboss.seam.faces</import>
+ <import>org.jboss.seam.international</import>
+ <import>org.jboss.seam.theme</import>
+ <import>org.jboss.seam.pageflow</import>
+ <import>org.jboss.seam.bpm</import>
+ <import>org.jboss.seam.jms</import>
+ <import>org.jboss.seam.mail</import>
+ <import>org.jboss.seam.security</import>
+ <import>org.jboss.seam.security.management</import>
+ <import>org.jboss.seam.security.permission</import>
+ <import>org.jboss.seam.captcha</import>
+ <import>org.jboss.seam.excel.exporter</import>
+ <!-- ... --->
+</components>
+</programlisting>
+
+ <para>
+ When attempting to resolve an unqualified name, Seam will check each of
those namespaces, in order.
+ You can include additional namespaces in your application's
<literal>components.xml</literal> file
+ for application-specific namespaces.
+ </para>
</sect2>
<sect2>