This content has been marked as final.
Show 3 replies
-
1. Re: Request for @In: Don't inject null
liudan2005 Mar 14, 2006 6:10 AM (in response to newlukai)user @In(create=true)
-
2. Re: Request for @In: Don't inject null
newlukai Mar 14, 2006 7:15 AM (in response to newlukai)OK. Maybe I didn't explain it understandable.
I want a parameter to tell Seam not to overwrite existing fields. If I've a field in my component, which is not null and Seam doesn't find a value in its context for this field, I don't want Seam to overwrite my field with null. Seam should do nothing. -
3. Re: Request for @In: Don't inject null
gavin.king Mar 16, 2006 12:01 AM (in response to newlukai)Don't use injection. Use an ordinary lookup Contexts.getXXXContext().get("name") or Component.getInstance("name", true).