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@.persist}"
- 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"
action="#{@homeName@.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"
Show replies by date