[seam-commits] Seam SVN: r7292 - in trunk/seam-gen: view and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Jan 29 14:33:50 EST 2008
Author: dan.j.allen
Date: 2008-01-29 14:33:50 -0500 (Tue, 29 Jan 2008)
New Revision: 7292
Modified:
trunk/seam-gen/icefaces/view/edit.xhtml
trunk/seam-gen/icefaces/view/edit.xhtml.ftl
trunk/seam-gen/view/edit.xhtml
trunk/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: trunk/seam-gen/icefaces/view/edit.xhtml
===================================================================
--- trunk/seam-gen/icefaces/view/edit.xhtml 2008-01-29 19:28:48 UTC (rev 7291)
+++ trunk/seam-gen/icefaces/view/edit.xhtml 2008-01-29 19:33:50 UTC (rev 7292)
@@ -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: trunk/seam-gen/icefaces/view/edit.xhtml.ftl
===================================================================
--- trunk/seam-gen/icefaces/view/edit.xhtml.ftl 2008-01-29 19:28:48 UTC (rev 7291)
+++ trunk/seam-gen/icefaces/view/edit.xhtml.ftl 2008-01-29 19:33:50 UTC (rev 7292)
@@ -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: trunk/seam-gen/view/edit.xhtml
===================================================================
--- trunk/seam-gen/view/edit.xhtml 2008-01-29 19:28:48 UTC (rev 7291)
+++ trunk/seam-gen/view/edit.xhtml 2008-01-29 19:33:50 UTC (rev 7292)
@@ -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: trunk/seam-gen/view/edit.xhtml.ftl
===================================================================
--- trunk/seam-gen/view/edit.xhtml.ftl 2008-01-29 19:28:48 UTC (rev 7291)
+++ trunk/seam-gen/view/edit.xhtml.ftl 2008-01-29 19:33:50 UTC (rev 7292)
@@ -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