Yup, that was it.

Thanks Hammett.

Symon Rottem
http://blog.symbiotic-development.com


On Sat, Dec 27, 2008 at 8:17 PM, hammett <[email protected]> wrote:

>
> You got conflicting versions of NVelocity.dll and
> MonoRail.NVelocityViewEngine assemblies. Delete all asseblies and pull
> the assemblies from a fresh build
>
> On Sat, Dec 27, 2008 at 5:59 AM, Symon Rottem <[email protected]> wrote:
> >
> > I seem to be having a strange problem when using any #component or
> > #blockcomponent directive in Monorail when using the NVelocity view
> > engine - I get the following exception:
> >
> > [MissingFieldException: Field not found:
> > 'NVelocity.Runtime.Directive.Directive.runtimeServices'.]
> >
> >
> Castle.MonoRail.Framework.Views.NVelocity.CustomDirectives.AbstractComponentDirective.Render
> > (IInternalContextAdapter context, TextWriter writer, INode node) +0
> >   NVelocity.Runtime.Parser.Node.ASTDirective.Render
> > (IInternalContextAdapter context, TextWriter writer) +45
> >   NVelocity.Runtime.Parser.Node.SimpleNode.Render
> > (IInternalContextAdapter context, TextWriter writer) +71
> >   NVelocity.Template.Merge(IContext context, TextWriter writer) +189
> >
> > Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine.Process
> > (String viewName, TextWriter output, IEngineContext context,
> > IController controller, IControllerContext controllerContext) +443
> >   Castle.MonoRail.Framework.Services.DefaultViewEngineManager.Process
> > (String templateName, TextWriter output, IEngineContext context,
> > IController controller, IControllerContext controllerContext) +187
> >   Castle.MonoRail.Framework.Controller.ProcessView() +87
> >   Castle.MonoRail.Framework.Controller.RunActionAndRenderView() +1825
> >   Castle.MonoRail.Framework.Controller.Process(IEngineContext
> > engineContext, IControllerContext context) +52
> >   Castle.MonoRail.Framework.BaseHttpHandler.Process(HttpContext
> > context) +130
> >
> > I'm also using Windsor integration - has anyone seen this problem
> > before or is it just me?
> >
> > Symon.
> >
> > >
> >
>
>
>
> --
> Cheers,
> hammett
> http://hammett.castleproject.org/
>
> >
>

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