Author: jacopoc
Date: Fri Apr 3 04:40:18 2009
New Revision: 761521
URL:
http://svn.apache.org/viewvc?rev=761521&view=revLog:
Work in progress, commented out for now, to convert table based layout for single forms to divs.
Modified:
ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
Modified: ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl?rev=761521&r1=761520&r2=761521&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl Fri Apr 3 04:40:18 2009
@@ -186,6 +186,22 @@
<#macro renderFormatFieldRowWidgetCellOpen positionSpan style> <td<#if positionSpan?has_content && positionSpan gt 0> colspan="${1+positionSpan*3}"</#if><#if style?has_content> class="${style}"</#if>></#macro>
<#macro renderFormatFieldRowWidgetCellClose></td></#macro>
+<#--
+ Initial work to convert table based layout for "single" form to divs.
+<#macro renderFormatSingleWrapperOpen style> <div <#if style?has_content>class="${style}"</#if> ></#macro>
+<#macro renderFormatSingleWrapperClose> </div></#macro>
+
+<#macro renderFormatFieldRowOpen> <div></#macro>
+<#macro renderFormatFieldRowClose> </div></#macro>
+<#macro renderFormatFieldRowTitleCellOpen style> <div class="<#if style?has_content>${style}<#else>label</#if>"></#macro>
+<#macro renderFormatFieldRowTitleCellClose></div></#macro>
+<#macro renderFormatFieldRowSpacerCell></#macro>
+<#macro renderFormatFieldRowWidgetCellOpen positionSpan style> <div<#if positionSpan?has_content && positionSpan gt 0> colspan="${1+positionSpan*3}"</#if><#if style?has_content> class="${style}"</#if>></#macro>
+<#macro renderFormatFieldRowWidgetCellClose></div></#macro>
+
+-->
+
+
<#macro renderFormatEmptySpace> </#macro>
<#macro renderTextFindField name value defaultOption opEquals opBeginsWith opContains opIsEmpty opNotEqual className alert size maxlength autocomplete titleStyle hideIgnoreCase ignCase ignoreCase>