We prefer the latter option because it allows us to simply associate a custom converter (with built-in validation logic) with a specific object type and have JSF handle that object type.
我们偏向后一种方法,因为它让我们可以将自定义转换器(自带验证逻辑)与特定的对象类型相关联,并让JSF处理这种对象类型。
We recommend that every object of built-in type be initialized.
建议每个内置类型的对象都要初始化。
We recommend that every object of built-in type be initialized.
建议每个内置类型的对象都要初始化。
应用推荐