Hello, might some of you enlight my path to redemption?
I tried to use this inside a jsp:
<c:choose>
<c:when test="${1==1}">
<html-el:select
property="actionParameters(${parameter.key}).value">
<html-el:option value="true"/>
<html-el:option value="false"/>
</html-el:select>
</c:when>
<c:otherwise>
non boolean.... <html-el:text
property="actionParameters(${parameter.key}).value"/>
</c:otherwise>
</c:choose>
strange enough, i always end in the otherwise part :/ (note, c:
correspond to jstl/core as
struts don't have a switch case in the logic taglib)
To simplify the debugging i put this inside my jsp:
<c:if test="${1==1}">1==1 yes</c:if>
Test is evaluated as false! Now am sure, am in the twilight zone.
But this success:
<c:if test="true">true is true</c:if>
jstl/core test parameter are supposed to accept EL evaluated parameter.
But i can't understand why
mine are failing, considering i have another webapp where things like that:
<c:if test="${param.mode=='list'}">
works perfectly as requested !!!
Does someone have any idea why jstl/core would fail like that???
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]