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 wrote: > On Fri, 18 Jul 2014 19:10:10 -0300, nn kk wrote: > >> Hi everyone, > > Hi! > >

Re: How to call onSuccess in components from page

2014-07-18 Thread Chris Mylonas
Relevant example & reading http://jumpstart.doublenegative.com.au/jumpstart/examples/component/eventbubbling http://tapestry.apache.org/component-events.html If model/flowchart, the page is at the top of the hierarchy, not the bottom. Think java not html. On Jul 19, 2014 9:17 AM, "Thiago H de P

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

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 c