Author: apatel
Date: Wed Oct 7 04:22:19 2009
New Revision: 822581
URL:
http://svn.apache.org/viewvc?rev=822581&view=revLog:
Removed extra container around labels in FindScreenDecorator. Applied style to label. This will eliminate extra div around text and also renders h1, h2 tags instead of using div with style=h1 (h2).
Modified:
ofbiz/trunk/framework/common/widget/CommonScreens.xml
Modified: ofbiz/trunk/framework/common/widget/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/CommonScreens.xml?rev=822581&r1=822580&r2=822581&view=diff==============================================================================
--- ofbiz/trunk/framework/common/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/framework/common/widget/CommonScreens.xml Wed Oct 7 04:22:19 2009
@@ -437,23 +437,17 @@
<if-empty field="titleProperty"/>
</condition>
<widgets>
- <container style="h1">
- <label text="${title}"/>
- </container>
+ <label style="h1" text="${title}"></label>
</widgets>
<fail-widgets>
- <container style="h1">
- <label text="${uiLabelMap[titleProperty]}"/>
- </container>
+ <label style="h1" text="${uiLabelMap[titleProperty]}"/>
</fail-widgets>
</section>
<decorator-section-include name="menu-bar"/>
<container style="clear"/>
<screenlet id="searchOptions" name="findScreenlet" collapsible="true" padded="false">
<container style="screenlet-body">
- <container style="h2">
- <label text="${uiLabelMap.CommonSearchOptions}"/>
- </container>
+ <label style="h2" text="${uiLabelMap.CommonSearchOptions}"/>
<container id="search-options">
<decorator-section-include name="search-options"/>
</container>
@@ -461,9 +455,7 @@
</screenlet>
<container style="screenlet">
<container style="screenlet-body">
- <container style="h2">
- <label text="${uiLabelMap.CommonSearchResults}"/>
- </container>
+ <label style="h2" text="${uiLabelMap.CommonSearchResults}"/>
</container>
<container id="search-results">
<decorator-section-include name="search-results"/>