Try it like this (with the "Component"):
#blockcomponent(Security with "role=admins")
Truth,
James
2011/1/31 Héctor Rojas <[email protected]>
> Last days I've had the same problem with SecurityComponent after
> upgrade to MonoRail 2.1 beta. In the view i have this:
>
> #blockcomponent(SecurityComponent with "role=admins")
>
> I've googled but i don't find anything useful.
>
> Any idea? Thanks very much
>
>
>
>
> On Jan 31, 5:39 am, saltcode <[email protected]> wrote:
> > Hi,
> >
> > I upgraded ma web app to the beta version of monorail and it throws
> > the exception ,
> >
> > ViewComponent 'CurrencyConverterComponent' could not be found. Was it
> > registered? If you have enabled Windsor Integration, then it's likely
> > that you have forgot to register the view component as a Windsor
> > component. If you are sure you did it, then make sure the name used is
> > the component id or the key passed to ViewComponentDetailsAttribute
> >
> > I am not using castle windsor to register components.
>
> --
> 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.