0 Replies Latest reply on Aug 30, 2007 10:07 AM by damianharvey

    Unrelated constructors being called

    damianharvey

      We've been having some problems with Seam and Ajax4JSF lately that result in data on the page being lost (similar to this
      http://jira.jboss.com/jira/browse/JBSEAM-1832?page=comments#action_12374369)

      As a consequence we have been putting constructors in many of our home classes (that extend EntityHome) so we can see what might be going on:

      public RateRequestLineItemHome() {
       super();
       System.out.println("*********** RateRequestLineItemHome Constructor ***********");
      }

      We are then seeing these constructors fired on seemingly unconnected pages - ie. no references to the object from the page, page.xml, object itself; etc.

      Is this just normal operation of the Seam framework or is there something that I am missing?

      Many thanks,

      Damian.