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@homeName@delete"
value="Delete"
action="#{@homeName@.remove}"
+ immediate="true"
rendered="#{@homeName@.managed}"/>
<s:button propagation="end"
id="edit@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@.remove}"
+ immediate="true"
rendered="#{@homeName@.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"
Show replies by date