`import models.japidsample.*
`args List<Post> posts

*{ 
	currently the invoke tag cannot use a none-final local variable as part the parameters. 
	an intermediate final variable should be used to transfer the value.
 }*

`for (int i = 0; i < 3;i++) {
	`final int j = i;
	#{invoke Application.echo(j) /}
`}
<p/>
*{ now for object type in short for loop}*

`for (final Post p : posts) {
    another notation for invoking actions:  
    `invoke Application.echoPost(p)
`}
