0 Replies Latest reply on Feb 16, 2009 10:07 AM by bronk horst

    scope of the referenced object

    bronk horst Newbie

      Hi,

      i`ve got a problem with my managed-beans. Im using several beans, all registrated in faces-config under<managed-bean-scope>session. One Bean named "draw" uses the property userName.

      When im launching my application, following error occurs: The scope of the referenced object: #{tour2plan.userName} is shorter than the referring object

      Does someone see the my error?

      <managed-bean>
       <managed-bean-name>tour2plan</managed-bean-name>
       <managed-bean-class>com.e2e.portal.ta.planning.beans.TourBean</managed-bean-class>
       <managed-bean-scope>session</managed-bean-scope>
       </managed-bean>
      
       </managed-bean>
       <managed-bean>
       <managed-bean-name>draw</managed-bean-name>
       <managed-bean-class>com.e2e.portal.ta.result.beans.PlanningDrawBean</managed-bean-class>
       <managed-bean-scope>session</managed-bean-scope>
      
       <managed-property>
       <property-name>userName</property-name>
       <value>#{tour2plan.userName}</value>
       </managed-property>
      
       </managed-bean>
      


      Thanx a lot, lg schlumsch