</logic:notPresent>
</logic:notPresent>
</logic:equal>
This code, which follows the check for
<logic:equal name="customField" property="type" value="<%=Integer.toString(CustomFieldConst.TYPE_DROP_DOWN)%>"> <select name="<%=cfName%>" id="<%=customField.getName()%>">
<logic:iterate id="optionValue" name="customField" property="optionValues"
type="java.lang.String">
<%
if ( optionValue.equals(customField.getVal()) ) {
%>
<option value="<%=optionValue%>" selected><%=optionValue%></option>
<%
}else { %>
<option value="<%=optionValue%>"><%=optionValue%></option> <%
}
}else {
if ( optionValue.equals(customField.getDefaultValue()) ) { %>
<option value="<%=optionValue%>" selected><%=optionValue%></option>
<%
} else {