[seam-commits] Seam SVN: r10216 - in trunk/seam-gen: view and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Mar 26 11:46:34 EDT 2009


Author: dan.j.allen
Date: 2009-03-26 11:46:34 -0400 (Thu, 26 Mar 2009)
New Revision: 10216

Modified:
   trunk/seam-gen/icefaces/view/list.xhtml.ftl
   trunk/seam-gen/view/list.xhtml.ftl
Log:
JBSEAM-4043


Modified: trunk/seam-gen/icefaces/view/list.xhtml.ftl
===================================================================
--- trunk/seam-gen/icefaces/view/list.xhtml.ftl	2009-03-26 07:42:18 UTC (rev 10215)
+++ trunk/seam-gen/icefaces/view/list.xhtml.ftl	2009-03-26 15:46:34 UTC (rev 10216)
@@ -158,9 +158,10 @@
 </#if>
             </s:link>
 			${'#'}{' '}
-            <s:link view="/${'#'}{empty from ? '${pageName}' : from}.xhtml" 
+            <s:link view="/${editPageName}.xhtml" 
                    value="Edit" 
-                      id="list${componentName}EditId">
+                      id="list${componentName}EditId"
+                rendered="${'#'}{empty from}">
 <#if pojo.isComponent(pojo.identifierProperty)>
 <#foreach componentProperty in pojo.identifierProperty.value.propertyIterator>
                 <f:param name="${componentName}${componentProperty.name?cap_first}" 

Modified: trunk/seam-gen/view/list.xhtml.ftl
===================================================================
--- trunk/seam-gen/view/list.xhtml.ftl	2009-03-26 07:42:18 UTC (rev 10215)
+++ trunk/seam-gen/view/list.xhtml.ftl	2009-03-26 15:46:34 UTC (rev 10216)
@@ -145,7 +145,7 @@
 </#if>
             </s:link>
             ${'#'}{' '}
-            <s:link view="/${pageName}Edit.xhtml"
+            <s:link view="/${editPageName}.xhtml"
                    value="Edit"
              propagation="none"
                       id="${componentName}Edit"




More information about the seam-commits mailing list