Hi all,
After long time, I´m upgrading my App to the newest Monorail, but I´m
facing a problem,
After change all the DLL´s and fix the errors from upgrade I got the
following message
ViewComponent 'BarraFerramenta' 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
In my View file I´ve this (I´m using NVelocity)
#component(BarraFerramenta with "itens=Meu Cadastro e
Pedidos,$siteroot/$LinkHelper.MakeUrl($Loja.Id.toString(),'seguro/myinfo','null')")
In my web.config I´ve this
<configSections>
<section name="monorail"
type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler,
Castle.MonoRail.Framework"/>
<section name="hibernate-configuration"
type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate"/>
</configSections>
<monorail useWindsorIntegration="false">
<controllers>
<assembly>Expressa.B2C</assembly>
</controllers>
<viewEngine viewPathRoot="Views"
customEngine="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine,
Castle.MonoRail.Framework.Views.NVelocity"/>
</monorail>
I really don´t know how to solve this, so anyone can give me a clue ?
My best regards,
Leonardo Lima
--
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.