This content has been marked as final.
Show 4 replies
-
1. Re: Exchange Objects between Seam Components
danielc.roth Feb 5, 2009 7:09 PM (in response to those.thomas.selner.noegkk.at)Maybe like this?
@Name("a") @Scope(SESSION) public class A { private CustomObject obj; // .. getters/setters } @Name("b") @Scope(PAGE) public class B { public void setCustomObjectToA(CustomObject co) { Component.getInstance("a",SESSION).setObj(co); } }
-
2. Re: Exchange Objects between Seam Components
those.thomas.selner.noegkk.at Feb 6, 2009 1:43 PM (in response to those.thomas.selner.noegkk.at)IT WORKS!
Thank you, Daniel. You saved my Day :-)
-
3. Re: Exchange Objects between Seam Components
danielc.roth Feb 7, 2009 10:09 PM (in response to those.thomas.selner.noegkk.at)But of course it does :-)
-
4. Re: Exchange Objects between Seam Components
kukeltje.ronald.jbpm.org Feb 8, 2009 1:37 AM (in response to those.thomas.selner.noegkk.at)why not normally injecting it? or did I miss something?