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) ...@@ -16,10 +16,23 @@ if(userInfo != null)
else else
{ {
ItemDetails itemDetails = new ItemDetails(); 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 +"]"); System.out.println("itemList inside jsp ::: ["+ itemList +"]");
String docList = itemDetails.getDocId(item); String docList = itemDetails.getDocId(item);
System.out.println("itemList inside jsp docList::: ["+ docList +"]"); 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> <!DOCTYPE html>
<html> <html>
...@@ -69,6 +82,10 @@ if(userInfo != null) ...@@ -69,6 +82,10 @@ if(userInfo != null)
<div class="highlight tdDivLft" style = "padding-top: 2px;"> Item Details: </div> <div class="highlight tdDivLft" style = "padding-top: 2px;"> Item Details: </div>
</td> </td>
</tr> </tr>
<% if(!itemList.get(2).equals(""))
{
%>
<tr> <tr>
<td class="highlight rght tdClass" colspan="2"> <td class="highlight rght tdClass" colspan="2">
<div class = "tdDivLft1"> <%= itemList.get(2) %> </div> <div class = "tdDivLft1"> <%= itemList.get(2) %> </div>
...@@ -89,6 +106,7 @@ if(userInfo != null) ...@@ -89,6 +106,7 @@ if(userInfo != null)
<div class="highlight tdDivRgt1"> <%= itemList.get(7) %> </div> <div class="highlight tdDivRgt1"> <%= itemList.get(7) %> </div>
</td> </td>
</tr> </tr>
<% } %>
<tr> <tr>
<td class="highlight rght tdClass" colspan="2"> <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