4 Replies Latest reply on Jan 19, 2008 11:43 PM by matt.drees

    @In reference a bit strange

    dhinojosa

      Anyone notice this with their app?

      If I inject with the #{} notation objects get created whether even if you specify create=false;

      @In(value="#{foo}", create=false)
      public void setFoo(Foo foo) {...} //Foo object gets created.
      


      If you don't inject with the #{} objects work great! But if the Foo object happens to be in the EVENT scope then you will non-null error issues during conversation or seesion timeout of the bean that depends on the event bean.

      @In(value="foo")
      public void setFoo(Foo foo) {...}
      


      Anybody