<jx:when test="${value1.equals('1') and not(value2.equals('2'))}/>
use and/or/not as operators (more on this at: http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL4.html#65865)
Kind Regards, Jan
oceatoon wrote:
pguillard wrote:
This might simply be a syntax problem Phil, once you're in a ${} you canHi,
Basic question but i can't find the answer: how to write a more complex test condition in JXT exprerssion
<jx:choose> <jx:when test="${value1=='1'} and ${value2=='2'}"> or <jx:when test="${value1=='1'} && ${value2=='2'}"> or <jx:when test="${value1=='1' && value2=='2'}">
Regards,
Phil
manipulate all jx variable from the context
I haven't tried this but don't see why it wouldn't run <jx:choose>
<jx:when test="${(value1=='1' && value2=='2') || (value1=='1' and
$value2=='2')} ">
...etc
Tibor
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]