try:

the ${var:step} step

On Tue, Jul 15, 2008 at 10:53 PM, Antonio Fernández - STAR Málaga <
[EMAIL PROTECTED]> wrote:

>
> 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
>
>
>
>
>


-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

Reply via email to