RE: [T5.3] How to submit a form in a sub component and have a callback ?

2013-11-20 Thread Hottois Ludwig
hurry so I 'll write short... Have you looked for information on submitNotifier? it's like a pub/sub on the submit event, take a look. cheers Nicolás.- On Wed, Nov 20, 2013 at 12:22 PM, Hottois Ludwig < ludwig.hott...@worldline.com> wrote: > Hi everyone ! > > > &g

[T5.3] How to submit a form in a sub component and have a callback ?

2013-11-20 Thread Hottois Ludwig
Hi everyone ! I'm surprised, but after some search in the mail archives, it seems that nobody had asked this kind of question I've a form in a sub component (itself in a sub component), and i have to validate and submit my form via a click on a button located in my page. I've tried a lot o

RE: [T5.3] Philosophy of bubbling up, but how drop to the components ?

2013-11-07 Thread Hottois Ludwig
>It's not a callback. :) Actually, it's quite simple: it replaces the field by >a call to Request.getParameter(), and replacing the field by a method call is >something that Tapestry and Tapestry-IoC provides and it's easy to use. Yeah but inside the worker i remember they use some callbacks... i

RE: [T5.3] Philosophy of bubbling up, but how drop to the components ?

2013-11-06 Thread Hottois Ludwig
nt once again using publisher API. On Wed, Nov 6, 2013 at 6:33 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 06 Nov 2013 11:55:25 -0200, Hottois Ludwig < > ludwig.hott...@worldline.com> wrote: > > Hi everyone ! >> > > Hi! > >

RE: [T5.3] Philosophy of bubbling up, but how drop to the components ?

2013-11-06 Thread Hottois Ludwig
d, 06 Nov 2013 11:55:25 -0200, Hottois Ludwig wrote: > Hi everyone ! Hi! > I was asking myself about event bubbling. > > The actual philosophy is about trigger an event by the bubble up > technic into components, so the parents components/page could catch the event. > > Bu

[T5.3] Philosophy of bubbling up, but how drop to the components ?

2013-11-06 Thread Hottois Ludwig
Hi everyone ! I was asking myself about event bubbling. The actual philosophy is about trigger an event by the bubble up technic into components, so the parents components/page could catch the event. But if i want to trigger the event bubbling < down > , so my child components could catch the

RE: How to correctly cut form into reusable parts

2013-11-04 Thread Hottois Ludwig
ld, getMessages().get("country-required")); return; } // Modify the bean with derived values. myBean.setCountryCode(countryCode); } } Cheers, Geoff On 01/11/2013, at 3:14 AM, Hottois Ludwig wrote: > Hi

How to correctly cut form into reusable parts

2013-10-31 Thread Hottois Ludwig
Hi everyone ! I was asking myself during a long time how to correctly create a form for create a user, but in this form, i want include a part wich is a form for create an address. I was thinking first about putting this part of the form, which is created for instruct informations about the us