8 Replies Latest reply on Apr 12, 2010 11:06 PM by Nicklas Karlsson

    Nullable conversation scoped component

    B Tomic Newbie

      I was wondering how would one implement the following scenario in CDI.
      There's a conversation scoped object of type Item that represents a currently selected item. This object is supposed to be injected at multiple point in other classes and is also referenced on a page. It is allowed to be null signifying that no item is selected at the moment.
      I have no clue how to do this without outjection as conversation scoped objects are not nullable and dependent are not unique during the conversation...