1 Reply Latest reply on Jun 5, 2007 9:26 AM by Ronald van Kuijk

    help with jpdl el needed

    Alexander Schlett Newbie

      hi, I'd need a little help with this one:
      I'd like to print all comments of a node in an email template, like this:

      <mail-templates>
       <mail-template name="error-report">
       <subject>Error in process '#{processDefinition.name}'</subject>
       <text>
      Process: #{processDefinition.name} id = #{processInstance.id}
      
      Variables:
      #{contextInstance.variables}
      
      Comments:
      #{token.comments}
       </text>
       </mail-template>
      </mail-templates>
      


      now how to express to print all elements of "token.comments"? in JSP you could do a "foreach", but how in jpdl? thanks for any kind of help,
      alex