Re: How to call onSuccess in components from page

2014-07-19 Thread Geoff Callender
What behaviour do you want your page to have? I'm asking because the approach that you describe below might not be the best way to go about it. On 19 Jul 2014, at 9:16 am, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Fri, 18 Jul 2014 19:10:10 -0300, nn kk inv...@abv.bg wrote:

How to call onSuccess in components from page

2014-07-18 Thread nn kk
Hi everyone, 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

Re: How to call onSuccess in components from page

2014-07-18 Thread Thiago H de Paula Figueiredo
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