<%@ 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); %> ATIVA TECHNOLOGY
 
 
 
 
 
 
 

<% int count = mainList.length; boolean chosen = false; for (int i= 0; i < count; i++) { chosen = false; if (moid == mainList[i].getOid()) chosen = true; int width = 800 / count; if (chosen) { %> <% } else { %> <% } } %>
<%=mainList[i].getName()%>
<%=mainList[i].getName()%>
<% if (moid != 1) { // skip for numbering system %> <% count = subList.length; for (int i= 0; i< count; i++) { chosen = false; if (soid == subList[i].getOid()) chosen = true; if (chosen) { %> <% } else { %> <% } } %> <% } %>
<%=subList[i].getName()%>
<%=subList[i].getName()%>

<% if (moid == 1) { // for numbering system %> <% } else { %> <% for (int i= 0; i < itemList.length; i++) { %> > <% } %>
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