Commit 78f9a256 authored by wansari's avatar wansari

updated JSP for galaxy theme changes


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103911 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d6f29a60
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<% <%
System.out.println("=========In Supplier Code JSP=============="); System.out.println("=========In Supplier Code JSP==============");
String field = request.getParameter("field"); /* String field = request.getParameter("field");
System.out.println("Field="+field); System.out.println("Field="+field);
String fieldname = request.getParameter("fieldname"); String fieldname = request.getParameter("fieldname");
...@@ -15,56 +15,132 @@ ...@@ -15,56 +15,132 @@
String extra = request.getParameter("extra"); String extra = request.getParameter("extra");
System.out.println("Extra="+extra); System.out.println("Extra="+extra);
String details = request.getParameter("details");
PorderDetailBean supp = new PorderDetailBean(); PorderDetailBean supp = new PorderDetailBean();
String htmlData = supp.getList(field,extra); String htmlData = supp.getList(field,extra,details);
System.out.println("htmlData["+htmlData+"]"); */
String loginId = ( String ) request.getParameter("LOGIN_ID");
String field = (String) request.getParameter("FIELDS");
String dbid = (String) request.getParameter("DBID");
String fieldName = (String) request.getParameter("FIELDNAME");
String idNum = (String) request.getParameter("IDNUM");
String fieldValues = (String) request.getParameter("FIELDVALUE");
String flag = (String) request.getParameter("FLAG");
String extra = (String) request.getParameter("extra");
String details = (String) request.getParameter("DETAILS");
String[] fieldValue = fieldValues.split(",");
System.out.println("htmlData["+htmlData+"]"); PorderDetailBean supp = new PorderDetailBean();
String htmlData = supp.getList(field,fieldValue,extra,details);
System.out.println("Fields["+field+"]");
%> %>
<html> <html>
<head> <head>
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script> <script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<link href="/ibase/webitm/css/Novartis/ProductWizard.css" rel="stylesheet"/>
<script>
<script language="JavaScript" type="text/javascript">
function load() function load()
{ {
var value = "<%=field%>"; <%-- var value = "<%=field%>";
var tick = "<%=fieldname%>"; var tick = "<%=fieldname%>";
document.getElementById("erp").value = value; document.getElementById("erp").value = value;
document.getElementById("tick").value = tick; document.getElementById("tick").value = tick; --%>
//easy(tick);
var value = "<%=field%>";
var dbid = "<%=dbid%>";
var idNum = "<%=idNum%>";
var flag = "<%=flag%>";
easy(tick); document.getElementById("value").value = value;
} document.getElementById("idNum").value = idNum;
document.getElementById("flag").value = flag;
checkBoxVisibility();
}
function displayText()
{
var str = "Add";
var localized = str.toLocaleString();
document.getElementById("addButton").value = localized;
str = "Cancel";
localized = str.toLocaleString();
document.getElementById("cancelButton").value = localized;
}
</script> </script>
<style>
.inner-addon {
position: relative;
}
.inner-addon .glyphicon {
position: absolute;
padding: 2px;
pointer-events: none;
}
.right-addon .glyphicon { right: 0px;}
.right-addon input { padding-right: 30px; }
#popHelp-SearchBox{
float:right;
right : 15px;
position: fixed;
top:15px;
z-index: 20;
}
#popHelp-SearchBox input{
width: 150px;
height: 20px;
}
</style>
</head> </head>
<body onload="load();displayText();">
<body style="margin: 0;" onload="load();"> <TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<div id ="div1" class = "mainPage-Container"> <TR>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/Dailyactivityreport.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<div class="headerPage-Container pophelp-Header" > <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<span class="pophelp-headerTitle"> Select <%=fieldName %>
Select <%= label %> </TD>
</span> </div>
</div> <div id="popHelp-SearchBox">
<div class="detailPage-Container pophelp-Container"> <div class="inner-addon right-addon">
<div id="dataDivID" class="pophelp-Contents" > <img class="fa glyphicon" src="/ibase/webitm/images/search.png" style = "height:15px;width:15px;"/>
<%=htmlData%> <input type="text" placeholder="Search..." spellcheck="false" onkeydown="resetSearch(this,event)" onkeyup="searchData(this,event)"/>
</div>
</div>
</TR>
</TABLE>
<div class="pageContentWrapper" style="height:80%;overflow:auto;">
<div>
<%=htmlData%>
</div>
</div>
<div>
<table>
<tr>
<td>
<!-- <input type="hidden" id="erp">
<input type="hidden" id="tick"> -->
<input type="hidden" id="value">
<input type="hidden" id="idNum">
<input type="hidden" id="flag">
<input type ="button" class="button" id="addButton" value="Add" title='Add' onclick="selectValue();"/>
<input type ="button" class="button" id="cancelButton" value="Cancel" title='Cancel' onclick="self.close()"/>
</td>
</tr>
</table>
</div> </div>
</div>
<div class="pophelp-Footer">
<input type="hidden" id="erp">
<input type="hidden" id="tick">
<div id="ok" class="button green-Btn pophelp-okcancel" onClick='selectCheckbox();'>
<span>Add</span>
</div>
<div id="cancel" class="button red-Btn pophelp-okcancel" onClick='self.close();'>
<span>Cancel</span>
</div>
</div>
</div>
</body> </body>
</html> </html>
...@@ -14,10 +14,9 @@ ...@@ -14,10 +14,9 @@
<html> <html>
<head> <head>
<link href="/ibase/webitm/css/Novartis/ProductWizard.css" rel="stylesheet"/>
</head> </head>
<body> <body>
<div id ="div1" class = "mainPage-Container"> <%-- <div id ="div1" class = "mainPage-Container">
<div class="headerPage-Container pophelp-Header" > <div class="headerPage-Container pophelp-Header" >
<span class="pophelp-headerTitle"> <span class="pophelp-headerTitle">
...@@ -31,7 +30,24 @@ ...@@ -31,7 +30,24 @@
</div> </div>
</div> </div>
</div> --%>
<TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<TR>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/salesorder.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Purchase Order Finished Successfully
</TD>
</div>
</TR>
</TABLE>
<div class="pageContentWrapper" style="height:80%;overflow:auto;">
<div>
<%=htmlData%>
</div>
</div> </div>
</body> </body>
</html> </html>
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