inline iterator

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

inline iterator

Hello to all,

I have a case where i want to put generated PLSQL code on a html pre tag which uses the SyntaxHighlighter plugin.

The objective is to generate several plsql functions according with a list of data passed to the template.

By reading the Thymeleaf documentation i could not check if Thymeleaf is able to create inline text inside a loop. With Thymeleaf how can we generate a list of data inside a <pre> tag ?

[[begin each=data : ${dataList}]]


[[end each]]


João Reis
Reply | Threaded
Open this post in threaded view

Re: inline iterator

I'm sorry, but I'm afraid you cannot use Thymeleaf standard processors in that way.

Inside the [[...]] you only can use expression language syntax.