[OFBiz] SVN: r5022 - trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/request

jacopo at svn.ofbiz.org jacopo at svn.ofbiz.org
Sat May 21 12:40:51 EDT 2005


Author: jacopo
Date: 2005-05-21 11:40:41 -0500 (Sat, 21 May 2005)
New Revision: 5022

Added:
   trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/request/requestlist.bsh
Log:
Added missing bsh script.

Added: trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/request/requestlist.bsh
===================================================================
--- trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/request/requestlist.bsh	2005-05-21 16:39:05 UTC (rev 5021)
+++ trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/request/requestlist.bsh	2005-05-21 16:40:41 UTC (rev 5022)
@@ -0,0 +1,32 @@
+/*
+ *  Copyright (c) 2003 The Open For Business Project - www.ofbiz.org
+ *
+ *  Permission is hereby granted, free of charge, to any person obtaining a 
+ *  copy of this software and associated documentation files (the "Software"), 
+ *  to deal in the Software without restriction, including without limitation 
+ *  the rights to use, copy, modify, merge, publish, distribute, sublicense, 
+ *  and/or sell copies of the Software, and to permit persons to whom the 
+ *  Software is furnished to do so, subject to the following conditions:
+ *
+ *  The above copyright notice and this permission notice shall be included 
+ *  in all copies or substantial portions of the Software.
+ *
+ *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
+ *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
+ *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
+ *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
+ *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT 
+ *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 
+ *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ *@author     Andy Zeneski (jaz at ofbiz.org)
+ *@version    $Rev$
+ *@since      2.2
+ */
+
+import org.ofbiz.base.util.UtilMisc;
+
+Map serviceCtx = UtilMisc.toMap("userLogin", userLogin);
+Map requests = dispatcher.runSync("getCustRequestsByRole", serviceCtx);
+
+context.put("custRequestAndRoles", requests.get("custRequestAndRoles"));


Property changes on: trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/request/requestlist.bsh
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:keywords
   + "Id Rev Author"
Name: svn:eol-style
   + native



More information about the Svn mailing list