[jboss-user] [JBoss Seam] - Re: convertEntity with non-Id key?

nickarls do-not-reply at jboss.com
Tue Aug 7 15:35:19 EDT 2007


I raised 

http://jira.jboss.com/jira/browse/JBSEAM-1768

for it. Besides legacy databases it is useful for us when some entities goes between systems where the ID has no meaning and the relation has to be "denormalized" to something that the recieving end understands.

Sure, you could probably do a converter function in the backing bean that would convert a list of entities to a list of SelectItem:s with reflection based on a property name but adding full EL support to it could be a little hairy. Of course, there are probably utility classes for it in Seam but if it goes into the jsf tag it would probably be cleaner.


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

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



More information about the jboss-user mailing list