1 Reply Latest reply on Apr 26, 2007 5:51 PM by pmuir

    Creating a seam-managed bean without it being injected....

    nstoddar

      Is there a way to have a seam managed bean (regular POJO in my case) get created without it being immediately used (injected, or referenced in a value expression)?

      My problem is that I am initializing the bean using a request parameter. The request parameter disappears once the user gets redirected to the first page of my pageflow. The only thing I can think of is to have a separate bean handle the action method with it being injected. That seems a bit silly though -- creating a bean simply to cause the creation of another.

      Hopefully that makes sense...