[jboss-user] [JBoss Seam] - Multiple JSF Components -> One field of Entity

Yacho do-not-reply at jboss.com
Sun Aug 26 08:51:10 EDT 2007


OK so i have a problem regarded to properity binding.
i Understand that JSF widgets values can only be bound to a entity fields.

Suppose i have entity bean called user - with lastname firstname and screen name.
Form lets you select screen name in 2 ways :
- Combo Box of combinations of the last and first name in diffreent ways.
- Custom screenname field.

Since there is only one entity field called screen name i cant bound 2 fields to one entity field. This problem seems to be kind of a common thing so i'd like to hear your suggestions about it.

PS.
Can i bind jsf widget to a session bean properity ? that would solve the problem... but seems quite nasty :/

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

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



More information about the jboss-user mailing list