You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Joel Halbert <jo...@su3analytics.com> on 2010/06/20 18:24:23 UTC
t:loop - callbak before each iteration?
Hi,
When using t:loop is there a method we can declare on the component that
Tapestry will call before each iteration ?
or is there another way to do this....
Joel
Re: t:loop - callbak before each iteration?
Posted by Joel Halbert <jo...@su3analytics.com>.
Of course, thanks!
J
On 20/06/10 17:34, Thiago H. de Paula Figueiredo wrote:
> On Sun, 20 Jun 2010 13:24:23 -0300, Joel Halbert
> <jo...@su3analytics.com> wrote:
>
>> Hi,
>
> Hi!
>
>> When using t:loop is there a method we can declare on the component
>> that Tapestry will call before each iteration ?
>> or is there another way to do this....
>
> Use a getter/setter pair in the value parameter. In the setter, do
> whatever you want to happen before any iteration.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: t:loop - callbak before each iteration?
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Sun, 20 Jun 2010 13:24:23 -0300, Joel Halbert <jo...@su3analytics.com>
wrote:
> Hi,
Hi!
> When using t:loop is there a method we can declare on the component that
> Tapestry will call before each iteration ?
> or is there another way to do this....
Use a getter/setter pair in the value parameter. In the setter, do
whatever you want to happen before any iteration.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org