Commit 6a4df402 authored by vkadam's avatar vkadam

Change in JSP file


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99112 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f8f158d9
......@@ -12,21 +12,43 @@ BankGuranteeDetails.jsp
<%@ page import="javax.naming.*" %>
<%@ page import="javax.servlet.ServletContext" %>
<%@ page import="ibase.system.config.*" %>
<%@ page import="ibase.webitm.utility.GenericUtility" %>
<%@ page import="ibase.webitm.ejb.fin.PurcVchrMultiAttachmentBean" %>
<%
System.out.println("@@@@@@@@@ In BankGuaranteeDetails.jsp @@@@@@@@@@@@@@@@");
String htmldata = "";
String objName = request.getParameter( "OBJ_NAME" );
objName = ( objName != null && ! "null".equals( objName) && objName.length() > 0) ? objName : "";
if( objName.length() == 0 )
GenericUtility genericUtility = null;
String param = null;
String paramvalue = null;
genericUtility = new GenericUtility();
/* Enumeration enum1 = request.getParameterNames();
while( enum1.hasMoreElements() )
{
objName = ( String )session.getAttribute( "OBJ_NAME" );
param = (String)enum1.nextElement();
paramvalue = request.getParameter(param);
System.out.println("param ["+param+"] paramvalue ["+paramvalue+"]");
}
objName = ( objName != null && ! "null".equals( objName ) && objName.length() > 0 ) ? objName : "";
System.out.println( "Selected Obj Name :["+objName+"]" );
String paramList[];
String tranId = "";
String objName = "";
if ( paramvalue.indexOf("~") != -1 )
{
paramList = paramvalue.split("~");
tranId = paramList[0];
objName = paramList[1];
}*/
String tranId=request.getParameter("TRAN_ID");
//System.out.println("oBJ_NAME>>>>>>>"+objName);
System.out.println( "Selected tranId :["+tranId+"]" );
ibase.utility.UserInfoBean userInfo = (ibase.utility.UserInfoBean) session.getAttribute("USER_INFO");
String theme ="";
if(userInfo!=null)
......@@ -36,20 +58,11 @@ BankGuranteeDetails.jsp
System.out.println("@V@ BankGrranteeDetails.jsp User Theme :" + theme );
}
ibase.utility.E12GenericUtility genericUtility = new ibase.utility.E12GenericUtility();
//ibase.utility.E12GenericUtility genericUtility = new ibase.utility.E12GenericUtility();
String displayThemeXSL = ( (String)session.getAttribute( "DISPLAY_THEME") )== null ?
genericUtility.getThemeFormat():(String)session.getAttribute( "DISPLAY_THEME");
if( objName.length() == 0 )
{
%>
<jsp:forward page="Message.jsp">
<jsp:param name="MESSAGE" value="No Object Selected"/>
</jsp:forward>
<%
}
String tranId = request.getParameter( "TRAN_ID" );
PurcVchrMultiAttachmentBean purcVchrMultiAttachmentBean = new PurcVchrMultiAttachmentBean();
......
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