Menu

Correct condition syntax - groovy

Help
Anonymous
2011-11-11
2012-09-04
  • Anonymous

    Anonymous - 2011-11-11

    Hello

    I have problems with the syntax in the condtion strings. Is there any
    documentation available ?

    I am using groovy, if I set the variable nbParams what would be the correct
    syntax in a while loop ? (The following generate the error La valeur de
    l'attribut "condition" associé à un type d'élément "null" ne doit pas contenir
    le caractère '<'
    )

    <while condition="${idx.toInt() <= nbParams.toInt()}" index="idx">
    

    Thank's

     
  • Alex Wajda

    Alex Wajda - 2011-11-17

    Use < instead of <. It's XML, so you should follow the XML syntax
    rules.

     

Log in to post a comment.