C# Class Castle.MonoRail.ActiveRecordScaffold.ConfirmRemoveAction

Displays a confirmation message before performing the removal of the instance
Searchs for a template named confirm{name}remove
Inheritance: AbstractScaffoldAction
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
ConfirmRemoveAction ( 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

ConfirmRemoveAction() public method

public ConfirmRemoveAction ( 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