• When a JSF validator finds an error, the form is returned to the user so he or she can correct it.

    JSF验证器发现一个错误时将向用户返回表单以便改正

    youdao

  • This ensures that error messages generated by the validator are correctly displayed in the form.

    确保验证生成错误消息正确地显示表单中。

    youdao

  • Server field validatoradds server-side validation to HTML form fields.

    服务器字段验证器 —HTML表单字段添加服务器验证

    youdao

  • To use a custom validator you must add it to the form, passing it field elements on which the validation needs to be applied, as shown in Listing 14.

    使用定制验证器,必须添加表单,并为传递需要验证的那些字段元素如清单 14 所

    youdao

  • The execute() method iterates over the list of validators, invoking the execute() method of each validator whose properties match the given form name and the optional element name.

    execute()方法验证列表调用每个验证器 execute() 方法,这些验证属性给定表单名称元素的名称相匹配

    youdao

  • In the Extension Element Details form on the right side of the plug-in editor, you can now select an existing validator class or create a new validator class (as in this case).

    插件编辑器右边ExtensionElementDetails之中,现在可以选择已存在确认或者创建新的确认器类(案例所示)。

    youdao

  • Listing 1 shows the Validator function, which takes four parameters: a form name, an element name, an id, and a message.

    清单1给出Validator函数函数4个参数表单名称元素名称、id消息。

    youdao

  • To illustrate the process of creating a custom validator, consider that in the CreateInput form, each seller is asked to enter a minimum and maximum expected price for his or her vehicle.

    为了演示创建定制验证器流程,请考虑CreateInput表单,其中每个销售者要求输入汽车最低最高价格

    youdao

  • The server-side WSIT extension in Listing 4 takes the form of a <wsss:ValidatorConfiguration> element and child <wsss:Validator> element, specifying the class to be used as a validator callback.

    清单4 中的服务器WSIT扩展 <wsss:ValidatorConfiguration>元素 Validator> 子元素形式表示,指定将作为验证器回调使用

    youdao

  • The server-side WSIT extension in Listing 4 takes the form of a <wsss:ValidatorConfiguration> element and child <wsss:Validator> element, specifying the class to be used as a validator callback.

    清单4 中的服务器WSIT扩展 <wsss:ValidatorConfiguration>元素 Validator> 子元素形式表示,指定将作为验证器回调使用

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定