[jboss-cvs] jboss-seam/seam-gen/view ...
Gavin King
gavin.king at jboss.com
Fri Dec 1 21:49:00 EST 2006
User: gavin
Date: 06/12/01 21:49:00
Modified: seam-gen/view edit.xhtml.ftl
Log:
don't show children on create screen
Revision Changes Path
1.8 +20 -18 jboss-seam/seam-gen/view/edit.xhtml.ftl
(In the diff below, changes in quantity of whitespace are not shown.)
Index: edit.xhtml.ftl
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/edit.xhtml.ftl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- edit.xhtml.ftl 29 Nov 2006 10:02:15 -0000 1.7
+++ edit.xhtml.ftl 2 Dec 2006 02:49:00 -0000 1.8
@@ -121,6 +121,7 @@
</#if>
<#if c2h.isOneToManyCollection(property)>
+ <f:subview rendered="${'#'}{${homeName}.managed}">
<h2>${property.name}</h2>
<#assign childPojo = c2j.getPOJOClass(property.value.element.associatedClass)>
<#assign childPageName = childPojo.shortName>
@@ -155,6 +156,7 @@
value="${'#'}{${homeName}.instance.${pojo.identifierProperty.name}}"/>
</s:button>
</div>
+ </f:subview>
</#if>
</#foreach>
More information about the jboss-cvs-commits
mailing list