The event handler has to be set up before any component registration (including xml registrations). Or you can go the CM contributor way as Krzysztof explained.
On Wed, Jul 7, 2010 at 9:31 AM, joniba <[email protected]> wrote: > Yes, right after creating the container (from an xml file), before any > resolve calls are made. > > On Jul 4, 6:17 pm, Mauricio Scheffer <[email protected]> > wrote: > > Are you registering this event handler *before* any component > registration? > > > > On Sun, Jul 4, 2010 at 11:58 AM, joniba <[email protected]> wrote: > > > I'm trying to change the default lifestyle used by the container as > > > per the post: > > > > >http://devlicio.us/blogs/tuna_toksoz/archive/2009/08/06/making-transi. > .. > > > . > > > > > However, the event is not fire and I'm still getting singletons as the > > > defaults. Does anyone know of a way that works for changing the > > > default lifestyle? > > > > > Thanks > > > Joni > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Castle Project Users" group. > > > To post to this group, send email to > [email protected] > > > . > > > To unsubscribe from this group, send email to > > > [email protected]<castle-project-users%[email protected]> > <castle-project-users%[email protected]<castle-project-users%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/castle-project-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Users" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to > [email protected]<castle-project-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/castle-project-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
