Property | Type | Description | |
---|---|---|---|
binder | |||
builder | |||
errors | |||
modelType | |||
prop2Validation | IDictionary | ||
templateEngine | ITemplateEngine |
Method | Description | |
---|---|---|
AbstractScaffoldAction ( |
Initializes a new instance of the AbstractScaffoldAction class.
|
|
Execute ( |
Executes the basic flow which is
|
Method | Description | |
---|---|---|
AssertIsPost ( |
||
ComputeTemplateName ( |
Implementors should return the template name for the current action.
|
|
ObtainPKProperty ( ) : |
Gets the property that represents the Primary key for the current ActiveRecordModel
|
|
PerformActionProcess ( |
Implementors should perform the action for the scaffolding, like new or create.
|
|
RenderFromTemplate ( String templateName, |
||
RenderStandardHtml ( |
Only invoked if the programmer havent provided a custom template for the current action. Implementors should create a basic html to present.
|
|
SetUpHelpers ( |
Method | Description | |
---|---|---|
GetARModel ( ) : |
public AbstractScaffoldAction ( |
||
modelType | Type of the model. | |
templateEngine | ITemplateEngine | The template engine. |
useModelName | bool | Indicates that we should use the model name on urls |
useDefaultLayout | bool | Whether we should use our layout. |
return | System |
protected static AssertIsPost ( |
||
controller | ||
return | void |
protected abstract ComputeTemplateName ( |
||
controller | ||
return | string |
public Execute ( |
||
controller | ||
return | void |
protected ObtainPKProperty ( ) : |
||
return |
protected PerformActionProcess ( |
||
controller | ||
return | void |
protected RenderFromTemplate ( String templateName, |
||
templateName | String | |
controller | ||
return | void |
protected abstract RenderStandardHtml ( |
||
controller | ||
return | void |
protected static SetUpHelpers ( |
||
controller | ||
return | void |
protected ARDataBinder,Castle.MonoRail.ActiveRecordSupport binder | ||
return |
protected TreeBuilder,Castle.Components.Binder builder | ||
return |
protected ArrayList,System.Collections errors | ||
return |