Created
November 24, 2011 19:43
-
-
Save wesleyvicthor/1392133 to your computer and use it in GitHub Desktop.
twig array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if cases_list.ProcessInstance is defined %} | |
{% for case in cases_list.ProcessInstance %} | |
{% for activity in case.activities.children() %} | |
<tr> | |
{% for variable in case.clientVariables.children() %} | |
{% for data in variable.xpath('string[2]') %} | |
<td>{{ data }}</td> | |
{% endfor %} | |
{% endfor %} | |
<td><a href="{{ cloud_link_address }}{{ activity.uuid.value }}" target="_blank">{{ activity.name }}</a></td> | |
<td>#</td> | |
</tr> | |
{% endfor %} | |
{% endfor %} | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ao inves de ter uma iteração com o retorno do xpath(), não tem como pegar o current() do array retornado ?