0 Replies Latest reply on Oct 13, 2008 7:10 AM by karthik s d

    jboss-seam-2.0.1.GA - In-built component facesMessages not created

    karthik s d Newbie
      I have the below code in my application

      @Name("claiminvitationcodeaction")
      public class ClaimInvitationCodeAction {
          @In
          FacesMessages facesMessages

      }

      The above code works fine in jboss-seam-1.2.1.GA.Then I tried  migrating the applciation to jboss-seam-2.0.1.GA and got the below error message

      ERROR MESSAGE:
      In attribute requires non-null value: claiminvitationcodeaction.facesMessages

      It seems the in-built facesMessages component is not getting created or binded.

      Note:
      In the jboss-seam-1.2.1.GA  the component.xml file inside the jboss-seam.jar has the below line

      <factory scope="stateless" auto-create="true" name="facesMessages" value="#{org.jboss.seam.core.facesMessages}">

      but this lines are missing in the jboss-seam-2.0.1.GA's component.xml

      Is that bug in jboss2.0.1?