[seam-commits] Seam SVN: r8226 - in trunk: src/main/org/jboss/seam and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon May 19 18:11:11 EDT 2008


Author: christian.bauer at jboss.com
Date: 2008-05-19 18:11:11 -0400 (Mon, 19 May 2008)
New Revision: 8226

Modified:
   trunk/doc/Seam_Reference_Guide/en-US/Controls.xml
   trunk/src/main/org/jboss/seam/ui-2.1.xsd
Log:
JBSEAM-2941, entity loader class is named JpaEntityLoader, not EntityLoader, hence components.xml needs to use that

Modified: trunk/doc/Seam_Reference_Guide/en-US/Controls.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Controls.xml	2008-05-19 21:00:00 UTC (rev 8225)
+++ trunk/doc/Seam_Reference_Guide/en-US/Controls.xml	2008-05-19 22:11:11 UTC (rev 8226)
@@ -338,7 +338,7 @@
             <programlisting><![CDATA[<components xmlns="http://jboss.com/products/seam/components"
             xmlns:ui="http://jboss.com/products/seam/ui">
  
-   <ui:entity-loader entity-manager="#{em}" />]]></programlisting>
+   <ui:jpa-entity-loader entity-manager="#{em}" />]]></programlisting>
    
             <para>
                If you are using a <emphasis>Managed Hibernate Session</emphasis>
@@ -373,11 +373,11 @@
  
    <ui:entity-converter name="standardEntityConverter" entity-loader="#{standardEntityLoader}" />
             
-   <ui:entity-loader name="standardEntityLoader" entity-manager="#{standardEntityManager}" />
+   <ui:jpa-entity-loader name="standardEntityLoader" entity-manager="#{standardEntityManager}" />
    
    <ui:entity-converter name="restrictedEntityConverter" entity-loader="#{restrictedEntityLoader}" />
             
-   <ui:entity-loader name="restrictedEntityLoader" entity-manager="#{restrictedEntityManager}" />]]></programlisting>
+   <ui:jpa-entity-loader name="restrictedEntityLoader" entity-manager="#{restrictedEntityManager}" />]]></programlisting>
 
              <programlisting><![CDATA[<h:selectOneMenu value="#{person.continent}">
    <s:selectItems value="#{continents.resultList}" var="continent" 

Modified: trunk/src/main/org/jboss/seam/ui-2.1.xsd
===================================================================
--- trunk/src/main/org/jboss/seam/ui-2.1.xsd	2008-05-19 21:00:00 UTC (rev 8225)
+++ trunk/src/main/org/jboss/seam/ui-2.1.xsd	2008-05-19 22:11:11 UTC (rev 8226)
@@ -5,7 +5,7 @@
     xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
     <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.1.xsd"/>
     
-    <xs:element name="entity-loader">
+    <xs:element name="jpa-entity-loader">
       <xs:complexType>
          <xs:attributeGroup ref="components:attlist.component" />
          <xs:attribute name="entity-manager" type="xs:string" />




More information about the seam-commits mailing list