[jboss-user] [JBoss Seam] - Is it possible to have two datamodels on the same class?

magoicochea do-not-reply at jboss.com
Thu Oct 25 11:56:47 EDT 2007


I have a page where I have to display two different tables. One has to have the Main Customers and the Other the affiliates of the customers. Both are saved under the customer table on the database and are linked by a field called "main_customer_id", if it is the same than "customer_id" it is a Main Customer, otherwise it's an affiliate.

So can I have two @DataModel annotations on the same manager class and two @DataModelSelection or I would have to create a manager class for each table?


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

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



More information about the jboss-user mailing list