C# Class Castle.MonoRail.ActiveRecordScaffold.CreateAction

Performs the inclusion
Searchs for a template named create{name}
Inheritance: AbstractScaffoldAction
Mostra file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
CreateAction ( Type modelType, ITemplateEngine templateEngine, bool useModelName, bool useDefaultLayout ) : System

Protected Methods

Method Description
ComputeTemplateName ( Controller controller ) : string
PerformActionProcess ( Controller controller ) : void
RenderStandardHtml ( Controller controller ) : void

Method Details

ComputeTemplateName() protected method

protected ComputeTemplateName ( Controller controller ) : string
controller Castle.MonoRail.Framework.Controller
return string

CreateAction() public method

public CreateAction ( Type modelType, ITemplateEngine templateEngine, bool useModelName, bool useDefaultLayout ) : System
modelType System.Type
templateEngine ITemplateEngine
useModelName bool
useDefaultLayout bool
return System

PerformActionProcess() protected method

protected PerformActionProcess ( Controller controller ) : void
controller Castle.MonoRail.Framework.Controller
return void

RenderStandardHtml() protected method

protected RenderStandardHtml ( Controller controller ) : void
controller Castle.MonoRail.Framework.Controller
return void