Re: Inject dynamic number of components

2014-07-21 Thread Thiago H de Paula Figueiredo
On Mon, 21 Jul 2014 05:14:33 -0300, nn kk wrote: I have a form with many inputs, selects, etc, which I want to submit. Some of these inputs are in some custom components in order to reduce repeating code and to add some specific behavior visual as some dynamic css passed to the custom com

Re: Inject dynamic number of components

2014-07-21 Thread nn kk
I have a form with many inputs, selects, etc, which I want to submit. Some of these inputs are in some custom components in order to reduce repeating code and to add some specific behavior visual as some dynamic css passed to the custom components and functional as some of them are fileuploads

Re: Inject dynamic number of components

2014-07-18 Thread Dmitry Gusev
You need SubmitNotifier: http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/corelib/components/SubmitNotifier.html On Friday, July 18, 2014, nn kk 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: >

Re: Inject dynamic number of components

2014-07-18 Thread Thiago H de Paula Figueiredo
On Fri, 18 Jul 2014 19:42:26 -0300, nn kk wrote: Hi all, Hi! how can I inject and access dynamic number of custom components, I want to access them in the Java class. I have: I'm sorry, but your question doesn't even make sense, because Tapestry doesn't create components insta

Inject dynamic number of components

2014-07-18 Thread nn kk
Hi all, how can I inject and access dynamic number of custom components, I want to access them in the Java class. I have: 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 MyCus