From b834acb461a4f085a2c272587f90f3827276f508 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Wed, 7 Aug 2013 12:24:10 +0000 Subject: [PATCH] A patch from Leon for "slight patch to "other-field-size" of drop-down form element"" https://issues.apache.org/jira/browse/OFBIZ-5285 "other-field-size" of drop-down form element is a very nice feature, but it's crippled in current version. attached a patch to make it works and added an example section for that into FormWidgetExample. jleroux: Interesting, I did not know this feature existed, it was committed long ago by David (before ASF era) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1511279 13f79535-47bb-0310-9956-ffa450edef68 --- example/config/ExampleUiLabels.xml | 8 ++++++++ example/widget/example/FormWidgetExampleForms.xml | 13 +++++++++++++ example/widget/example/FormWidgetExampleScreens.xml | 1 + 3 files changed, 22 insertions(+) diff --git a/example/config/ExampleUiLabels.xml b/example/config/ExampleUiLabels.xml index c8caedbe9..82ab07332 100644 --- a/example/config/ExampleUiLabels.xml +++ b/example/config/ExampleUiLabels.xml @@ -56,6 +56,14 @@ 国種類に基づくサンプル。位置ID、位置名称のエンティティ項目を使用して完了します 基于国家类型的样例,使用Geo.Geoid和Geo.GeoName等Entity.fields来填充 + + Specify-other Dropdown + 指定其它输入的下拉框 + + + Select "specify other" option, an input box will be shown next to dropdown. See tootip of other-field-size attribute of drop-down form element + 如果选择"specify other",下拉框旁边会出现文本框。参考form的drop-down元素的other-field-size属性说明 + Verion des Content Knoten Version of the base content node diff --git a/example/widget/example/FormWidgetExampleForms.xml b/example/widget/example/FormWidgetExampleForms.xml index ed2e46967..7e1a0e8de 100644 --- a/example/widget/example/FormWidgetExampleForms.xml +++ b/example/widget/example/FormWidgetExampleForms.xml @@ -252,6 +252,19 @@ under the License. + + + + + + + + diff --git a/example/widget/example/FormWidgetExampleScreens.xml b/example/widget/example/FormWidgetExampleScreens.xml index 2ef043ca5..e2b8d74d1 100644 --- a/example/widget/example/FormWidgetExampleScreens.xml +++ b/example/widget/example/FormWidgetExampleScreens.xml @@ -25,6 +25,7 @@ under the License.
+