[seam-commits] Seam SVN: r15155 - branches/community/Seam_2_3/jboss-seam-gen/dist/view.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Thu Sep 20 08:26:34 EDT 2012
Author: manaRH
Date: 2012-09-20 08:26:34 -0400 (Thu, 20 Sep 2012)
New Revision: 15155
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml
branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml.ftl
Log:
JBSEAM-5038 added propagation of conversation Id in save/update of referenced entities
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml 2012-09-20 12:26:26 UTC (rev 15154)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml 2012-09-20 12:26:34 UTC (rev 15155)
@@ -29,11 +29,15 @@
<h:commandButton id="save"
value="Save"
action="#{@homeName at .persist}"
- rendered="#{!@homeName at .managed}"/>
+ rendered="#{!@homeName at .managed}">
+ <s:conversationId/>
+ </h:commandButton>
<h:commandButton id="update"
value="Save"
action="#{@homeName at .update}"
- rendered="#{@homeName at .managed}"/>
+ rendered="#{@homeName at .managed}">
+ <s:conversationId/>
+ </h:commandButton>
<h:commandButton id="delete"
value="Delete"
action="#{@homeName at .remove}"
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml.ftl
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml.ftl 2012-09-20 12:26:26 UTC (rev 15154)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml.ftl 2012-09-20 12:26:34 UTC (rev 15155)
@@ -38,12 +38,16 @@
value="Save"
action="${'#'}{${homeName}.persist}"
disabled="${'#'}{!${homeName}.wired}"
- rendered="${'#'}{!${homeName}.managed}"/>
+ rendered="${'#'}{!${homeName}.managed}">
+ <s:conversationId/>
+ </h:commandButton>
<h:commandButton id="update"
value="Save"
action="${'#'}{${homeName}.update}"
- rendered="${'#'}{${homeName}.managed}"/>
+ rendered="${'#'}{${homeName}.managed}">
+ <s:conversationId/>
+ </h:commandButton>
<h:commandButton id="delete"
value="Delete"
More information about the seam-commits
mailing list