You need SubmitNotifier:

http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/corelib/components/SubmitNotifier.html

On Friday, July 18, 2014, nn kk <inv...@abv.bg> wrote:

>  Hi all,
> how can I inject and access dynamic number of custom components, I want to
> access them in the Java class.
> I have:
> <loop>
>     <t:myCustomComponent/>
> </loop>
>
> I want to access these components as they are injected and to execute in
> the onSuccess for everyone of them some method as if it is a single
> component:
>
> @inject
> MyCustomComponent component;
>
> void onSuccess() {
>    component.method();
> }
>
> I want to the the same for dynamic number of components, created by the
> loop
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> <javascript:;>
> For additional commands, e-mail: users-h...@tapestry.apache.org
> <javascript:;>
>
>

-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to