How are you using this in your views? Could we see an example?

On Fri, Nov 7, 2008 at 7:31 PM, M Kenyon II <[EMAIL PROTECTED]> wrote:

>
> I'm not sure what I did. I didn't think I was using anything with
> Windosr in this monorail project. The project has .aspx and .rails
> pages. The .aspx pages work, but the .rails pages give me this error:
> Server Error in '/IntranetApps' Application.
>
> --------------------------------------------------------------------------------
>
> ViewComponent 'CaptureForComponent' 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
> Description: An unhandled exception occurred during the execution of
> the current web request. Please review the stack trace for more
> information about the error and where it originated in the code.
>
> Exception Details: Castle.MonoRail.Framework.RailsException:
> ViewComponent 'CaptureForComponent' 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
>
> Source Error:
>
> An unhandled exception was generated during the execution of the
> current web request. Information regarding the origin and location of
> the exception can be identified using the exception stack trace
> below.
>
> Stack Trace:
>
>
> [RailsException: ViewComponent 'CaptureForComponent' 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]
>
>
> Castle.MonoRail.Framework.Services.DefaultViewComponentRegistry.GetViewComponent(String
> name) +107
>
>
> Castle.MonoRail.Framework.Services.AbstractViewComponentFactory.ResolveType(String
> name) +108
>
>
> Castle.MonoRail.Framework.Services.AbstractViewComponentFactory.Create(String
> name) +60
>   INDEX_BrailView.Run() +457
>   Castle.MonoRail.Views.Brail.BooViewEngine.Process(TextWriter
> output, IRailsEngineContext context, Controller controller, String
> templateName) +277
>
> Castle.MonoRail.Views.Brail.BooViewEngine.Process(IRailsEngineContext
> context, Controller controller, String templateName) +61
>
>
> Castle.MonoRail.Framework.Services.DefaultViewEngineManager.Process(IRailsEngineContext
> context, Controller controller, String templateName) +176
>   Castle.MonoRail.Framework.ControllerLifecycleExecutor.ProcessView()
> +52
>
>
> Castle.MonoRail.Framework.ControllerLifecycleExecutor.ProcessSelectedAction(IDictionary
> actionArgs) +771
>
>
> Castle.MonoRail.Framework.ControllerLifecycleExecutor.ProcessSelectedAction()
> +26
>
> Castle.MonoRail.Framework.MonoRailHttpHandler.Process(IRailsEngineContext
> context) +494
>
> Castle.MonoRail.Framework.MonoRailHttpHandler.ProcessRequest(HttpContext
> context) +43
>
>
> System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
> +358
>   System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
> Boolean& completedSynchronously) +64
>
>
>
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:2.0.50727.1433;
> ASP.NET Version:2.0.50727.1433
>
> >
>

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