1 Reply Latest reply on Dec 18, 2010 8:06 PM by andrewwheeler

    Can only Entitys @In and @out?

    kaimattern

      Im totally new to seam so Im sorry if my question is dump.


      I have a tree bean (loading employees from a database) and a another picture bean (loading a pic from a database to a byte array).


      What I want is, that the selected Tree employee is shown from the picture bean. The selector is a String with the personnel number of the selected person in the tree bean.


      I tried a lot of @In and @out but nthing worked. I got null errors.


      My Question is, is it possible the inject a String from bean a to bean b without a Entity class?


      Best regards,
      Isaac

        • 1. Re: Can only Entitys @In and @out?
          andrewwheeler

          I'm guessing you have posted this to the wrong forum as @In and @Out annotations are from seam 2. In brief to answer your question - yes it is possible to outject/inject any class (String, Long etc) from a managed bean. I suggest you read the tutorials for seam 2 they are a good place to start.