1) I´m trying with a basic example of the loop binding:

... the template ...@
<ul>
  <li t:type="Loop" source="loop:0,10,2" value="var:step">
      the ${step} step
  </li>
</ul>


2) I´m getting the following error:

Could not convert 'step' into a component parameter binding: Class
com.star.tapestry.pages.T5Components does not contain a property named
'step'


3) I tried to fix it declaring a property on the class:

@Property
private int step;

And the result :

  * the 0 step
  * the 0 step
  * the 0 step
  * the 0 step
  * the 0 step
  * the 0 step

So, the Loop executes six times, and that´s correct,
but i think that the "var:step" is not "detected".



Greetings & Have a nice day ,
Passi




Reply via email to