[seam-commits] Seam SVN: r14940 - branches/community/Seam_2_3/jboss-seam-gen/dist/view.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Jun 21 03:44:12 EDT 2012


Author: manaRH
Date: 2012-06-21 03:44:11 -0400 (Thu, 21 Jun 2012)
New Revision: 14940

Modified:
   branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.page.xml.ftl
   branches/community/Seam_2_3/jboss-seam-gen/dist/view/editproperty.xhtml.ftl
   branches/community/Seam_2_3/jboss-seam-gen/dist/view/list.page.xml.ftl
Log:
updated seam-gen view templates to have correct xsd declaration and richfaces a:ajax instead of a:support

Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.page.xml.ftl
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.page.xml.ftl	2012-06-21 07:44:01 UTC (rev 14939)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.page.xml.ftl	2012-06-21 07:44:11 UTC (rev 14940)
@@ -6,7 +6,7 @@
 <#assign pageName = entityName>
 <page xmlns="http://jboss.org/schema/seam/pages"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-      xsi:schemaLocation="http://jboss.org/schema/seam/pages http://jboss.org/schema/seam/pages-2.2.xsd"
+      xsi:schemaLocation="http://jboss.org/schema/seam/pages http://jboss.org/schema/seam/pages-2.3.xsd"
       no-conversation-view-id="/${masterPageName}.xhtml"
       login-required="true">
 

Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/editproperty.xhtml.ftl
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/editproperty.xhtml.ftl	2012-06-21 07:44:01 UTC (rev 14939)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/editproperty.xhtml.ftl	2012-06-21 07:44:11 UTC (rev 14940)
@@ -26,7 +26,7 @@
 </#if>
                           value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
                     <f:convertDateTime type="time"/>
-                    <a:support event="onblur" reRender="${componentProperty.name}Field" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:ajax event="blur" render="${componentProperty.name}Field" bypassUpdates="true"/>
                 </h:inputText>
 <#elseif isTimestamp(componentProperty)>
                 <rich:calendar id="${componentProperty.name}"
@@ -41,7 +41,7 @@
 </#if>
                           value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}"
                            size="${column.precision+7}">
-                    <a:support event="onblur" reRender="${componentProperty.name}Field" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:ajax event="blur" render="${componentProperty.name}Field" bypassUpdates="true"/>
                 </h:inputText>
 <#elseif isBigInteger(componentProperty)>
                 <h:inputText id="${componentProperty.name}"
@@ -53,7 +53,7 @@
 </#if>
                           value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}"
                            size="${column.precision+6}">
-                    <a:support event="onblur" reRender="${componentProperty.name}Field" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:ajax event="blur" render="${componentProperty.name}Field" bypassUpdates="true"/>
                 </h:inputText>
 <#elseif isBoolean(componentProperty)>
                  <h:selectBooleanCheckbox id="${componentProperty.name}"
@@ -97,7 +97,7 @@
                           size="${size}"
                      maxlength="${column.length}"
                          value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
-                    <a:support event="onblur" reRender="${componentProperty.name}Field" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:ajax event="blur" render="${componentProperty.name}Field" bypassUpdates="true"/>
                 </h:inputText>
 </#if>
 <#else>
@@ -109,7 +109,7 @@
                        disabled="${'#'}{${homeName}.managed}"
 </#if>
                           value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
-                    <a:support event="onblur" reRender="${componentProperty.name}Field" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:ajax event="blur" render="${componentProperty.name}Field" bypassUpdates="true"/>
                 </h:inputText>
 </#if>
             </s:decorate>
@@ -137,7 +137,7 @@
 </#if>
                           value="${'#'}{${homeName}.instance.${property.name}}">
                     <f:convertDateTime type="time"/>
-                    <a:support event="onblur" reRender="${property.name}Field" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:ajax event="blur" render="${property.name}Field" bypassUpdates="true"/>
                 </h:inputText>
 <#elseif isTimestamp(property)>
                 <rich:calendar id="${property.name}"
@@ -152,7 +152,7 @@
 </#if>
                           value="${'#'}{${homeName}.instance.${property.name}}"
                            size="${column.precision+7}">
-                    <a:support event="onblur" reRender="${property.name}Field" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:ajax event="blur" render="${property.name}Field" bypassUpdates="true"/>
                 </h:inputText>
 <#elseif isBigInteger(property)>
                 <h:inputText id="${property.name}"
@@ -164,7 +164,7 @@
 </#if>
                           value="${'#'}{${homeName}.instance.${property.name}}"
                            size="${column.precision+6}">
-                    <a:support event="onblur" reRender="${property.name}Field" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:ajax event="blur" render="${property.name}Field" bypassUpdates="true"/>
                 </h:inputText>
 <#elseif isBoolean(property)>
                 <h:selectBooleanCheckbox id="${property.name}"
@@ -208,7 +208,7 @@
                            size="${size}"
                       maxlength="${column.length}"
                           value="${'#'}{${homeName}.instance.${property.name}}">
-                    <a:support event="onblur" reRender="${property.name}Field" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:ajax event="blur" render="${property.name}Field" bypassUpdates="true"/>
                 </h:inputText>
 </#if>
 <#else>
@@ -220,7 +220,7 @@
                        disabled="${'#'}{${homeName}.managed}"
 </#if>
                           value="${'#'}{${homeName}.instance.${property.name}}">
-                    <a:support event="onblur" reRender="${property.name}Field" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:ajax event="blur" render="${property.name}Field" bypassUpdates="true"/>
                 </h:inputText>
 </#if>
             </s:decorate>

Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/list.page.xml.ftl
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/list.page.xml.ftl	2012-06-21 07:44:01 UTC (rev 14939)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/list.page.xml.ftl	2012-06-21 07:44:11 UTC (rev 14940)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <page xmlns="http://jboss.org/schema/seam/pages"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-      xsi:schemaLocation="http://jboss.org/schema/seam/pages http://jboss.org/schema/seam/pages-2.2.xsd">
+      xsi:schemaLocation="http://jboss.org/schema/seam/pages http://jboss.org/schema/seam/pages-2.3.xsd">
 
 <#include "../util/TypeInfo.ftl">
 <#assign entityName = pojo.shortName>



More information about the seam-commits mailing list