[Logo] Mentawai Recipes
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Moderation Log] Moderation Log   [Register] Register / 
[Login] Login 
Ajax update area  XML
Forum Index » Official Recipes
Author Message
robertwgil



Joined: 11/01/2008 15:09:14
Messages: 5
Offline

Action:

ApplicationManager:

JSP:
robertwgil



Joined: 11/01/2008 15:09:14
Messages: 5
Offline

With MentaAjax 2.0 you can use some conventions:

Action:

ApplicationManager:

JSP:

With MentaAjax 2.0 you dont need to write a callback function for innerHTML operations. It gets the string "stringHere" after "innerHTML" specified on the innerAction as the id of html element to place the response.

r.setUrl("TestAction.innerHTMLstringHere.mtw");

innerHTML: Says to MentaAjax that you can place the response with html code in any container.
stringHere: It is the id of container that MentaAjax will place the html code.

 
Forum Index » Official Recipes
Go to:   
Powered by JForum 2.1.8 © JForum Team