svn commit: r663106 - in /ofbiz/trunk/applications/workeffort: webapp/workeffort/WEB-INF/actions/calendar/ webapp/workeffort/WEB-INF/actions/content/ webapp/workeffort/WEB-INF/actions/find/ webapp/workeffort/WEB-INF/actions/request/ widget/

Posted by ashish-18 on
URL: http://ofbiz.116.s1.nabble.com/svn-commit-r663106-in-ofbiz-trunk-applications-workeffort-webapp-workeffort-WEB-INF-actions-calendar-tp215962.html

Author: ashish
Date: Wed Jun  4 07:15:03 2008
New Revision: 663106

URL: http://svn.apache.org/viewvc?rev=663106&view=rev
Log:
Now moved all the "workeffort" *.bsh files to *.groovy files.
Changed the entries in *Screens.xml file.

Also included the suggestion proposed by Joe Eckard on Developer Mailing list for keeping
the file name starting as the Capital letter and then follow the CamelCase patter.


Added:
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Days.groovy
      - copied unchanged from r663100, ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/day.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Month.groovy
      - copied unchanged from r663100, ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/month.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Upcoming.groovy
      - copied unchanged from r663100, ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/upcoming.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Week.groovy
      - copied unchanged from r663100, ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/week.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/content/WorkEffortContentWrapper.groovy
      - copied unchanged from r663100, ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/content/workEffortContentWrapper.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchOptions.groovy
      - copied unchanged from r663100, ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchOptions.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchResults.groovy
      - copied unchanged from r663100, ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchResults.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/request/RequestList.groovy
      - copied unchanged from r663100, ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/request/requestlist.bsh
Removed:
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/day.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/month.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/upcoming.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/week.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/content/workEffortContentWrapper.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchOptions.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchResults.bsh
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/request/requestlist.bsh
Modified:
    ofbiz/trunk/applications/workeffort/widget/CalendarScreens.xml
    ofbiz/trunk/applications/workeffort/widget/RequestScreens.xml
    ofbiz/trunk/applications/workeffort/widget/WorkEffortScreens.xml

Modified: ofbiz/trunk/applications/workeffort/widget/CalendarScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/CalendarScreens.xml?rev=663106&r1=663105&r2=663106&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/CalendarScreens.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/CalendarScreens.xml Wed Jun  4 07:15:03 2008
@@ -47,7 +47,7 @@
                 <set field="headerItem" value="calendar"/>
                 <set field="tabButtonItem" value="week"/>
 
-                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/calendar/week.bsh"/>
+                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/calendar/Week.groovy"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonCalendarDecorator" location="${parameters.mainDecoratorLocation}">
@@ -67,7 +67,7 @@
                 <set field="headerItem" value="calendar"/>
                 <set field="tabButtonItem" value="month"/>
 
-                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/calendar/month.bsh"/>
+                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/calendar/Month.groovy"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonCalendarDecorator" location="${parameters.mainDecoratorLocation}">
@@ -87,7 +87,7 @@
                 <set field="headerItem" value="calendar"/>
                 <set field="tabButtonItem" value="upcoming"/>
 
-                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/calendar/upcoming.bsh"/>
+                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/calendar/Upcoming.groovy"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonCalendarDecorator" location="${parameters.mainDecoratorLocation}">

Modified: ofbiz/trunk/applications/workeffort/widget/RequestScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/RequestScreens.xml?rev=663106&r1=663105&r2=663106&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/RequestScreens.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/RequestScreens.xml Wed Jun  4 07:15:03 2008
@@ -31,7 +31,7 @@
 
                 <set field="custRequestId" from-field="parameters.custRequestId"/>
                 <entity-one entity-name="CustRequest" value-name="custRequest"/>
-                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/request/requestlist.bsh"/>
+                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/request/RequestList.groovy"/>
             </actions>
             <widgets>
                 <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">

Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortScreens.xml?rev=663106&r1=663105&r2=663106&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/WorkEffortScreens.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/WorkEffortScreens.xml Wed Jun  4 07:15:03 2008
@@ -1212,7 +1212,7 @@
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleSearchResults"/>
-                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchResults.bsh"/>
+                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchResults.groovy"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
@@ -1230,7 +1230,7 @@
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleSearchResults"/>
-                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchOptions.bsh"/>
+                <script location="component://workeffort/webapp/workeffort/WEB-INF/actions/find/WorkEffortSearchOptions.groovy"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">