4 Replies Latest reply on Aug 8, 2008 8:31 AM by bashan

    Outjecting bean property

    bashan

      I know it may be a stupid question...


      I have a User entity bean which is created when user logs in the system. This entity bean is defined as session scope. I have a reset password page in which user enters email and reset password link is sent him. In this bean I do not use: @In to inject the user object since user may have not logged to the system yet. I simply define a private variable, in which I load the user according to the given email input field. But in the reset password action I am sending mail using Seam mail. In the mail xhtml file I want to use the user object. How do I outject the user object from my bean, so it will be recognize in the mail xhtml?


      Thanks,
      Guy.