From 88abdbd634eea4d022d5a0b6e792bd664902ca42 Mon Sep 17 00:00:00 2001 From: Jacopo Cappellato Date: Fri, 19 Oct 2007 14:04:50 +0000 Subject: [PATCH] Misc improvements to the drop-down examples. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586463 13f79535-47bb-0310-9956-ffa450edef68 --- .../widget/example/FormWidgetExampleForms.xml | 36 +++++++------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/framework/example/widget/example/FormWidgetExampleForms.xml b/framework/example/widget/example/FormWidgetExampleForms.xml index eb09ed86f9..eb04668930 100644 --- a/framework/example/widget/example/FormWidgetExampleForms.xml +++ b/framework/example/widget/example/FormWidgetExampleForms.xml @@ -119,11 +119,8 @@ under the License. title="Field1: optional" tooltip="This is an example of a drop-down field with allow-empty set to true: as you can see, an empty entry is automatically added."> - - - + @@ -133,11 +130,8 @@ under the License. title="Field2: mandatory" tooltip="The same as above, but here allow-empty is set to false (the default, if not specified): as you can see, there is no empty selection."> - - - + @@ -145,13 +139,10 @@ under the License. - - - - + tooltip="How to use the no-current-selected-key to select a default value from the options"> + + @@ -161,13 +152,10 @@ under the License. title="Field8: Javascript event" event="onChange" action="return alert('You have changed the value in the select box');" - tooltip="TODO"> - - - - + tooltip="How to use the event and action attributes (in the field element) to trigger a Javascript action (in this example a popup message when the option is changed)."> + +