Well since the dynamic action is portable maybe just the simpler way of returning the response as json...that's what i do. Another approach is to override the Process method in the base controller and handle it there I believe (it's been a while since I have done that).
On Mar 22, 7:34 am, Jan Limpens <[email protected]> wrote: > nope, not picked up either. > DynamicActionExecutor seems to have everything in place, though, so I > suppose, we just need to find out how it is done... > > > > On Mon, Mar 22, 2010 at 11:27 AM, Jan Limpens <[email protected]> wrote: > > Nope, at least at method level the returnbinder is not invoked. Such a > > shame... > > In the dynamic action case, it actually would make sense to put it at class > > level (though not invoked with the return: verb). > > > Maybe there is another way to hook this up? > > > --j > > > On Sun, Mar 21, 2010 at 11:56 PM, John Simons > > <[email protected]>wrote: > > >> I don't think so either. > >> But try and see what happens ;) > > >> ------------------------------ > >> *From:* Mike Nichols <[email protected]> > >> *To:* Castle Project Users <[email protected]> > >> *Sent:* Mon, 22 March, 2010 1:44:52 PM > >> *Subject:* Re: DynamicAction Execute result > > >> does decorating a dynamicaction .Execute() call with the > >> JSONREturnBinderAttribute get handled like that? I didn't think > >> decorating the Execute() call would get picked up by MR. > > >> On Mar 21, 3:20 pm, John Simons <[email protected]> wrote: > >> > You only need to return something if you are using a IReturnBinder such > >> as JSONReturnBinderAttribute, otherwise return null. > >> > Seehttp://hammett.castleproject.org/?p=247 > > >> > Cheers > >> > John > > >> > ________________________________ > >> > From: Jan Limpens <[email protected]> > >> > To: castle-project-users <[email protected]> > >> > Sent: Mon, 22 March, 2010 8:46:47 AM > >> > Subject: DynamicAction Execute result > > >> > public object Execute(IEngineContext engineContext, IController > >> controller, IControllerContext controllerContext) > > >> > what`s that return object supposed to be? > > >> > -- > >> > Jan > > >> > -- > >> > 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 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 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]<castle-project-users%[email protected]> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/castle-project-users?hl=en. > > > -- > > Jan > > -- > Jan -- 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.
