프로퍼티 | 타입 | 설명 | |
---|---|---|---|
binder | |||
builder | |||
errors | |||
modelType | |||
prop2Validation | IDictionary | ||
templateEngine | ITemplateEngine |
메소드 | 설명 | |
---|---|---|
AbstractScaffoldAction ( |
Initializes a new instance of the AbstractScaffoldAction class.
|
|
Execute ( |
Executes the basic flow which is
|
메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
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. |
리턴 | System |
protected static AssertIsPost ( |
||
controller | ||
리턴 | void |
protected abstract ComputeTemplateName ( |
||
controller | ||
리턴 | string |
public Execute ( |
||
controller | ||
리턴 | void |
protected ObtainPKProperty ( ) : |
||
리턴 |
protected PerformActionProcess ( |
||
controller | ||
리턴 | void |
protected RenderFromTemplate ( String templateName, |
||
templateName | String | |
controller | ||
리턴 | void |
protected abstract RenderStandardHtml ( |
||
controller | ||
리턴 | void |
protected static SetUpHelpers ( |
||
controller | ||
리턴 | void |
protected ARDataBinder,Castle.MonoRail.ActiveRecordSupport binder | ||
리턴 |
protected TreeBuilder,Castle.Components.Binder builder | ||
리턴 |