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:
@@ -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} "SelectionBoxesExampleForm" ${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">
|
||||
|
||||
Reference in New Issue
Block a user