[hibernate-commits] Hibernate SVN: r10640 - branches/Branch_3_2/HibernateExt/tools/src/templates/doc/entities

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Oct 24 06:33:02 EDT 2006


Author: max.andersen at jboss.com
Date: 2006-10-24 06:33:00 -0400 (Tue, 24 Oct 2006)
New Revision: 10640

Modified:
   branches/Branch_3_2/HibernateExt/tools/src/templates/doc/entities/entity.ftl
Log:
HBX-785 Entity property table corrupt for Collections in Firefox

Modified: branches/Branch_3_2/HibernateExt/tools/src/templates/doc/entities/entity.ftl
===================================================================
--- branches/Branch_3_2/HibernateExt/tools/src/templates/doc/entities/entity.ftl	2006-10-24 00:07:14 UTC (rev 10639)
+++ branches/Branch_3_2/HibernateExt/tools/src/templates/doc/entities/entity.ftl	2006-10-24 10:33:00 UTC (rev 10640)
@@ -58,7 +58,7 @@
    <#assign columnIterator = property.getValue().columnIterator>
    <#assign rowspan = property.getValue().getColumnSpan()>
 		<TR>
-			<TD WIDTH="14%" ROWSPAN="${rowspan}">
+			<TD WIDTH="14%" <#if (rowspan>0)>ROWSPAN="${rowspan}"</#if>>
 				<A HREF='#field_summary'>
 					${property.name}
 				</A>		
@@ -84,7 +84,7 @@
     				&nbsp;
     			</TD>
    </#if>
-  			<TD WIDTH="14%" ROWSPAN="${rowspan}">
+  			<TD WIDTH="14%" <#if (rowspan>0)>ROWSPAN="${rowspan}"</#if>>
 			
    <#if dochelper.getComponentPOJO(property)?exists>
   				&nbsp; 
@@ -96,7 +96,7 @@
    </#if>				
 			</TD>
 
-			<TD WIDTH="44%" ROWSPAN="${rowspan}">
+			<TD WIDTH="44%" <#if (rowspan>0)>ROWSPAN="${rowspan}"</#if>>
 				&nbsp;
    <#if compoclass.hasFieldJavaDoc(property)?exists>
                 ${compoclass.getFieldDescription(property)}
@@ -172,7 +172,7 @@
 <#assign columnIterator = property.getValue().columnIterator>
 <#assign rowspan = property.getValue().getColumnSpan()>
 		<TR>
-			<TD WIDTH="14%" ROWSPAN="${rowspan}">
+			<TD WIDTH="14%" <#if (rowspan>0)>ROWSPAN="${rowspan}"</#if>>
 				<A HREF='#field_summary'>
 					${property.name}
 				</A>		
@@ -195,11 +195,11 @@
     			</TD>
 	
 </#if>					
-			<TD WIDTH="14%" ROWSPAN="${rowspan}">
+			<TD WIDTH="14%" <#if (rowspan>0)>ROWSPAN="${rowspan}"</#if>>
 				${property.getPropertyAccessorName()} (<A HREF='#property_summary'>get</A> / <A HREF='#property_summary'>set</A>)
 			</TD>					
 			
-			<TD WIDTH="14%" ROWSPAN="${rowspan}">
+			<TD WIDTH="14%" <#if (rowspan>0)>ROWSPAN="${rowspan}"</#if>>
 			
 <#if dochelper.getComponentPOJO(property)?exists>				&nbsp; 
 				<A HREF='${docFileManager.getRef(docFile, docFileManager.getEntityDocFileByDeclarationName(dochelper.getComponentPOJO(property)))}' TARGET="generalFrame">
@@ -209,7 +209,7 @@
 </#if>				
 			</TD>
 
-			<TD WIDTH="44%" ROWSPAN="${rowspan}">
+			<TD WIDTH="44%" <#if (rowspan>0)>ROWSPAN="${rowspan}"</#if>>
 				&nbsp;
 <#if class.hasFieldJavaDoc(property)>${class.getFieldDescription(property)}
 </#if>			</TD>




More information about the hibernate-commits mailing list