%@ page contentType="text/html; charset=MS950" %> <%@ page errorPage="../errorpage.jsp" %> <%@ page import="com.momo.manager.SessionHandler" %> <%@ page import="com.momo.model.*" %> <% String mainOid = request.getParameter("mainOid"); String subOid = request.getParameter("subOid"); ProdMainVO[] mainList = SessionHandler.getAllProductMain(); if (mainList.length == 0) return; int moid = 0; if (mainList.length >= 2) // skip numbering system moid = mainList[1].getOid(); else moid = mainList[0].getOid(); try { moid = (mainOid != null) ? Integer.parseInt(mainOid) : moid; } catch (Exception ex) {} int soid = 0; try { soid = (subOid != null) ? Integer.parseInt(subOid) : 0; } catch (Exception ex) {} ProdSubVO[] subList = SessionHandler.getProductMainSub(moid); if (soid == 0 && subList.length > 0) { // NOT FOUND soid = subList[0].getOid(); } ProdItemVO[] itemList = SessionHandler.getProductItemList(soid); %>
|  | ||||||||||||
| <%
         } else {
  %><%=mainList[i].getName()%> | <% } } %> | 
| <%
         } else {
  %><%=subList[i].getName()%> | <% } } %> | 
| Model No. | Module size | View area | Dot size | Controller | Back Light | ||
| LED  |  EL  | CCFL | |||||
| <%=itemList[i].getModel()%> | <%=itemList[i].getModuleSize()%> | <%=itemList[i].getDotSize()%> | <%=itemList[i].getViewArea()%> | <%=itemList[i].getController()%> | <% if (itemList[i].getLED()) out.println("O"); else out.println(" ");%> | <% if (itemList[i].getEL()) out.println("O"); else out.println(" ");%> | <% if (itemList[i].getCCFL()) out.println("O"); else out.println(" ");%> | 
| © 2005 ATIVA All Right Reserved  |