[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 List of Beans and Relationships.  XML
Forum Index » Official Recipes
Author Message
robertwgil



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

On MentaAjax 2.0 and above

Example with List of Beans and Relationships.

People.class

Address.class

Action:

ApplicationManager:

The int parameter on JSONGenericRenderer(1) , says to renderer that you want to load one relantionship.

JSP:

The line 17 is optional, if you dont specify the onSuccess method, the convention is to call a function with the same name of innerAction. In this axample the innerAction is TestAction.getListBean.mtw

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