<%-- IBM Confidential OCO Source Material --%> <%-- 5724-J34, 5655-P28 (C) COPYRIGHT International Business Machines Corp. 2006 --%> <%-- The source code for this program is not published or otherwise divested --%> <%-- of its trade secrets, irrespective of what has been deposited with the --%> <%-- U.S. Copyright Office. --%> <%@ page import="java.util.*"%> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %> <% if (desc.equals("")) { desc = label; } %> <% String checked = ""; String tmpchecked = "" + state + ""; Vector valueVector = (Vector)session.getAttribute("valueVector"); Vector descVector = (Vector)session.getAttribute("descVector"); boolean isDisabled=false; if(isReadOnly.equalsIgnoreCase("true") || isReadOnly.equalsIgnoreCase("yes")) {isDisabled=true;} %>
"/>"> <% if (isRequired.equalsIgnoreCase("yes")) { %> <bean:message key=" title=""> <% } else {%> <% } %> <% for (int i=0; i < valueVector.size()-1; i++) { String val = (String) valueVector.elementAt(i); String descript = (String) descVector.elementAt(i); if (tmpchecked.equalsIgnoreCase(val)) { checked = "CHECKED"; } else { checked = ""; } %>
<% } %> <% if (units != null && !units.equals("") && !units.equals(" ")) { %> <% } %>