svn commit: r634599 [2/2] - in /ofbiz/trunk/framework/example: config/ExampleEntityLabels.xml config/ExampleUiLabels.xml widget/example/FormWidgetExampleForms.xml widget/example/FormWidgetExampleScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r634599 [2/2] - in /ofbiz/trunk/framework/example: config/ExampleEntityLabels.xml config/ExampleUiLabels.xml widget/example/FormWidgetExampleForms.xml widget/example/FormWidgetExampleScreens.xml

ChrisG-2
Modified: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml?rev=634599&r1=634598&r2=634599&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml Fri Mar  7 02:13:56 2008
@@ -1,223 +1,223 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
-
-    <form name="DateTimeFieldsExampleForm" type="single" title="">
-        <actions>
-            <set field="exampleDateField" value="${bsh:org.ofbiz.base.util.UtilDateTime.nowTimestamp();}" type="Timestamp"/>
-        </actions>
-        <!-- ***************** -->
-        <!-- ***   field1  *** -->
-        <!-- ***************** -->
-        <field name="field1"
-               title="Field1: date and time selection field"
-               tooltip="TODO">
-            <date-time/>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field9  *** -->
-        <!-- ***************** -->
-        <field name="field9"
-               title="Field9: date and time selection field with default value"
-               tooltip="Same as above, Uses the ${bsh: notation to call an util method to get the now timestamp">
-            <date-time default-value="${bsh: org.ofbiz.base.util.UtilDateTime.nowTimestamp()}"/>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field10  *** -->
-        <!-- ***************** -->
-        <field name="field10"
-               title="Field10: date and time selection field with default value"
-               tooltip="Same as above, Uses the nowTimestamp variable (always available in the form context) to set the default value to now">
-            <date-time default-value="${nowTimestamp}"/>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field2  *** -->
-        <!-- ***************** -->
-        <field name="field2"
-               title="Field2: date selection field"
-               tooltip="TODO">
-            <date-time type="date"/>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field3  *** -->
-        <!-- ***************** -->
-        <field name="field3"
-               title="Field3: time selection field"
-               tooltip="TODO">
-            <date-time type="time"/>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field4  *** -->
-        <!-- ***************** -->
-        <field name="field4"
-               title="Field4: advanced date time selection"
-               tooltip="Use the input-method (time-dropdown) and clock (24) attributes to create drop down boxes for hour and minute selections">
-            <date-time input-method="time-dropdown" clock="24"/>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field5  *** -->
-        <!-- ***************** -->
-        <field name="field5"
-               title="Field5: advanced date time selection (AM/PM)"
-               tooltip="Use the input-method (time-dropdown) and clock (12) attributes to create drop down boxes for hour and minute selections">
-            <date-time input-method="time-dropdown" clock="12"/>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field6  *** -->
-        <!-- ***************** -->
-        <field name="field6"
-               entry-name="exampleDateField"
-               title="Field6: date and time simple display"
-               tooltip="TODO">
-            <display/>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field7  *** -->
-        <!-- ***************** -->
-        <field name="field7"
-               entry-name="exampleDateField"
-               title="Field7: date and time display with custom format"
-               tooltip="This is an example of MM/dd/yyyy format">
-            <display description="${bsh:org.ofbiz.base.util.UtilDateTime.toDateString(exampleDateField, &quot;MM/dd/yyyy&quot;);}"/>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field8  *** -->
-        <!-- ***************** -->
-        <field name="field8"
-               entry-name="exampleDateField"
-               title="Field8: date and time display with custom format"
-               tooltip="This is an example of MMMM, dd, yyyy format">
-            <display description="${bsh:org.ofbiz.base.util.UtilDateTime.toDateString(exampleDateField, &quot;MMMM, dd, yyyy&quot;);}"/>
-        </field>
-    </form>
-
-    <form name="DropDownFieldsExampleForm" type="single" title="">
-        <field name="dropDownFields1" title="drop-down"><display description="First of all you have to define a drop-down element inside of the field element that you want to render as a drop down field." also-hidden="false"/></field>
-        <!-- ***************** -->
-        <!-- ***   field1  *** -->
-        <!-- ***************** -->
-        <field name="field1"
-               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.">
-            <drop-down allow-empty="true">
-                <option key="Y" description="${uiLabelMap.CommonY}"/>
-                <option key="N" description="${uiLabelMap.CommonN}"/>
-            </drop-down>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field2  *** -->
-        <!-- ***************** -->
-        <field name="field2"
-               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.">
-            <drop-down allow-empty="false"> <!-- allow-empty="false" is also the default value, so you can also not specify this attribute here -->
-                <option key="Y" description="${uiLabelMap.CommonY}"/>
-                <option key="N" description="${uiLabelMap.CommonN}"/>
-            </drop-down>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field5  *** -->
-        <!-- ***************** -->
-        <field name="field5"
-               title="Field5: selection of a default value from the list"
-               tooltip="How to use the no-current-selected-key to select a default value from the options">
-            <drop-down no-current-selected-key="N">
-                <option key="Y" description="${uiLabelMap.CommonY}"/>
-                <option key="N" description="${uiLabelMap.CommonN}"/>
-            </drop-down>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field8  *** -->
-        <!-- ***************** -->
-        <field name="field8"
-               title="Field8: Javascript event"
-               event="onChange"
-               action="return alert('You have changed the value in the select box');"
-               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).">
-            <drop-down>
-                <option key="Y" description="${uiLabelMap.CommonY}"/>
-                <option key="N" description="${uiLabelMap.CommonN}"/>
-            </drop-down>
-        </field>
-
-        <field name="entityOptionsFields1" title="entity-options"><display description="All these fields retrieve the list of values from another entity by using the entity-options element." also-hidden="false"/></field>
-        <field name="entityOptionsFields2" title=""><display description="entity-options will look up options for the field in the given entity." also-hidden="false"/></field>
-        <field name="entityOptionsFields3" title=""><display description="The complete syntax is... TODO" also-hidden="false"/></field>
-        <!-- ***************** -->
-        <!-- ***   field3  *** -->
-        <!-- ***************** -->
-        <field name="field3"
-               title="Field3: sort in descending order"
-               tooltip="TODO">
-            <drop-down>
-                <entity-options entity-name="ExampleType"
-                                key-field-name="exampleTypeId"
-                                description="${description}">
-                    <entity-order-by field-name="-description"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field4  *** -->
-        <!-- ***************** -->
-        <field name="field4"
-               title="Field4: combined description"
-               tooltip="TODO">
-            <drop-down>
-                <entity-options entity-name="ExampleType"
-                                key-field-name="exampleTypeId"
-                                description="${exampleTypeId} - ${description}">
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field6  *** -->
-        <!-- ***************** -->
-        <field name="exampleTypeId"
-               title="Field6 (exampleTypeId): shortest notation"
-               tooltip="TODO">
-            <drop-down>
-                <entity-options entity-name="ExampleType"
-                                description="${description}"/>
-            </drop-down>
-        </field>
-        <!-- ***************** -->
-        <!-- ***   field7  *** -->
-        <!-- ***************** -->
-        <field name="field7"
-               title="Field7: additional constraint"
-               tooltip="TODO">
-            <drop-down>
-                <entity-options entity-name="ExampleType"
-                                key-field-name="exampleTypeId"
-                                description="${description}">
-                    <entity-constraint name="exampleTypeId"
-                                       value="INSPIRED"
-                                       operator="greater"/>
-                    <entity-order-by field-name="description"/>
-                </entity-options>
-            </drop-down>
-        </field>
-    </form>
-
-</forms>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
+
+    <form name="DateTimeFieldsExampleForm" type="single" title="">
+        <actions>
+            <set field="exampleDateField" value="${bsh:org.ofbiz.base.util.UtilDateTime.nowTimestamp();}" type="Timestamp"/>
+        </actions>
+        <!-- ***************** -->
+        <!-- ***   field1  *** -->
+        <!-- ***************** -->
+        <field name="field1"
+               title="Field1: date and time selection field"
+               tooltip="TODO">
+            <date-time/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field9  *** -->
+        <!-- ***************** -->
+        <field name="field9"
+               title="Field9: date and time selection field with default value"
+               tooltip="Same as above, Uses the ${bsh: notation to call an util method to get the now timestamp">
+            <date-time default-value="${bsh: org.ofbiz.base.util.UtilDateTime.nowTimestamp()}"/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field10  *** -->
+        <!-- ***************** -->
+        <field name="field10"
+               title="Field10: date and time selection field with default value"
+               tooltip="Same as above, Uses the nowTimestamp variable (always available in the form context) to set the default value to now">
+            <date-time default-value="${nowTimestamp}"/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field2  *** -->
+        <!-- ***************** -->
+        <field name="field2"
+               title="Field2: date selection field"
+               tooltip="TODO">
+            <date-time type="date"/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field3  *** -->
+        <!-- ***************** -->
+        <field name="field3"
+               title="Field3: time selection field"
+               tooltip="TODO">
+            <date-time type="time"/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field4  *** -->
+        <!-- ***************** -->
+        <field name="field4"
+               title="Field4: advanced date time selection"
+               tooltip="Use the input-method (time-dropdown) and clock (24) attributes to create drop down boxes for hour and minute selections">
+            <date-time input-method="time-dropdown" clock="24"/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field5  *** -->
+        <!-- ***************** -->
+        <field name="field5"
+               title="Field5: advanced date time selection (AM/PM)"
+               tooltip="Use the input-method (time-dropdown) and clock (12) attributes to create drop down boxes for hour and minute selections">
+            <date-time input-method="time-dropdown" clock="12"/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field6  *** -->
+        <!-- ***************** -->
+        <field name="field6"
+               entry-name="exampleDateField"
+               title="Field6: date and time simple display"
+               tooltip="TODO">
+            <display/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field7  *** -->
+        <!-- ***************** -->
+        <field name="field7"
+               entry-name="exampleDateField"
+               title="Field7: date and time display with custom format"
+               tooltip="This is an example of MM/dd/yyyy format">
+            <display description="${bsh:org.ofbiz.base.util.UtilDateTime.toDateString(exampleDateField, &quot;MM/dd/yyyy&quot;);}"/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field8  *** -->
+        <!-- ***************** -->
+        <field name="field8"
+               entry-name="exampleDateField"
+               title="Field8: date and time display with custom format"
+               tooltip="This is an example of MMMM, dd, yyyy format">
+            <display description="${bsh:org.ofbiz.base.util.UtilDateTime.toDateString(exampleDateField, &quot;MMMM, dd, yyyy&quot;);}"/>
+        </field>
+    </form>
+
+    <form name="DropDownFieldsExampleForm" type="single" title="">
+        <field name="dropDownFields1" title="drop-down"><display description="First of all you have to define a drop-down element inside of the field element that you want to render as a drop down field." also-hidden="false"/></field>
+        <!-- ***************** -->
+        <!-- ***   field1  *** -->
+        <!-- ***************** -->
+        <field name="field1"
+               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.">
+            <drop-down allow-empty="true">
+                <option key="Y" description="${uiLabelMap.CommonY}"/>
+                <option key="N" description="${uiLabelMap.CommonN}"/>
+            </drop-down>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field2  *** -->
+        <!-- ***************** -->
+        <field name="field2"
+               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.">
+            <drop-down allow-empty="false"> <!-- allow-empty="false" is also the default value, so you can also not specify this attribute here -->
+                <option key="Y" description="${uiLabelMap.CommonY}"/>
+                <option key="N" description="${uiLabelMap.CommonN}"/>
+            </drop-down>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field5  *** -->
+        <!-- ***************** -->
+        <field name="field5"
+               title="Field5: selection of a default value from the list"
+               tooltip="How to use the no-current-selected-key to select a default value from the options">
+            <drop-down no-current-selected-key="N">
+                <option key="Y" description="${uiLabelMap.CommonY}"/>
+                <option key="N" description="${uiLabelMap.CommonN}"/>
+            </drop-down>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field8  *** -->
+        <!-- ***************** -->
+        <field name="field8"
+               title="Field8: Javascript event"
+               event="onChange"
+               action="return alert('You have changed the value in the select box');"
+               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).">
+            <drop-down>
+                <option key="Y" description="${uiLabelMap.CommonY}"/>
+                <option key="N" description="${uiLabelMap.CommonN}"/>
+            </drop-down>
+        </field>
+
+        <field name="entityOptionsFields1" title="entity-options"><display description="All these fields retrieve the list of values from another entity by using the entity-options element." also-hidden="false"/></field>
+        <field name="entityOptionsFields2" title=""><display description="entity-options will look up options for the field in the given entity." also-hidden="false"/></field>
+        <field name="entityOptionsFields3" title=""><display description="The complete syntax is... TODO" also-hidden="false"/></field>
+        <!-- ***************** -->
+        <!-- ***   field3  *** -->
+        <!-- ***************** -->
+        <field name="field3"
+               title="Field3: sort in descending order"
+               tooltip="TODO">
+            <drop-down>
+                <entity-options entity-name="ExampleType"
+                                key-field-name="exampleTypeId"
+                                description="${description}">
+                    <entity-order-by field-name="-description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field4  *** -->
+        <!-- ***************** -->
+        <field name="field4"
+               title="Field4: combined description"
+               tooltip="TODO">
+            <drop-down>
+                <entity-options entity-name="ExampleType"
+                                key-field-name="exampleTypeId"
+                                description="${exampleTypeId} - ${description}">
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field6  *** -->
+        <!-- ***************** -->
+        <field name="exampleTypeId"
+               title="Field6 (exampleTypeId): shortest notation"
+               tooltip="TODO">
+            <drop-down>
+                <entity-options entity-name="ExampleType"
+                                description="${description}"/>
+            </drop-down>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field7  *** -->
+        <!-- ***************** -->
+        <field name="field7"
+               title="Field7: additional constraint"
+               tooltip="TODO">
+            <drop-down>
+                <entity-options entity-name="ExampleType"
+                                key-field-name="exampleTypeId"
+                                description="${description}">
+                    <entity-constraint name="exampleTypeId"
+                                       value="INSPIRED"
+                                       operator="greater"/>
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+    </form>
+
+</forms>

