[jboss-cvs] jboss-seam/src/main/org/jboss/seam ...

Shane Bryzak sbryzak at redhat.com
Tue Nov 13 23:55:52 EST 2007


  User: sbryzak2
  Date: 07/11/13 23:55:52

  Modified:    src/main/org/jboss/seam  Component.java
  Log:
  pass the component instance to any create-event observers
  
  Revision  Changes    Path
  1.288     +1 -1      jboss-seam/src/main/org/jboss/seam/Component.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Component.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/Component.java,v
  retrieving revision 1.287
  retrieving revision 1.288
  diff -u -b -r1.287 -r1.288
  --- Component.java	12 Nov 2007 04:02:24 -0000	1.287
  +++ Component.java	14 Nov 2007 04:55:52 -0000	1.288
  @@ -1974,7 +1974,7 @@
         {
            getScope().getContext().set(name, instance); //put it in the context _before_ calling the create method
            callCreateMethod(instance);
  -         if ( Events.exists() ) Events.instance().raiseEvent("org.jboss.seam.postCreate." + name);
  +         if ( Events.exists() ) Events.instance().raiseEvent("org.jboss.seam.postCreate." + name, instance);
         }
   
         return instance;
  
  
  



More information about the jboss-cvs-commits mailing list