Some of the model was documented at the object level and occasionally at the field level, but there was no documentation on specific use cases.
一些模型有对象级文档,偶尔有字段级文档,但是没有关于特定用例的文档。
You can bind a model class to an XWT UI while, at the same time, the data field in the model object will be automatically fed to the UI controls.
可以将一个模型类绑定到一个XWT UI,而同时,模型对象中的数据字段会被自动地提供给UI控件。
In this case, instead of checking to see if the field was blank we could invoke a method on a model object to ensure that the current user wasn't already in the system.
在该例中,不是检查字段是否为空,我们可以调用模型对象的方法来确保当前用户已经不在系统中。
应用推荐