Commit f688502d authored by smestry's avatar smestry

Updated the jsp file for Item Details in Side panel


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104540 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7dd1bf07
......@@ -16,10 +16,23 @@ if(userInfo != null)
else
{
ItemDetails itemDetails = new ItemDetails();
ArrayList itemList = itemDetails.getItemListDetails(item);
ArrayList<String> itemList = new ArrayList<String>();
itemList = itemDetails.getItemListDetails(item);
System.out.println("itemList inside jsp ::: ["+ itemList +"]");
String docList = itemDetails.getDocId(item);
System.out.println("itemList inside jsp docList::: ["+ docList +"]");
/* if(itemList.get(0).equals("") || itemList.get(0).equals(null))
{
for(String s: itemList)
{
s = "";
System.out.println("Arraylist blank ==========>>["+s+"]");
out.println("IMPROPER DATA FOUND...");
}
} */
%>
<!DOCTYPE html>
<html>
......@@ -69,26 +82,31 @@ if(userInfo != null)
<div class="highlight tdDivLft" style = "padding-top: 2px;"> Item Details: </div>
</td>
</tr>
<tr>
<% if(!itemList.get(2).equals(""))
{
%>
<tr>
<td class="highlight rght tdClass" colspan="2">
<div class = "tdDivLft1"> <%= itemList.get(2) %> </div>
<div class="highlight tdDivRgt1"> <%= itemList.get(3) %> </div>
</td>
</tr>
</tr>
<tr>
<td class="highlight rght tdClass" colspan="2">
<div class = "tdDivLft1"> <%= itemList.get(4) %> </div>
<div class="highlight tdDivRgt1"> <%= itemList.get(5) %> </div>
</td>
</tr>
<tr>
<td class="highlight rght tdClass" colspan="2">
<div class = "tdDivLft1"> <%= itemList.get(6) %> </div>
<div class="highlight tdDivRgt1"> <%= itemList.get(7) %> </div>
</td>
</tr>
<% } %>
<tr>
<td class="highlight rght tdClass" colspan="2">
......
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