• Sticking to the lifecycle frees you up to think about the details of validation and conversion, rather than the phases of the request process itself.

    遵守生命周期规定,可以更自由考虑有关验证转换问题,不是请求处理本身的阶段

    youdao

  • Additionally, while we discussed the most common conversion and validation techniques, there are some we couldn't include here.

    此外虽然我们讨论大多数常用转换验证技术,但还有一些没有包含在内。

    youdao

  • We'll explain in a minute why conversion and validation happen at these phases, but first let's clear up a more basic question: What is conversion?

    我们稍后介绍为什么转换验证这些阶段出现但是首先让我们澄清一个基本问题:转换什么

    youdao

  • The example application will cover most conversion and validation use cases, albeit at a basic level.

    示例应用程序涵盖大多数转换验证虽然只是初级的。

    youdao

  • Figure 4 shows how the application deals with validation and data conversion errors.

    4展示了应用程序如何处理验证数据转换错误的。

    youdao

  • For now, you should simply note that conversion and validation processes occur at the phases of apply request values, process validations, and render response.

    现在,只需要注意转换验证过程发生应用请求处理验证呈现响应阶段即可

    youdao

  • The main purpose of conversion and validation is to ensure values have been properly sanitized before updating model data.

    转换验证主要目的确保更新模型数据之前已经经过了正确无害处理。

    youdao

  • Ultimately, the conversion and validation strategy you choose is up to you.

    最终,要确定选择何种转换验证策略

    youdao

  • We'll start with an introduction to conversion and validation procedures as they apply to the JSF lifecycle, then demonstrate a default conversion and validation procedure in a simple JSF application.

    首先我们介绍应用JSF生命周期转换验证过程然后展示一个简单的JSF应用程序中的默认转换和验证过程

    youdao

  • As you saw in Figure 1, conversion occurs in the apply request values phase and validation in the process validations phase.

    正如1转换发生应用请求阶段验证发生在处理验证阶段。

    youdao

  • Something else to keep in mind is that conversion and validation don't necessarily work well together.

    其他牢记转换验证不一定很好地协同工作

    youdao

  • Then, we'll show you how to utilize JSF conversion and validation to ensure that the collected data is appropriate for the model.

    然后我们展示如何利用jsf转换验证确保收集数据对于模型适合的。

    youdao

  • In this article, we'll work through the concepts of JSF's conversion and validation framework, which is much simpler to use and far more flexible than you may think.

    本文中,我们介绍jsf转换验证框架概念所想容易使用,也灵活得多。

    youdao

  • See Resources to learn more about creating custom conversion and validation messages in JSF.

    关于JSF创建自定义转换验证消息更多内容请参前阅参考资料。

    youdao

  • Part 3 will pick up where I've left off, incorporating advanced features like conversion and validation.

    第3部分继续本文的介绍,内容涉及一些高级特性例如类型转换有效性验证

    youdao

  • We've covered quite a bit of ground in this article when it comes to JSF conversion and validation.

    本文我们讨论相当JSF转换验证的基本内容。

    youdao

  • The connection will be configurable: type conversion and validation operations may be applied before updating a property.

    属性连接可配置的:在更新属性之前可以进行类型转换值校验操作

    youdao

  • Conversion and validation allow you to focus on business logic rather than the tedious qualifications of input data such as null checks, length qualifiers, range boundaries, etc.

    转换验证使可以侧重业务逻辑不是侧重于对输入数据进行繁琐资格认定比如null检验长度限定范围边界,等等。

    youdao

  • For example, in Figure 5, Data Format Conversion is a task with the responsibility of converting purchase order messages to validation service messages.

    比如5中,DataFormatConversion一项任务负责订购消息转换为验证服务消息。

    youdao

  • If the immediate property is false, the conversion and validation are performed during the following phase of the JSF request processing life cycle.

    如果immediate属性false,那么这个转换验证就会JSF请求处理生命周期一阶段执行

    youdao

  • Note that the conversion and validation processes outlined in Figure 2 represent the application flow when the UIInput component's immediate attribute is set to false.

    注意2描绘转换验证过程表示了将UIInput组件immediate属性设置false应用程序流程

    youdao

  • It makes sense, then, that conversion and validation processes happen before component data is bound to your backing bean model in the update model data lifecycle phase.

    因此,在更新模型数据生命周期阶段中,组件数据绑定backingbean模型之前进行转换验证处理是有道理的。

    youdao

  • The method uses NumberFormat.parse(String) for validation and conversion.

    方法使用NumberFormat.parse(String)验证转换

    youdao

  • Figure 3 shows where conversion and validation would occur in the JSF application lifecycle were the immediate attribute set to true.

    3展示了当immediate属性设置true时,JSF应用程序生命周期中的哪些地方进行转换验证

    youdao

  • Were the attribute set to true, conversion and validation would occur earlier in the lifecycle, during the apply request values phase (see Figure 3).

    如果这个属性设置true那么转换验证发生生命周期更早时期应用请求阶段(参见图3)。

    youdao

  • The last step of the decode method is to store the submitted value in the component (later it will be converted then validated; see Resources for more on validation and conversion).

    decode方法最后一步提交保存组件(稍后转换验证,请参阅参考资料获取更多关于验证和转换的内容)。

    youdao

  • If the value conversion fails, an error message is generated and queued in the FacesContext, where it will be displayed during the render response phase, along with any validation errors.

    如果转换失败了,那么会生成一个错误消息FacesContext进行排队,在产生响应阶段显示其中的消息,同时还会显示所有验证错误。

    youdao

  • The error message locations are to display validation or data-conversion error messages for the text fields. There are three JSP pages: index.jsp.

    错误消息位置用于显示针对文本字段验证数据转换错误消息

    youdao

  • The error message locations are to display validation or data-conversion error messages for the text fields.

    错误消息位置用于显示针对文本字段验证数据转换错误消息

    youdao

  • The error message locations are to display validation or data-conversion error messages for the text fields.

    错误消息位置用于显示针对文本字段验证数据转换错误消息

    youdao

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

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

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