On 6/11/06, Craig Neuwirt <[EMAIL PROTECTED]> wrote: > I will probably commit something within the next few days because it can't > be worse than what happens know will postbacks and RenderViews as described > in the documentation.
I also think so. But maybe you should consider performing this changes on a new branch, or a new project in the SandBox. > I do have 1 question for you. To avoid unecessary processing in the > Controller during a PostBack, I want the controller to be able to determine > if it is a PostBack. I will probably use the fragment you sent me, but I am > wondering where to put it. Some ideas: MonoRailHttpHandler: you can isolate your change into a new service. Just like we have IControllerFactory, you could create another to isolate your changes on the way posts are processed. MonoRailHttpHandlerFactory: maybe you could write some code here that skips the entire MonoRail process when 'postbacking', and redirects the processing to the WebForms engine. Looks dangerous, but might give you some ideas. > My initial thought was to create a > PageController off SmartDispatcherController, but I am worried about all the > places the check for Controller and SmartDispatcherController. The main 2 > are the ControllerMetaDescriptor and the WizardStepPage. I guess you can refactor those hardcoded class tests into a test for a specific attribute, something like [InternalImplementationController]. -- Fábio David Batista [EMAIL PROTECTED] http://nerd-o-matic.blogspot.com _______________________________________________ CastleProject-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/castleproject-users
