Hi,
I have this part of JSTL code in my JSP:
<select name="continent" onchange="submit()">
<c:forEach items="${Continents}" var="Continent">
<option value="${Continent}"
<c:if test="${Continent==continent}"> selected="selected"</c:if>
>${Continent}</option>
</c:forEach>
</select>
and in MyEclipse(5.0.1) JSP editor im getting
Undefined attribute name (<c:if test=”${Continent==continent}”>
selected=”selected”</c:if>).
warning.
Ok, all this with c:if is not valid HTML attribute but that is a JSTL code not HTML … and I think JSP Editor should realize this and not report warning.
However, is there any way to avoid this warning now in this version ?
Thanks.