Wow, your project looks cool :) but i can't really use it on my project :) i just need a small thing.
I'm going to read more Eventcontext Documentation ;) Thanks ! -----Message d'origine----- De : Dmitry Gusev [mailto:dmitry.gu...@gmail.com] Envoyé : mercredi 6 novembre 2013 15:48 À : Tapestry users Objet : Re: [T5.3] Philosophy of bubbling up, but how drop to the components ? Note, you can't bubble the event down using Environmental, but you can pass EventContext or some other value through it and consume this value from your child component on @AfterRender or some other event. I use Publisher service in one of my projects for similar purposes https://github.com/anjlab/anjlab-tapestry-commons/wiki/Publisher-API With this API you can bubble your event left or right or outside of component hierarchy or even to other page, by manually triggering this event 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! > > > 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 event, what's the actual Tapestry Strategy >> for it ? >> > > There's no way to directly bubble events down, but you can use the > Environmental service to pass information and probably store some > callbacks to be invoked later. That's how form field components work, for > example. > > What's your scenario? Knowing it we can help you find the best > solution. ;) > > > Sorry if my question is nooby :) >> > > It isn't. :) > > -- > 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 > > -- Dmitry Gusev AnjLab Team http://anjlab.com Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org