On Thu, 22 Apr 2010 15:20:13 -0300, Raul Raja Martinez
<raulr...@gmail.com> wrote:
Thanks Thiago, Makes sense,
What would be the right pattern If I have something like...
PageA
- Layout
- Button
Wouldn't it be
PageA
- Layout
- - Button
?
Image both Button and OtherButton are components and that Layout has a
Growl notification system.
I want the growl notification showing up a message when any ajax event
triggered by any component anywhere in the system needs to notify the
user of something.
Tapestry events are server-side, but you want something to happen
client-side, so use JavaScript to communicate to some object defined by
Layout. Ajax.Responders (http://www.prototypejs.org/api/ajax/responders)
will probably be very useful.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da
Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org