In the update model values phase, the setter methods on the CD are invoked with the converted and validated values stored in the GUI components.
在更新模型值的阶段中,会使用保存在GUI组件中的经过转换和有效性验证的值来调用CD的赋值方法。
Because validation occurs before the component values are bound to the model (in the update model values phase), the model is in an unknown state.
由于验证发生在组件值绑定到模型之前(在更新模型值阶段),所以模型处于未知状态。
Since this example application doesn't have validators associated with the components (I'll introduce this feature in the next article), you'll simply advance to the update model values phase.
由于这个示例程序并没有与组件关联任何有效性验证规则(在下一篇文章中我们将介绍这种特性),因此您可以继续进入更新模型值的阶段了。
During the Update model phase, component values are copied to the component's model object.
在模型更新阶段,组件的值将被复制到对应的组件当中。
During the Update model phase, component values are copied to the component's model object.
在模型更新阶段,组件的值将被复制到对应的组件当中。
应用推荐