%-- IBM Confidential OCO Source Material --%>
<%-- 5724-J08, 5724-I63, 5724-H88, 5724-H89, 5655-N02, 5733-W70 COPYRIGHT International Business Machines Corp. 1997, 2011 --%>
<%-- 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 language="java"%>
<%@ taglib uri="/WEB-INF/ibmcommon.tld" prefix="ibmcommon" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %>
<%@ page import="java.util.*"%>
<%
org.apache.struts.util.MessageResources messages = (org.apache.struts.util.MessageResources) pageContext
.getServletContext().getAttribute(
org.apache.struts.action.Action.MESSAGES_KEY);
%>
<%
if (desc.equals("")) {
desc = label;
}
if (hideLabel == null) {
hideLabel = "false";
}
boolean useNoKeys = false;
if ("true".equalsIgnoreCase(noKeys)
|| "yes".equalsIgnoreCase(noKeys)) {
useNoKeys = true;
}
if (onKeyUp == null) {
onKeyUp = "";
}
if (onMouseOut == null) {
onMouseOut = "";
}
if (complexType == null) {
complexType = "";
} else {
complexType = complexType.toUpperCase();
if (complexType.equals("FILEPATH")) {
complexType = "FILE_PATH";
}
}
if(propId == null || propId.equals("")) {
propId = property;
}
%>
<% if ((includeTD == null) || (includeTD.equals("true"))) { %>
<% } %>
<% if (isRequired.equalsIgnoreCase("yes")) { %>
<% } else { %>
<% } %>
<% if (!hideLabel.equalsIgnoreCase("true")) { %>
<% } %>
<% if ((isReadOnly.equalsIgnoreCase("yes") || (isReadOnly.equalsIgnoreCase("true")))) {
if (forceLength != null && forceLength.equalsIgnoreCase("true")) { %>
<%-- Need to include some element/style to respect whitespaces in names
--%>
<%----%>
<%if (units != null && !units.equals(" ")&& !units.equals("")) { %>
<% } %>
<% } else { %>
<% if (complexType.length() == 0) { %>
">
<% } else { %>
">
<% } %>
" name="<%=formBean%>"/>" DISABLED/><%-- Added to prevent formFocus javascript errors --%>
|
<% if (units != null && !units.equals(" ") && !units.equals("")) { %>
|
<% } %>
<% }
} else {
String styleClass = "textEntry";
if (isRequired.equalsIgnoreCase("yes")) {
styleClass = "textEntryRequired";
} %>
<% if (units != null && !units.equals(" ") && !units.equals("")) { %>
<% }
} %>
|