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

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Nov 24 12:10:52 EST 2008


Author: dan.j.allen
Date: 2008-11-24 12:10:52 -0500 (Mon, 24 Nov 2008)
New Revision: 9616

Modified:
   trunk/seam-gen/view/layout/menu.xhtml.ftl
   trunk/seam-gen/view/list.xhtml.ftl
Log:
make use of usePageParams="false" rather than valueless <f:param> tags

Modified: trunk/seam-gen/view/layout/menu.xhtml.ftl
===================================================================
--- trunk/seam-gen/view/layout/menu.xhtml.ftl	2008-11-24 17:09:07 UTC (rev 9615)
+++ trunk/seam-gen/view/layout/menu.xhtml.ftl	2008-11-24 17:10:52 UTC (rev 9616)
@@ -12,9 +12,8 @@
 <#foreach entity in c2j.getPOJOIterator(cfg.classMappings)>
     <s:link view="/${entity.shortName}List.xhtml"
            value="${entity.shortName} List"
-     propagation="none">
-       <f:param name="from"/>
-    </s:link>
+includePageParams="false"
+     propagation="none"/>
 </#foreach>
     <!-- @newMenuItem@ -->
     <rich:toolBarGroup location="right">

Modified: trunk/seam-gen/view/list.xhtml.ftl
===================================================================
--- trunk/seam-gen/view/list.xhtml.ftl	2008-11-24 17:09:07 UTC (rev 9615)
+++ trunk/seam-gen/view/list.xhtml.ftl	2008-11-24 17:10:52 UTC (rev 9616)
@@ -52,11 +52,7 @@
 
         <div class="actionButtons">
             <h:commandButton id="search" value="Search" action="/${listPageName}.xhtml"/>
-            <s:button id="reset" value="Reset">
-<#list searchParamNames as paramName>
-                <f:param name="${paramName}"/>
-</#list>
-            </s:button>
+            <s:button id="reset" value="Reset" includePageParams="false"/>
         </div>
 
     </h:form>




More information about the seam-commits mailing list