On Fri, 18 Jul 2014 19:10:10 -0300, nn kk <inv...@abv.bg> wrote:

Hi everyone,

Hi!

Remember that events bubble up: from the component that triggered it to its parent and so on until it reachs the page. So, if your components are inside a form, the form events won't be triggered on these components. Why your components need to know when the form is submitted?

I have a page with a couple of custom components in it, most of them are containing different inputs. In the page after all components I have submit button. By pressing the submit button I want to execute different things in the components. I thought the onSuccess methods in the components will be called, but they are not. I want to call some methods from the components but I can not access them, because these components are not injected in my java class, they are only injected in the tml file as markup, because it's being done inside a loop, they are dynamic number. Is there a way to fire event from the page and to be caught in the components? I saw only the onValidate is called everywhere, but onSuccess, onSubmit, etc. - not

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to