2 Replies Latest reply on Jan 2, 2007 2:48 PM by supert24 supert24

    Use complex attributes the old style

    supert24 supert24 Newbie

      Hello,

      My Seam component named "CustomerWeb" defines an attribute

      @In(required=false)
      @Out(required=false)
      public LocalContactData localContactData_WEB_IN;
      

      , where LocalContactData is a seam component named "localContactData_WEB_IN". It is an entity bean, too.

      In my JSF page it is refered to as
      #{localContactData_WEB_IN}


      Now I want to rewrite it in the JSF-style way:

      public void setLocalContactData_WEB_IN(
       LocalContactData value) {
       localContactData_WEB_IN = value;
       }
      
       public LocalContactData getLocalContactData_WEB_IN() {
       return localContactData_WEB_IN;
       }


      But I get a javax.faces.el.PropertyNotFoundException Exception when
      reading it in a JSF page as

      #{CustomerWeb.localContactData_WEB_IN}


      Any idea?

      (I even have initialized localContactData_WEB_IN before, to have no NULL-caused error)