Author: jleroux
Date: Sun Apr  8 05:19:48 2012
New Revision: 1310954

URL: http://svn.apache.org/viewvc?rev=1310954&view=rev
Log:
setCountryStatesEventJs.ftl was a specialisation of 
setDependentDropdownValuesJs.ftl introduced 2 years ago with it. It has never 
been used and finally whan I thnk about it I don't see any needs to keep (slim 
down spirit)
So this to remove it and clean duplicated references/comments about 
setDependentDropdownValuesJs.ftl

Removed:
    ofbiz/trunk/framework/common/webcommon/includes/setCountryStatesEventJs.ftl
Modified:
    ofbiz/trunk/applications/commonext/widget/ofbizsetup/ProfileScreens.xml
    ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml

Modified: 
ofbiz/trunk/applications/commonext/widget/ofbizsetup/ProfileScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/ofbizsetup/ProfileScreens.xml?rev=1310954&r1=1310953&r2=1310954&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/widget/ofbizsetup/ProfileScreens.xml 
(original)
+++ ofbiz/trunk/applications/commonext/widget/ofbizsetup/ProfileScreens.xml Sun 
Apr  8 05:19:48 2012
@@ -50,7 +50,7 @@
                                         <if-empty field="parties"/>
                                     </condition>
                                     <actions>
-                                        <!-- fields for 
setDependentDropdownValuesJs.ftl, it's a try on generalization, if you need an 
example with more than one dropdown in a form have a look at 
EditProductPriceRules screen -->
+                                        <!-- fields for 
setDependentDropdownValuesJs.ftl -->
                                         <set field="dependentForm" 
value="NewCustomer"/>
                                         <set field="paramKey" 
value="countryGeoId"/>                                        
                                         <set field="mainId" 
value="USER_COUNTRY"/>

Modified: 
ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml?rev=1310954&r1=1310953&r2=1310954&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml 
(original)
+++ ofbiz/trunk/framework/example/widget/example/FormWidgetExampleScreens.xml 
Sun Apr  8 05:19:48 2012
@@ -52,9 +52,10 @@ under the License.
                                         <link 
target="http://svn.apache.org/repos/asf/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml";
 url-mode="plain" target-window="svnPage" 
text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
                                     </container>
                                     <section>
-                                        <actions>
-                                            <!-- setCountryStatesEventJs.ftl, 
it's not used here but could be. It's a good example of a reusable 
template-script with harcoded values which make sense -->
-                                            <!-- fields for 
setDependentDropdownValuesJs.ftl, it's a try on generalization, if you need an 
example with more than one dropdown in a form have a look at 
EditProductPriceRules screen -->
+                                        <actions>                              
              
+                                            <!-- fields for 
setDependentDropdownValuesJs.ftl, it's a try on generalization, 
+                                                if you need an example with 
more than one dropdown in a form have a look at 
+                                                EditProductPriceRules screen 
in PriceScreens.xml-->
                                             <set field="dependentForm" 
value="DropDownFieldsExampleForm"/>
                                             <set field="paramKey" 
value="countryGeoId"/>                                            
                                             <set field="mainId" 
value="countryGeoId"/>
@@ -73,7 +74,6 @@ under the License.
                                             <set field="asm_sortable" 
value="false"/>                                            
                                         </actions>
                                         <widgets>
-                                            
<!--platform-specific><html><html-template 
location="component://common/webcommon/includes/setCountryStatesEventJs.ftl"/></html></platform-specific-->
                                             
<platform-specific><html><html-template 
location="component://common/webcommon/includes/setDependentDropdownValuesJs.ftl"/></html></platform-specific>
                                             
<platform-specific><html><html-template 
location="component://common/webcommon/includes/setMultipleSelectJs.ftl"/></html></platform-specific>
                                             <include-form 
name="DropDownFieldsExampleForm" 
location="component://example/widget/example/FormWidgetExampleForms.xml"/>


Reply via email to