Author: jacopoc
Date: Sat Apr 7 00:09:02 2007 New Revision: 526387 URL: http://svn.apache.org/viewvc?view=rev&rev=526387 Log: Removed unnecessary styling attributes from form definitions. Modified: ofbiz/trunk/framework/example/widget/example/ExampleFeatureForms.xml ofbiz/trunk/framework/example/widget/example/ExampleForms.xml Modified: ofbiz/trunk/framework/example/widget/example/ExampleFeatureForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleFeatureForms.xml?view=diff&rev=526387&r1=526386&r2=526387 ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleFeatureForms.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleFeatureForms.xml Sat Apr 7 00:09:02 2007 @@ -21,7 +21,6 @@ <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-form.xsd"> <form name="ListExampleFeatures" type="list" list-name="examples" - default-title-style="tableheadtext" default-widget-style="tabletext" default-tooltip-style="tabletext" paginate-target="FindExampleFeature"> <actions> <entity-condition entity-name="ExampleFeature"> @@ -34,8 +33,7 @@ </field> <field name="description" title="${uiLabelMap.CommonDescription}"><display/></field> </form> - <form name="EditExampleFeature" type="single" target="updateExampleFeature" title="" default-map-name="example" - default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext"> + <form name="EditExampleFeature" type="single" target="updateExampleFeature" title="" default-map-name="example"> <actions> <entity-one entity-name="StatusItem" value-name="currentStatus" auto-field-map="false"> <field-map field-name="statusId" env-name="example.statusId"/> @@ -44,7 +42,7 @@ <alt-target use-when="exampleFeature==null" target="createExampleFeature"/> <auto-fields-service service-name="updateExampleFeature"/> - <field use-when="exampleFeature!=null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}" tooltip="${uiLabelMap.CommonNotModifRecreat}" widget-style="tabletext"><display/></field> + <field use-when="exampleFeature!=null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field> <field use-when="exampleFeature==null&&exampleFeatureId==null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}"><ignored/></field> <field use-when="exampleFeature==null&&exampleFeatureId!=null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}"><display description="${uiLabelMap.CommonCannotBeFound}: [${exampleFeatureId}]" also-hidden="false"/></field> @@ -57,13 +55,12 @@ </entity-options> </drop-down> </field> - <field name="submitButton" use-when="exampleFeature==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> - <field name="submitButton" use-when="exampleFeature!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> + <field name="submitButton" use-when="exampleFeature==null" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field> + <field name="submitButton" use-when="exampleFeature!=null" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> </form> <!-- ExampleFeatureAppl --> - <form name="ListExampleFeatureAppls" type="list" list-name="exampleFeatureAppls" target="feature_updateExampleFeatureAppl" - default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext"> + <form name="ListExampleFeatureAppls" type="list" list-name="exampleFeatureAppls" target="feature_updateExampleFeatureAppl"> <actions> <entity-condition entity-name="ExampleFeatureAppl"> <condition-expr field-name="exampleFeatureId" env-name="exampleFeatureId"/> @@ -72,14 +69,14 @@ </actions> <auto-fields-service service-name="updateExampleFeatureAppl"/> - <field name="exampleId" title="${uiLabelMap.ExampleExample}" widget-style="tabletext"> + <field name="exampleId" title="${uiLabelMap.ExampleExample}"> <display-entity entity-name="Example" description="${exampleName}"> <sub-hyperlink target="EditExample?exampleId=${exampleId}" description="${exampleId}" link-style="buttontext"/> </display-entity> </field> <field name="exampleFeatureId"><hidden/></field> - <field name="fromDate" widget-style="tabletext"><display/></field> - <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}" widget-style="selectBox"> + <field name="fromDate"><display/></field> + <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}"> <drop-down allow-empty="true"> <entity-options entity-name="ExampleFeatureApplType" description="${description}"> <entity-order-by field-name="description"/> @@ -87,14 +84,13 @@ </drop-down> </field> - <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> + <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> <field name="deleteLink" title="" widget-style="buttontext"> <hyperlink target="feature_deleteExampleFeatureAppl?exampleId=${exampleId}&exampleFeatureId=${exampleFeatureId}&fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/> </field> </form> - <form name="AddExampleFeatureAppl" type="single" target="feature_createExampleFeatureAppl" title="" - default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext"> + <form name="AddExampleFeatureAppl" type="single" target="feature_createExampleFeatureAppl" title=""> <auto-fields-service service-name="createExampleFeatureAppl"/> <field name="exampleId" title="${uiLabelMap.ExampleExample}"> @@ -105,18 +101,17 @@ </drop-down> </field> <field name="exampleFeatureId"><hidden/></field> - <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}" widget-style="selectBox"> + <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}"> <drop-down allow-empty="true"> <entity-options entity-name="ExampleFeatureApplType" description="${description}"> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> - <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> + <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field> </form> - <form name="LookupFindExampleFeature" target="LookupExampleFeature" title="" type="single" - default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox"> + <form name="LookupFindExampleFeature" target="LookupExampleFeature" title="" type="single"> <auto-fields-entity entity-name="ExampleFeature" default-field-type="find"/> <field name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}"/> <!-- <text-find/> --> <field name="featureSourceEnumId" title="${uiLabelMap.ExampleFeatureSource}"> @@ -129,10 +124,9 @@ </field> <field name="description" title="${uiLabelMap.CommonDescription}"/> <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> - <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field> + <field name="submitButton" title="${uiLabelMap.CommonLookup}"><submit button-type="button"/></field> </form> <form name="LookupListExampleFeature" list-name="listIt" title="" type="list" - default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="tabletext" paginate-target="LookupExampleFeature"> <actions> <service service-name="performFind" result-map-name="result" result-map-list-name="listIt"> @@ -142,7 +136,7 @@ </service> </actions> <!--<auto-fields-entity entity-name="ExampleFeature" default-field-type="display"/>--> - <field name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}" widget-style="buttontext"> + <field name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}" widget-style="buttontext"> <hyperlink description="${exampleFeatureId}" also-hidden="false" target-type="plain" target="javascript:set_value('${exampleFeatureId}')"/> </field> <field name="featureSourceEnumId" title="${uiLabelMap.ExampleFeatureSource}"> Modified: ofbiz/trunk/framework/example/widget/example/ExampleForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleForms.xml?view=diff&rev=526387&r1=526386&r2=526387 ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleForms.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleForms.xml Sat Apr 7 00:09:02 2007 @@ -21,7 +21,6 @@ <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-form.xsd"> <form name="ListExamples" type="list" list-name="examples" - default-title-style="tableheadtext" default-widget-style="tabletext" default-tooltip-style="tabletext" paginate-target="FindExample"> <actions> <entity-condition entity-name="Example"><order-by field-name="description"/></entity-condition> @@ -35,8 +34,7 @@ <field name="statusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem"/></field> <field name="description" title="${uiLabelMap.CommonDescription}"><display/></field> </form> - <form name="EditExample" type="single" target="updateExample" title="" default-map-name="example" - default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext"> + <form name="EditExample" type="single" target="updateExample" title="" default-map-name="example"> <actions> <entity-one entity-name="StatusItem" value-name="currentStatus" auto-field-map="false"> <field-map field-name="statusId" env-name="example.statusId"/> @@ -47,16 +45,16 @@ <field use-when="example!=null" name="exampleId" title="${uiLabelMap.ExampleExampleId}" tooltip="${uiLabelMap.CommonNotModifRecreat}" widget-style="tabletext"><display/></field> <field use-when="example==null&&exampleId==null" name="exampleId" title="${uiLabelMap.ExampleExampleId}"><ignored/></field> - <field use-when="example==null&&exampleId!=null" name="exampleId" title="${uiLabelMap.ExampleExampleId}" widget-style="tabletext"><display description="${uiLabelMap.CommonCannotBeFound}: [${exampleId}]" also-hidden="false"/></field> + <field use-when="example==null&&exampleId!=null" name="exampleId" title="${uiLabelMap.ExampleExampleId}"><display description="${uiLabelMap.CommonCannotBeFound}: [${exampleId}]" also-hidden="false"/></field> - <field name="exampleTypeId" title="${uiLabelMap.CommonType}" widget-style="selectBox"> + <field name="exampleTypeId" title="${uiLabelMap.CommonType}"> <drop-down allow-empty="false"> <entity-options entity-name="ExampleType" description="${description}"> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> - <field name="statusId" use-when="example==null" title="${uiLabelMap.CommonStatus}" widget-style="selectBox"> + <field name="statusId" use-when="example==null" title="${uiLabelMap.CommonStatus}"> <drop-down allow-empty="false"> <entity-options entity-name="StatusItem" description="${description}"> <entity-constraint name="statusTypeId" value="EXAMPLE_STATUS"/> @@ -64,7 +62,7 @@ </entity-options> </drop-down> </field> - <field name="statusId" use-when="example!=null" title="${uiLabelMap.CommonStatus}" widget-style="selectBox"> + <field name="statusId" use-when="example!=null" title="${uiLabelMap.CommonStatus}"> <drop-down allow-empty="false" current-description="${currentStatus.description}"> <entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})"> <entity-constraint name="statusId" env-name="example.statusId"/> @@ -74,13 +72,12 @@ </field> <field name="description" title="${uiLabelMap.CommonDescription}"/> - <field name="submitButton" use-when="example==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> - <field name="submitButton" use-when="example!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> + <field name="submitButton" use-when="example==null" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field> + <field name="submitButton" use-when="example!=null" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> </form> <!-- ExampleItem --> - <form name="ListExampleItems" type="list" list-name="exampleItems" target="updateExampleItem" - default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext"> + <form name="ListExampleItems" type="list" list-name="exampleItems" target="updateExampleItem"> <actions> <entity-condition entity-name="ExampleItem"> <condition-expr field-name="exampleId" env-name="exampleId"/> @@ -90,9 +87,9 @@ <auto-fields-service service-name="updateExampleItem"/> <field name="exampleId"><hidden/></field> - <field name="exampleItemSeqId" title="${uiLabelMap.CommonItem}" widget-style="tabletext"><display/></field> + <field name="exampleItemSeqId" title="${uiLabelMap.CommonItem}"><display/></field> <field name="description"><text size="30"/></field> - <field name="amountUomId" title="${uiLabelMap.CommonUom}" widget-style="selectBox"> + <field name="amountUomId" title="${uiLabelMap.CommonUom}"> <drop-down allow-empty="true"> <entity-options entity-name="UomAndType" key-field-name="uomId" description="${typeDescription}: ${description} (${abbreviation})"> <entity-order-by field-name="typeDescription"/> @@ -105,15 +102,14 @@ <hyperlink target="deleteExampleItem?exampleId=${exampleId}&exampleItemSeqId=${exampleItemSeqId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/> </field> - <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> + <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> </form> - <form name="AddExampleItem" type="single" target="createExampleItem" title="" - default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext"> + <form name="AddExampleItem" type="single" target="createExampleItem" title=""> <auto-fields-service service-name="createExampleItem"/> <field name="exampleId"><hidden/></field> <field name="exampleItemSeqId"><ignored/><!-- this will be auto-sequenced --></field> - <field name="amountUomId" title="${uiLabelMap.CommonUom}" widget-style="selectBox"> + <field name="amountUomId" title="${uiLabelMap.CommonUom}"> <drop-down allow-empty="true"> <entity-options entity-name="UomAndType" key-field-name="uomId" description="${typeDescription}: ${description} (${abbreviation})"> <entity-order-by field-name="typeDescription"/> @@ -121,12 +117,11 @@ </entity-options> </drop-down> </field> - <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> + <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field> </form> <!-- ExampleFeatureAppl --> - <form name="ListExampleFeatureAppls" type="list" list-name="exampleFeatureAppls" target="example_updateExampleFeatureAppl" - default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext"> + <form name="ListExampleFeatureAppls" type="list" list-name="exampleFeatureAppls" target="example_updateExampleFeatureAppl"> <actions> <entity-condition entity-name="ExampleFeatureAppl"> <condition-expr field-name="exampleId" env-name="exampleId"/> @@ -136,13 +131,13 @@ <auto-fields-service service-name="updateExampleFeatureAppl"/> <field name="exampleId"><hidden/></field> - <field name="exampleFeatureId" title="${uiLabelMap.ExampleFeature}" widget-style="tabletext"> + <field name="exampleFeatureId" title="${uiLabelMap.ExampleFeature}"> <display-entity entity-name="ExampleFeature" description="${description}"> <sub-hyperlink target="EditExampleFeature?exampleFeatureId=${exampleFeatureId}" description="${exampleFeatureId}" link-style="buttontext"/> </display-entity> </field> <field name="fromDate"><display/></field> - <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}" widget-style="selectBox"> + <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}"> <drop-down allow-empty="false"> <entity-options entity-name="ExampleFeatureApplType" description="${description}"> <entity-order-by field-name="description"/> @@ -150,25 +145,24 @@ </drop-down> </field> - <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> + <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> <field name="deleteLink" title="" widget-style="buttontext"> <hyperlink target="example_deleteExampleFeatureAppl?exampleId=${exampleId}&exampleFeatureId=${exampleFeatureId}&fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/> </field> </form> - <form name="AddExampleFeatureAppl" type="single" target="example_createExampleFeatureAppl" title="" - default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext"> + <form name="AddExampleFeatureAppl" type="single" target="example_createExampleFeatureAppl" title=""> <auto-fields-service service-name="createExampleFeatureAppl"/> <field name="exampleId"><hidden/></field> <field name="exampleFeatureId" title="${uiLabelMap.ExampleFeature}"><lookup target-form-name="LookupExampleFeature"/></field> - <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}" widget-style="selectBox"> + <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}"> <drop-down allow-empty="false"> <entity-options entity-name="ExampleFeatureApplType" description="${description}"> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> - <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> + <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field> </form> </forms> |
Free forum by Nabble | Edit this page |