i think that the 'and' operator (lower case) does work also :
<j:if test =${cond1 and cond2}">...</j:if>
-- gd
Nicolas De Loof wrote:
Sorry, it works with &&
I got some errors elsewhere.
Nico.
----- Original Message ----- From: "Nicolas De Loof" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Monday, January 05, 2004 4:49 PM
Subject: jelly expression
I'm writing a maven plugin, and I need in the jelly script to test two variables to be empty :
<j:if test="${empty(var1) && empty(var2)}"> ...
But I need to escape the "&". If I use "&" it doesn't works.
How can I set an AND operator in jelly expression language ?
Nico.
---------------------------------------------------------------------
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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
