How will add global variable in velocity template html so that global variable to reset to initial values

222 Views Asked by At

Example: Initial currentpageNo is 1 in velocity context.

set($currentpageNo=$currentpageNo+1)

$currentpageNo

For each page

Current page value is 2

But require is it should increase.

Please let me know if there is any possiable way

0

There are 0 best solutions below