From f179d9dbbebc78a29478faa6a669ad69b908e126 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sun, 5 Aug 2012 11:42:32 +0000 Subject: [PATCH] Adds 2 new lookup fields in the FormWidgetExampleForms.xml file. 1) layered lookup std 2) read only layered lookup std Changes the way the explanation are displayed, now using tooltips for an easier reading Changes all explanation tooltips style to button-text for a better legibility git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1369558 13f79535-47bb-0310-9956-ffa450edef68 --- example/config/ExampleUiLabels.xml | 26 +++++--- .../widget/example/FormWidgetExampleForms.xml | 63 ++++++++++++------- .../example/FormWidgetExampleScreens.xml | 3 +- 3 files changed, 58 insertions(+), 34 deletions(-) diff --git a/example/config/ExampleUiLabels.xml b/example/config/ExampleUiLabels.xml index e3af085f5..e648eebcb 100644 --- a/example/config/ExampleUiLabels.xml +++ b/example/config/ExampleUiLabels.xml @@ -218,13 +218,11 @@ framework/example/widget/example/FormWidgetExampleForms.xml - framework/example/widget/example/FormWidgetExampleForms.xml - framework/example/widget/example/FormWidgetExampleForms.xml - - see the form definition with name - - voir la défintion avec la form de nom - - vedi la definizione della form con il nome + See the form definition with name + Voir la défintion avec la form de nom + Vedi la definizione della form con il nome - 参见表单定义,名称为 @@ -475,9 +473,21 @@ Descrizione lunga 详细描述 - - Lookup Fields: First of type popup, second layered and showing use of set_values underneath, ie returning not only Id but also another value. Both using also autocomplete - Champs de recherche: le premier de type popup, le second de type layer avec usage sous-jacent de set_values qui permet de traiter non seulement une référence mais aussi une autre valeur. Les 2 utilisent aussi l'autocompletion + + Popup lookup field (old way, maybe be useful in some cases, notably if javascript is not enabled) + Champ de recherche type popup (ancienne manière, encore utile, notamment si javascript n'est pas disponible) + + + Layered lookup field with autocompletion and description at right + Champs de recherche de type layer avec autocompletion et description à droite + + + Read only layered lookup field, only the button is available + Champs de recherche de type layer en mode lecture seule, seul le bouton est utilisable + + + Lookup Field of type layered and showing use of set_values underneath, ie returning not only Id but also another value. Both using also autocomplete + Champ de recherche de type layer avec usage sous-jacent de set_values qui permet de traiter non seulement une référence mais aussi une autre valeur. Les 2 utilisent aussi l'autocompletion Lookup Fields diff --git a/example/widget/example/FormWidgetExampleForms.xml b/example/widget/example/FormWidgetExampleForms.xml index f8b7dd8fc..ed2e46967 100644 --- a/example/widget/example/FormWidgetExampleForms.xml +++ b/example/widget/example/FormWidgetExampleForms.xml @@ -30,7 +30,7 @@ under the License. + tooltip="${uiLabelMap.ExampleToDo}" tooltip-style="button-text"> @@ -38,7 +38,7 @@ under the License. - + @@ -46,7 +46,7 @@ under the License. + tooltip="${uiLabelMap.ExampleDateField10Tooltip}" tooltip-style="button-text"> @@ -54,7 +54,7 @@ under the License. + tooltip="${uiLabelMap.ExampleDateField11Tooltip}" tooltip-style="button-text"> @@ -62,7 +62,7 @@ under the License. + tooltip="${uiLabelMap.ExampleToDo}" tooltip-style="button-text"> @@ -70,7 +70,7 @@ under the License. + tooltip="${uiLabelMap.ExampleToDo}" tooltip-style="button-text"> @@ -78,7 +78,7 @@ under the License. + tooltip="${uiLabelMap.ExampleDateField4Tooltip}" tooltip-style="button-text"> @@ -86,7 +86,7 @@ under the License. + tooltip="${uiLabelMap.ExampleDateField4Tooltip}" tooltip-style="button-text"> @@ -95,7 +95,7 @@ under the License. + tooltip="${uiLabelMap.ExampleToDo}" tooltip-style="button-text"> @@ -104,7 +104,7 @@ under the License. + tooltip="${uiLabelMap.ExampleDateField7Tooltip}" tooltip-style="button-text"> @@ -113,7 +113,7 @@ under the License. + tooltip="${uiLabelMap.ExampleDateField8Tooltip}" tooltip-style="button-text"> @@ -121,7 +121,7 @@ under the License. + tooltip="${uiLabelMap.ExampleDateField12Tooltip}" tooltip-style="button-text"> @@ -135,7 +135,7 @@ under the License. + tooltip="${uiLabelMap.ExampleDropDownField1Tooltip}" tooltip-style="button-text">