Propchange: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml?rev=634599&r1=634598&r2=634599&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml Fri Mar  7 02:13:56 2008
@@ -1,66 +1,66 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
-    <screen name="FormWidgetExamples">
-        <section>
-            <actions>
-                <set field="headerItem" value="FormWidgetExamples"/>
-                <set field="titleProperty" value="PageTitleFormWidgetExamples"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <section>
-                            <condition>
-                                <if-has-permission permission="EXAMPLE" action="_VIEW"/>
-                            </condition>
-                            <widgets>
-                                <container style="h1"><label>${uiLabelMap.${titleProperty}}</label></container>
-                                <container style="screenlet-body">
-                                    <container style="button-bar"><label style="h2">Date/Time fields</label></container>
-                                    <container style="screenlet-body">
-                                        <label style="h3">Source Code</label>
-                                        <label> - see the form definition with name &quot;DateTimeFieldsExampleForm&quot; in the file: </label>
-                                        <link target="http://svn.apache.org/repos/asf/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="framework/example/widget/example/FormWidgetExampleForms.xml" style="buttontext"/>
-                                        <include-form name="DateTimeFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
-                                    </container>
-                                </container>
-                                <container style="screenlet-body">
-                                    <container style="button-bar"><label style="h2">Drop down fields</label></container>
-                                    <container style="screenlet-body">
-                                        <label style="h3">Source Code</label>
-                                        <label> - see the form definition with name &quot;DropDownFieldsExampleForm&quot; in the file: </label>
-                                        <link target="http://svn.apache.org/repos/asf/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="framework/example/widget/example/FormWidgetExampleForms.xml" style="buttontext"/>
-                                    </container>
-                                    <include-form name="DropDownFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
-                                </container>
-                            </widgets>
-                            <fail-widgets>
-                                <label style="h3">${uiLabelMap.ExampleViewPermissionError}</label>
-                            </fail-widgets>
-                        </section>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section>
-    </screen>
-</screens>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
+    <screen name="FormWidgetExamples">
+        <section>
+            <actions>
+                <set field="headerItem" value="FormWidgetExamples"/>
+                <set field="titleProperty" value="PageTitleFormWidgetExamples"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <condition>
+                                <if-has-permission permission="EXAMPLE" action="_VIEW"/>
+                            </condition>
+                            <widgets>
+                                <container style="h1"><label>${uiLabelMap.${titleProperty}}</label></container>
+                                <container style="screenlet-body">
+                                    <container style="button-bar"><label style="h2">Date/Time fields</label></container>
+                                    <container style="screenlet-body">
+                                        <label style="h3">Source Code</label>
+                                        <label> - see the form definition with name &quot;DateTimeFieldsExampleForm&quot; in the file: </label>
+                                        <link target="http://svn.apache.org/repos/asf/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="framework/example/widget/example/FormWidgetExampleForms.xml" style="buttontext"/>
+                                        <include-form name="DateTimeFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
+                                    </container>
+                                </container>
+                                <container style="screenlet-body">
+                                    <container style="button-bar"><label style="h2">Drop down fields</label></container>
+                                    <container style="screenlet-body">
+                                        <label style="h3">Source Code</label>
+                                        <label> - see the form definition with name &quot;DropDownFieldsExampleForm&quot; in the file: </label>
+                                        <link target="http://svn.apache.org/repos/asf/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="framework/example/widget/example/FormWidgetExampleForms.xml" style="buttontext"/>
+                                    </container>
+                                    <include-form name="DropDownFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
+                                </container>
+                            </widgets>
+                            <fail-widgets>
+                                <label style="h3">${uiLabelMap.ExampleViewPermissionError}</label>
+                            </fail-widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+</screens>

Propchange: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml