Closing OFBIZ-3375 , adding description to checkboxes. When using an entity-options combined with <check>, the description wasn't displayed.

An example form is at <OFBiz instance>/example/control/FormWidgetExamples

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893282 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erwan de Ferrieres
2009-12-22 19:33:06 +00:00
parent 2c5f74bb7e
commit 5a07e94c83
4 changed files with 22 additions and 0 deletions
@@ -280,4 +280,12 @@ under the License.
</form>
<form name="SelectionBoxesExampleForm" type="single">
<field name="ExampleTypeId">
<check>
<entity-options key-field-name="exampleTypeId" description="${description}" entity-name="ExampleType"/>
</check>
</field>
</form>
</forms>
@@ -62,6 +62,15 @@ under the License.
<include-form name="FieldGroupExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
</container>
</container>
<container style="screenlet-body">
<container style="button-bar"><label style="h2">${uiLabelMap.ExampleSelectionBoxes}</label></container>
<container style="screenlet-body">
<label style="h3">${uiLabelMap.ExampleSourceCode}</label>
<label>${uiLabelMap.ExampleDefinitionName} &quot;SelectionBoxesExampleForm&quot; ${uiLabelMap.ExampleDefinitionFile}</label>
<link target="http://svn.apache.org/repos/asf/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
<include-form name="SelectionBoxesExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
</container>
</container>
<container style="screenlet-body">
<container style="button-bar"><label style="h2">${uiLabelMap.ExamplePrintButton}</label></container>
<container style="screenlet-body">