<html-el:select property="someType" size="1" styleClass="someClass">
<c:forEach var="someType" items="${LOV.IOP_SomeType}">
<html-el:option value="$someType.key">
<c:out value="${someType.value}">
</html-el:option>
</c:forEach?
</html-el:select>
From the above code, I'll have a full item list for someType
. Now I'm wondering how to modify so that it only display when value == "testing"
You can use the
<c:if>
tag, and put that comparison:http://www.tutorialspoint.com/jsp/jstl_core_if_tag.htm