This is just an idea 

public class UserDetails {

        public UserDetails( Person person, Event event, Mail mail ) {

                // here you use the properties you need

                this.firstName = person.getFirstName();
                this.xxx = event.getXXX();
                .....
        }

}

And by the way you keep the bean population in you business layer.

François

Le 12 avr. 2012 à 17:33, myrz a écrit :

> Thanks François for your reply.
> 
> But my real question is. "UserDetails" is it a bean that you created "by
> hand"?
> How do you populate it?
> 
> Thanks again
> 
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Conception-question-about-mixed-entities-and-model-tp4551789p4552250.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to