1 Reply Latest reply on Nov 7, 2008 4:16 AM by Todd Gould

    Component @Fatory not firing after upgrade to 2.1.0.SP1 from 2.0.1.GA

    Todd Gould Newbie

      Hello.


      I have a simple (I'm still quite new to Seam) application that was working with 2.0.1.GA.  Upon updating to 2.1.0.SP1, my @Factory method no longer appears to be firing.....


      My component that has the @Factory method is recognized installed during app deployment....



      20:20:55,843 INFO  [Component] Component: eventsController, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class:
      



      The factory method has this signature:


      @Factory( "events" )
       public List<IManagedEvent> getEvents()
      



      The problem occurs when my facelet attempts to reference the #{events} as part of a <rich:datatable> ...  The @Factory no longer fires and subsequent <rich:column> references to the IManagedEvent interface fail as follows (notice that they are no longer interpreted as IManagedEvents....)


      Caused by: javax.el.PropertyNotFoundException: /pages/index.xhtml @111,54 value="#{event.criticality}": Property 'criticality' not found on type org.jboss.seam.core.Events
      



      This all worked fine before the upgrade.  I'm sure I'm missing something simple, but not sure where to look or start.


      TIA!