This content has been marked as final.
Show 4 replies
-
1. Re: Multiple JSF Components -> One field of Entity
christian.bauer Aug 26, 2007 9:49 AM (in response to yacho)Can i bind jsf widget to a session bean properity ? that would solve the problem... but seems quite nasty :/
Of course and it's absolutely normal. -
2. Re: Multiple JSF Components -> One field of Entity
yacho Aug 26, 2007 10:02 AM (in response to yacho)OK so that leaves me with another question.
Suppose i havea form - i bind its values to a session bean then i filter the ones im really intrested in and distribute the data between the Entity beans ... is this a good practice ?
Since i bind values to session bean there's no automatic creation of Entity beans - i need to call new to create antites - and in that case - when do the validation occurs ? -
3. Re: Multiple JSF Components -> One field of Entity
christian.bauer Aug 26, 2007 10:53 AM (in response to yacho)You need to look at a few Seam tutorials and example applications...
-
4. Re: Multiple JSF Components -> One field of Entity
yacho Aug 26, 2007 12:43 PM (in response to yacho)wich ones in particular ? because in those mentioned in tutorial form values are bound to entity beans directly. I dont really know, when binding directly is a better idea than using session bean to hold data.