@{ int i = 0; } @helper Text() { }
i is not accessible in helper. How to acce
i
You can simply add it as member to you page by using @functions declaration:
@functions { private int i; }