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