C# Class Castle.MonoRail.ActiveRecordScaffold.ScaffoldingSupport

Uses the dynamic action infrastructure to add new actions to an existing controller.
Provided that a controller uses ScaffoldingAttribute like the following code: [Scaffolding( typeof(Account) )] public class AdminController : Controller { } Then the following dynamic actions will be added: newAccount Presents a form to the user fill in order to create the item on the database createAccount Takes the information submited by the newAccount and creates the item editAccount Presents a form to the user fill in order to update the item on the database updateAccount Takes the information submited by the editAccount and changes the item listAccount Presents a paginated list of items saved confirmAccount Asks the user if he/she confirms the removal of the item removeAccount Attempt to remove the item and presents the results
Inheritance: IScaffoldingSupport
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Process ( Controller controller ) : void

Private Methods

Method Description
InitializeTemplateEngine ( ) : void

Method Details

Process() public method

public Process ( Controller controller ) : void
controller Controller
return void