Thanks, but i have exception: [jmln-test-vm] Jun 21, 2005 5:14:40 PM org.apache.commons.jelly.expression.jexl.JexlExpression evaluate [jmln-test-vm] WARNING: Caught exception evaluating: [EMAIL PROTECTED] Reason: java.lang.Exception: Invalid comparison : LT [jmln-test-vm] java.lang.Exception: Invalid comparison : LT [jmln-test-vm] at org.apache.commons.jexl.parser.ASTLTNode.value(ASTLTNode.java:105)
On 6/21/05, Marc DEXET <[EMAIL PROTECTED]> wrote: > > > -----Message d'origine----- > > De : Pavel Reich [mailto:[EMAIL PROTECTED] > > Envoyé : mardi 21 juin 2005 14:59 > > À : [email protected] > > Objet : jelly core:while > > > > > > Some questions regarding > > http://jakarta.apache.org/commons/jelly/ project. > > I use jelly for jameleon tests. > > Does anybody know, how to organize loop with core:while? > > For example, count from 1 to 10 and print it. > > http://jakarta.apache.org/commons/jelly/tags.html documentation is > > very short and haven't any examples. > > <j:jelly xmlns:j="jelly:core"> > <j:set var="c" value="0"/> > <j:while test="${c lt 10}"> > I'am equal to ${c} > <j:set var="c" value="${c+1}"/> > </j:while> > </j:jelly> > > Direct from my left neuron (right is sleeping). > It would be correct. > > -- > Marc DeXeT > CNRS/DSI/BEST > <http://www.dsi.cnrs.fr> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
