sorry again, but still the problem is not solved ! (1) In seam-examples the @Factory method is always used with @DataModel - that works perfect - but there is no example where you want to set values of a injected bean !
(2) Adding a @Create in the bean is possible, but it changes the applications behavior ! If I want to reuse the same bean in several controllers, everywhere the values would be initialized - that is not intended ... At the moment I stuck because of leck of understanding SeamObject-Constructor. Please correct me if I am wrong: There are two different kinds of "constructors" - @Factory and @Create. It seams, that @Factory is pushing the changes immediatelly out for usage in jsf but does not work with injected variables, and @Create won't push the changed variables to be used in jsf. I start asking myself, whether it is really needed to have two different kind of "constructors". Wouldn't it be much easier to have just @Create and do all initializations there at once - instead of calling several @Factory-Methods for each variable that needs to be initialized ? Currently if you have n-DataModel definitions you need to write [EMAIL PROTECTED] for initialization. I would prefer to use the @Create-Method (like in any object oriented language) and have all initializations done there. any thoughts about that are welcome ... thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928954#3928954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928954 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user