C# Class Castle.MonoRail.ActiveRecordScaffold.ListAction

Renders a list of entities
Searchs for a template named list{name}
Inheritance: AbstractScaffoldAction
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
ListAction ( Type modelType, ITemplateEngine templateEngine, bool useModelName, bool useDefaultLayout ) : System

Méthodes protégées

Méthode Description
ComputeTemplateName ( Controller controller ) : string
PerformActionProcess ( Controller controller ) : void
RenderStandardHtml ( Controller controller ) : void

Called when the template was not found

Private Methods

Méthode Description
IsNotSupported ( Type type ) : bool
ObtainListableProperties ( ActiveRecordModel model ) : IList
PerformFindAll ( ) : IList

Method Details

ComputeTemplateName() protected méthode

protected ComputeTemplateName ( Controller controller ) : string
controller Castle.MonoRail.Framework.Controller
Résultat string

ListAction() public méthode

public ListAction ( Type modelType, ITemplateEngine templateEngine, bool useModelName, bool useDefaultLayout ) : System
modelType System.Type
templateEngine ITemplateEngine
useModelName bool
useDefaultLayout bool
Résultat System

PerformActionProcess() protected méthode

protected PerformActionProcess ( Controller controller ) : void
controller Castle.MonoRail.Framework.Controller
Résultat void

RenderStandardHtml() protected méthode

Called when the template was not found
protected RenderStandardHtml ( Controller controller ) : void
controller Castle.MonoRail.Framework.Controller
Résultat void