Hi, I am trying to get the wizard to use my routing rules. I am not
sure if what I am trying is possible or correct setup.

class ProductInputController ....

//Step 1 of 3
public class ProductCreateStep : WizardStepPage
    {
        protected override void RenderWizardView()
        {
            RenderView("create-product");
        }




        public void Submit()
        {
            .............
            DoNavigate();
        }
}

My routing rule is
rules.Add(      new PatternRoute("create-product", "/product/new")
                    .DefaultForArea().IsEmpty
                    .DefaultForController().Is("ProductInputController
")
                    .DefaultForAction().Is("start"));

When I invoke /product/new it initializes the wizard but it shows up
in browser with the controller name prepended. Is there a way to stop
this - I tried to override the ActionName method with /product/new but
it always puts prepends the controller name.

Thanks

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