首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

直露的配置属性

2012-06-26 
暴露的配置属性namedefaultdescriptioncommandNamecommand The name of the command in the model. The

暴露的配置属性

name

default

description



commandName

"command"

The name of the command in the model. The command object will be included in the model under this name.



commandClass

null

The command class for this action. An instance of this class will get populated and validated.



reuseCommand

false

Indicates whether or not an existing command object in the flow model should be reused.



requestErrors

false

Indicates whether or not to expose the Errors object resulting from validation in the request instead of the flow model. This is usefull if you want to avoid redisplaying old errors. Defaults to false, so the Errors will be exposed in the model.



validator(s)

empty

The validators for this action. The validators must support the specified command class.



bindOnNewForm

false

Set if request parameters should be bound to the form object during the prepareNewForm action.



validateOnBinding

true

Indicates if the validators should get applied when binding.



messageCodesResolver

null

Set the strategy to use for resolving errors into message codes.

热点排行