[seam-commits] Seam SVN: r7290 - in branches/Seam_2_0/seam-gen: view and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Jan 29 14:14:16 EST 2008


Author: dan.j.allen
Date: 2008-01-29 14:14:16 -0500 (Tue, 29 Jan 2008)
New Revision: 7290

Modified:
   branches/Seam_2_0/seam-gen/icefaces/view/edit.xhtml
   branches/Seam_2_0/seam-gen/icefaces/view/edit.xhtml.ftl
   branches/Seam_2_0/seam-gen/view/edit.xhtml
   branches/Seam_2_0/seam-gen/view/edit.xhtml.ftl
Log:
add immediate="true" to Delete buttons so that validation is bypassed (no need to validate what we are deleting)


Modified: branches/Seam_2_0/seam-gen/icefaces/view/edit.xhtml
===================================================================
--- branches/Seam_2_0/seam-gen/icefaces/view/edit.xhtml	2008-01-29 16:25:13 UTC (rev 7289)
+++ branches/Seam_2_0/seam-gen/icefaces/view/edit.xhtml	2008-01-29 19:14:16 UTC (rev 7290)
@@ -43,6 +43,7 @@
             <h:commandButton id="edit at homeName@delete" 
                           value="Delete" 
                          action="#{@homeName at .remove}"
+                      immediate="true"
                        rendered="#{@homeName at .managed}"/>
             <s:button propagation="end" 
                                id="edit at homeName@done" 

Modified: branches/Seam_2_0/seam-gen/icefaces/view/edit.xhtml.ftl
===================================================================
--- branches/Seam_2_0/seam-gen/icefaces/view/edit.xhtml.ftl	2008-01-29 16:25:13 UTC (rev 7289)
+++ branches/Seam_2_0/seam-gen/icefaces/view/edit.xhtml.ftl	2008-01-29 19:14:16 UTC (rev 7290)
@@ -55,6 +55,7 @@
             <h:commandButton id="delete${homeName}" 
                           value="Delete" 
                          action="${'#'}{${homeName}.remove}"
+                      immediate="true"
                        rendered="${'#'}{${homeName}.managed}"/>
                     
             <s:button id="done${homeName}" 

Modified: branches/Seam_2_0/seam-gen/view/edit.xhtml
===================================================================
--- branches/Seam_2_0/seam-gen/view/edit.xhtml	2008-01-29 16:25:13 UTC (rev 7289)
+++ branches/Seam_2_0/seam-gen/view/edit.xhtml	2008-01-29 19:14:16 UTC (rev 7290)
@@ -39,6 +39,7 @@
             <h:commandButton id="delete" 
                           value="Delete" 
                          action="#{@homeName at .remove}"
+                      immediate="true"
                        rendered="#{@homeName at .managed}"/>
             <s:button propagation="end" 
                                id="done" 

Modified: branches/Seam_2_0/seam-gen/view/edit.xhtml.ftl
===================================================================
--- branches/Seam_2_0/seam-gen/view/edit.xhtml.ftl	2008-01-29 16:25:13 UTC (rev 7289)
+++ branches/Seam_2_0/seam-gen/view/edit.xhtml.ftl	2008-01-29 19:14:16 UTC (rev 7290)
@@ -50,6 +50,7 @@
             <h:commandButton id="delete" 
                           value="Delete" 
                          action="${'#'}{${homeName}.remove}"
+                      immediate="true"
                        rendered="${'#'}{${homeName}.managed}"/>
                     
             <s:button id="done" 




More information about the seam-commits mailing list