You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Erik Vullings <er...@gmail.com> on 2007/06/08 15:10:49 UTC

T5 Is there an AJAX Update DIV functionality?

Hi all,

When using AJAX before, I've often used the Ajax.Updater("DIVNAME",
"ActionURL", {  method : "get", etc. function.
In T5, we are using events, which I think is much neater (it also combines
well with my C# experience). However, I'm not sure how I can implement this
same functionality in T5.

For example, when the user clicks in the menu, I would like to
update/refresh an existing components on the page, or add a new component to
the page that wasn't there before. Say in a typical PIM (personal
information management) application, I could click on the menu to view the
contacts, which would show the navigational commands for contacts in the
navigation menu. When clicking on the add new contact in this menu, the body
would show the new contact form component.

Should I still use the same aproach, creating Ajax.updater requests in
javascript, or does T5 offer something more advanced?

Thanks
Erik