On Fri, 25 Feb 2011 17:15:57 -0300, Josh Kamau <joshnet2...@gmail.com>
wrote:
1. Modal dialogs - Is there way of displaying modal dialogs in
tapestry. (I mean without directly using javascript libs such as jquery)
These modal dialogs are provided by JavaScript libraries. ChenilleKit
provides one Window component:
http://www.chenillekit.org/demo/tapcomp/windowdemo#
2. Ajax events - I have many text fields , checkboxes and dropdown lists
that trigger server side events when events such as onfocus, onchange or
onclick occours. The events cause the model on the serverside to be
updated, some serverside actions to be taken and some UI components to
be updated via ajax. Is there a way to do this in tapestry.
Yes! It's just not provided by Tapestry out-of-the-box yet. Search for
ZoneUpdater in this list and you'll see some examples of updating zones
after JavaScript events. To trigger a server side event in Tapestry,
@Inject ComponentResources and use its createEventLink() methos to
generate an Link instance. It represents an URL that triggers the given
event. You can pass more information easily by adding query parameters.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, 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