I don't entirely understand the problem... you mean SetController() in the
helpers is not being called when you expect it? Can you post some code?

--
Mauricio



On Fri, May 13, 2011 at 1:57 PM, Богдан <[email protected]> wrote:

> any ideas....
>
> need this very much.....please
>
> On May 12, 7:21 pm, Богдан <[email protected]> wrote:
> > I'm working on web site migration from .net framework 1.1 to 4. On Old
> > version there was user Castle.CastleOnRails dll's, so I decided to
> > migrate to Castle.MonoRails and than all fun begun. At old version
> > there was a method SetController it is in new version but a bit
> > modified. The problem is that it is calling this method after
> > Contoller action finished work, the old version called this method(in
> > code behind). And so my question is what I'm doing wrong?
> >
> > web config is following
> >
> >         <configSections>
> >     <section name="monorail"
> > type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler,
> > Castle.MonoRail.Framework" />
> >     <section name="nlog" type="NLog.Config.ConfigSectionHandler,
> > NLog" />
> >         </configSections>
> >   <monorail>
> >     <controllers>
> >       <assembly>TheraSimplicity.Web</assembly>
> >     </controllers>
> >     <viewEngine viewPathRoot="Views"></viewEngine>
> >   </monorail>
> > <system.web>
> >     <httpHandlers>
> >       <add verb="*" path="*.rails"
> > type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory,
> > Castle.MonoRail.Framework" />
> >     </httpHandlers>
> > </system.web>
> >
> > if it is needed i call show code behind just tell what you need to see
>
> --
> 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.
>
>

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