Commit fa7140f0 authored by vbhosale's avatar vbhosale

Addition of parameter for new view option

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@172578 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f08c2dc6
......@@ -33,6 +33,7 @@ public class MissingFDBackServlet extends HttpServlet
String projectmngr = "";
HttpSession session = null;
UserInfoBean userInfo = null;
String dataProvider ="";
try
{
response.setContentType("application/xml");
......@@ -41,7 +42,9 @@ public class MissingFDBackServlet extends HttpServlet
fromDate = request.getParameter("frmDate");
toDate = request.getParameter("toDate");
projectmngr = request.getParameter("PROJECT_MANAGER");
dataProvider = request.getParameter("viewOptionSelectd");
System.out.println("viewOptionSelectd " + dataProvider);
//projectmngr ="BE001";
if (projectmngr == null || projectmngr.trim().length() == 0)
{
......@@ -53,7 +56,7 @@ public class MissingFDBackServlet extends HttpServlet
System.out.println( "projectmngr is =" + projectmngr );
context = new InitialContext(appConnectParm.getProperty());
mgmDashBoardRmt = (ManagmentDashboardRemote)context.lookup("ibase/ManagmentDashboard/remote");
JSONObject jsonObjData = (JSONObject)mgmDashBoardRmt.getMissingFDBack(fromDate,toDate,projectmngr,dataSourceName);
JSONObject jsonObjData = (JSONObject)mgmDashBoardRmt.getMissingFDBack(fromDate,toDate,projectmngr,dataProvider,dataSourceName);
OutputStream outputStream = response.getOutputStream();
outputStream.write(jsonObjData.toString().getBytes());
outputStream.flush();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment