yes, it is registered and the actions are as well, but I think the
attribute/factory aren't (at least not per default), so it is newing up the
instance. I even had to create a default (parameterless) c'tor, otherwise it
would complain in an exception. This did not seem very Windsorey to me...
But I might be mistaken.

On Mon, Feb 22, 2010 at 9:00 PM, Mauricio Scheffer <
[email protected]> wrote:

> How are you registering it? IoC for dynamic actions was implemented
> almost two years ago:
> http://fisheye2.atlassian.com/changelog/castleproject/?cs=5053
>
> I haven't tried it but it looks like you have to register it without
> interface, i.e. just PluginActionProvider. See
>
> http://fisheye2.atlassian.com/browse/castleproject/MonoRail/trunk/src/Castle.MonoRail.WindsorExtension/WindsorDynamicActionProviderFactory.cs?r=6245
>
>
> On Feb 22, 8:29 pm, Jan Limpens <[email protected]> wrote:
> > I have this:
> >
> > [DynamicActionProvider(typeof(PluginActionProvider))]
> >     public abstract class BaseController : ControllerBase{...}
> >
> > how can I receive PluginActionBuilder from the container? It is
> registered
> > there, but it seems via the Attribute I get it as a fresh instance and
> not
> > resolved from the container...
> >
> > any ideas?
> > --
> > Jan
>
> --
> 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.
>
>


-- 
Jan

-- 
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.

Reply via email to