Validation methods in backing beans (inline).
在backingbean中的验证方法(内联)。
This operation is done separately from the specific validation methods.
此项操作根据特定的验证方法单独完成。
The example below combines the batch and instantaneous validation methods.
下面的示例将批处理和瞬时确认方法结合在一起。
Other validation methods such as Schematron can be used as the validation layer for validating codes.
其他验证方法,如Schematron,可以作为验证层进行代码验证。
As you add validation methods to the Person class, the call to valid? will automatically become smarter.
随着您向Person类中加入验证方法,valid ?会自动的根据这些方法进行验证。
Adding validation methods to a model causes validation to occur before the object is saved into the database.
如果在模型中添加检验方法,那么在对象保存到数据库中之前就会执行检验。
SP1.1 Select products and product components to be validated and the validation methods that will be used for each.
选择需要确认的产品、产品组件以及确认的方法。
The old school validation methods are still around but now there are some other, cleaner ways to accomplish the same things..
原有的验证方法依然存在 ,但现在也有一些其他的,简洁的方式来完成同样的工作……
Multiple input validation methods and effective(verification) approaches which can reduce data error are adopted in the software.
采用多种输入校验方法和有效性验证技术,减少输入错误;
This method instructs Grails to metaprogram the validation methods onto the specified domain class as it would normally during run time.
此方法指示Grails将验证方法元编程到指定的域类上,就像通常在运行时所做的一样。
At the same time, it USES TestNG's assertions to abstract the details of GUI manipulation into simple fixtures that expose validation methods.
同时,它使用了TestNG的断言,将GUI操作细节提取到了简单的fixture中,后者能够公开验证方法。
To ensure we check for the above cases, we can make use of some standard validation methods. We add the following validations to app\models\subject.rb
为了进行这些检验,可以使用一些标准的检验方法。
You will make some changes to the three files in the following sections, to complete the form, add user inputs validation methods and process the validation errors.
在接下来的几节中,您将对这三个文件进行一些修改,从而完成整个表单,添加用户输入的验证方法并处理验证错误。
Once defined in partial classes like below, these validation methods will automatically be enforced anytime we write code to update our data model objects in an application.
一旦在部分类中像如下这样添加了的话,这些验证方法将会在应用程序中更新数据模型时自动的触发。
Recognizing the need to specify action and validation methods for a Web component, the JSF EL variant added another feature allowing you to use method expressions within an attribute.
认识到有必要为Web组件指定操作和验证方法后,JSFEL变体添加了一个允许在属性内使用方法表达式的特性。
Validation is performed to ensure that element names are correct, and that methods performed on elements use the declared element type.
将执行验证以确保元素名称是正确的,并且对元素执行的方法使用了声明的元素类型。
Validation rules are potentially reusable as they may be written once and defined to many methods on different objects.
验证规则有可能重用,因为它们可以只编写一次,在里面定义不同对象所使用的方法。
Typically, this service will have a set of validation rules assigned to specific methods on specific objects.
通常情况下,这个服务会有一组验证规则,分配给特定对象的特定方法。
For example, I could initialize the validation service with an XML document describing the rules to run for specific methods and objects.
例如,我可以用XML 文档初始化验证服务,在 XML文档里描述针对具体方法或对象需要执行的规则。
The first step to improving our data-format validation procedure is to move all the validation logic into a single helper class, from which other methods can invoke it as needed.
改进数据格式验证过程的第一步是将所有的验证逻辑都移至一个助手类中,其它方法可以按需从这个类上调用验证逻辑。
Because the validation rules are decoupled from the interface's business logic, they can be reused across many methods on many objects.
因为验证规则从接口的业务逻辑去耦,所以可以在许多对象的许多方法上重用它们。
Some have short sections on validation and verification, but those simply point either to IEEE standards or other formal methods.
其中几本教材中有很少的篇幅涉及到确认和验证,但是仅仅是简单的引用IEEE标准或其他正式的方法。
This allows the signature of all of the delegate methods to stay the same, and therefore also allows any validation exceptions to be thrown through the same mechanism.
这允许所有委派方法的特征符保持不变,因而也允许通过相同机制来抛出任何验证异常。
Most business methods contain validation logic to ensure that pre-conditions are met before carrying out business logic.
大多数业务方法都包含验证逻辑,以确保在执行业务逻辑之前,前提条件得到满足。
Note that the simple methods in Listing 1 can be called from other classes, such as our business delegates, to perform validation logic as needed.
可以从诸如业务委派等其它类上调用清单1中的简单方法,以按需执行验证逻辑。
It includes getter and setter methods for all the participant parameters, and it includes validation logic to ensure that all the required parameters for that particular method call are present.
它针对所有participant参数包含了getter和setter方法,并且包含了验证逻辑来确保给出了针对特定方法调用的所有必需参数。
For instance, I could write a validation rule asserting that a given parameter was not null and then reuse it across all methods needing the same rule.
例如,我可以写一个验证规则,用于断言指定参数不为null,然后在所有需要同样规则的方法中重用它。
An alternative to the report framework would be to add validation code to the AccessibleUtils.output methods.
报告框架的另一种方案是将验证代码添加到AccessibleUtils .out put方法。
An alternative to the report framework would be to add validation code to the AccessibleUtils.output methods.
报告框架的另一种方案是将验证代码添加到AccessibleUtils .out put方法。
应用推荐