[jboss-user] [JBoss Seam] - Re: Multiple POJO Custom JSF DataTable

petemuir do-not-reply at jboss.com
Fri Oct 6 12:06:38 EDT 2006


Very simple.

public class Person {
  | 
  | 
  | House house;
  | 
  | // more fields, getters and setters for house
  | }
  | 
  | public class CD {
  | 
  | String number;
  | String road;
  | 
  | // etc.
  | }
  | 
  | #{person.house.road}

If Person had been outjected.  More generally you can traverse associations on an object graph.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976633#3976633

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976633



More information about the jboss-user mailing list