[seam-commits] Seam SVN: r8726 - branches/Seam_2_0/seam-gen/view.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Aug 18 11:03:49 EDT 2008


Author: dan.j.allen
Date: 2008-08-18 11:03:49 -0400 (Mon, 18 Aug 2008)
New Revision: 8726

Modified:
   branches/Seam_2_0/seam-gen/view/edit.xhtml
   branches/Seam_2_0/seam-gen/view/editproperty.xhtml.ftl
   branches/Seam_2_0/seam-gen/view/form.xhtml
Log:
use the word Field in id of decoration instead of Decoration since it is more applicable


Modified: branches/Seam_2_0/seam-gen/view/edit.xhtml
===================================================================
--- branches/Seam_2_0/seam-gen/view/edit.xhtml	2008-08-18 14:18:30 UTC (rev 8725)
+++ branches/Seam_2_0/seam-gen/view/edit.xhtml	2008-08-18 15:03:49 UTC (rev 8726)
@@ -17,7 +17,7 @@
         <rich:panel>
             <f:facet name="header">@pageName@</f:facet>
     
-            <s:decorate id="nameDecoration" template="layout/edit.xhtml">
+            <s:decorate id="nameField" template="layout/edit.xhtml">
                 <ui:define name="label">Name</ui:define>
                 <h:inputText id="name" required="true"
                              value="#{@homeName at .instance.name}"/>

Modified: branches/Seam_2_0/seam-gen/view/editproperty.xhtml.ftl
===================================================================
--- branches/Seam_2_0/seam-gen/view/editproperty.xhtml.ftl	2008-08-18 14:18:30 UTC (rev 8725)
+++ branches/Seam_2_0/seam-gen/view/editproperty.xhtml.ftl	2008-08-18 15:03:49 UTC (rev 8726)
@@ -7,7 +7,7 @@
 <#foreach componentProperty in property.value.propertyIterator>
 <#assign column = componentProperty.columnIterator.next()>
 
-            <s:decorate id="${componentProperty.name}Decoration" template="layout/edit.xhtml">
+            <s:decorate id="${componentProperty.name}Field" template="layout/edit.xhtml">
                 <ui:define name="label">${componentProperty.name}</ui:define>
 <#if isDate(componentProperty)>
                 <rich:calendar id="${componentProperty.name}"
@@ -26,7 +26,7 @@
 </#if>
                           value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
                     <s:convertDateTime type="time"/>
-                    <a:support event="onblur" reRender="${componentProperty.name}Decoration" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:support event="onblur" reRender="${componentProperty.name}Field" bypassUpdates="true" ajaxSingle="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}Decoration" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:support event="onblur" reRender="${componentProperty.name}Field" bypassUpdates="true" ajaxSingle="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}Decoration" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:support event="onblur" reRender="${componentProperty.name}Field" bypassUpdates="true" ajaxSingle="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}Decoration" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:support event="onblur" reRender="${componentProperty.name}Field" bypassUpdates="true" ajaxSingle="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}Decoration" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:support event="onblur" reRender="${componentProperty.name}Field" bypassUpdates="true" ajaxSingle="true"/>
                 </h:inputText>
 </#if>
             </s:decorate>
@@ -118,7 +118,7 @@
 <#assign column = property.columnIterator.next()>
 <#assign property = property.value.typeName>
 
-            <s:decorate id="${property.name}Decoration" template="layout/edit.xhtml">
+            <s:decorate id="${property.name}Field" template="layout/edit.xhtml">
                 <ui:define name="label">${property.name}</ui:define>
 <#if isDate(property)>
                 <rich:calendar id="${property.name}"
@@ -137,7 +137,7 @@
 </#if>
                           value="${'#'}{${homeName}.instance.${property.name}}">
                     <s:convertDateTime type="time"/>
-                    <a:support event="onblur" reRender="${property.name}Decoration" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:support event="onblur" reRender="${property.name}Field" bypassUpdates="true" ajaxSingle="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}Decoration" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:support event="onblur" reRender="${property.name}Field" bypassUpdates="true" ajaxSingle="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}Decoration" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:support event="onblur" reRender="${property.name}Field" bypassUpdates="true" ajaxSingle="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}Decoration" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:support event="onblur" reRender="${property.name}Field" bypassUpdates="true" ajaxSingle="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}Decoration" bypassUpdates="true" ajaxSingle="true"/>
+                    <a:support event="onblur" reRender="${property.name}Field" bypassUpdates="true" ajaxSingle="true"/>
                 </h:inputText>
 </#if>
             </s:decorate>

Modified: branches/Seam_2_0/seam-gen/view/form.xhtml
===================================================================
--- branches/Seam_2_0/seam-gen/view/form.xhtml	2008-08-18 14:18:30 UTC (rev 8725)
+++ branches/Seam_2_0/seam-gen/view/form.xhtml	2008-08-18 15:03:49 UTC (rev 8726)
@@ -18,7 +18,7 @@
         <rich:panel>
             <f:facet name="header">@pageName@</f:facet>
     
-            <s:decorate id="valueDecoration" template="layout/edit.xhtml">
+            <s:decorate id="valueField" template="layout/edit.xhtml">
                 <ui:define name="label">Value</ui:define>
                 <h:inputText id="value" required="true"
                              value="#{@componentName at .value}"/>




More information about the seam-commits mailing list