Secondly, schema validation adds type annotations from the schema to each XML element and attribute, and these types get persisted in DB2s XML storage.
其次,模式验证将来自模式的类型注释添加到每个xml元素和属性,这些类型在DB 2 XML存储中得到持久化。
Each attribute has its own validation rules, and there are also rules about how combinations of attributes are handled.
每个属性具有自己的验证规则,另外还有关于如何处理属性组合的规则。
Now you are left with a no-win decision: do you make the attribute understand your application's architectural tiers and call through to the service layer to do the validation?
现在您只剩下一个无法取胜的决策:您可以让属性理解您应用程序的架构层并通过服务层调用来执行验证吗?
There are numerous use cases surrounding attribute validation.
在属性确认器周围有一些用例。
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变体添加了一个允许在属性内使用方法表达式的特性。
Utilizing the required attribute is a form of default validation.
利用required属性是一种默认验证形式。
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)。
The immediate attribute allows you to control page flow through standard navigation rules while bypassing validation altogether.
immediate属性允许您通过标准浏览规则控制页流程,并绕过验证。
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时的应用程序流程。
The required attribute is used during form validation (more on that below) and the autofocus attribute lets you pick the element on the page too get focus.
required属性用于表单验证(下面将详细介绍)过程中,autofocus属性允许选择页面上的元素以获取焦点。
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应用程序生命周期中的哪些地方进行转换和验证。
Heavy on HTML5, the new browser allows full-screen playback and closed captions; geolocation, sectioning elements, draggable attribute, forms validation, Ruby, AJAX History, EventSource and WebSocket.
由于采用了大量HTML5技术,Safari 5浏览器支持全屏播放和隐形字幕(closed caption),地理定位,拖拽属性,表格验证,Ruby,Ajax历史,分割元素(sectioning elements),EventSource和WebSocket等内容。
Note that even attributes that contain an IDREF are labeled as XSD: NCName, which performs only the lexical validation of the attribute.
注意,即使包含有标为xsd:NCName的idref属性,也只对属性进行词法验证。
This tag displays the value of the message attribute of a validation tag that detected a validation failure.
这个标签显示了检测有效性验证失败的validation标签的message属性的值。
The validation arguments' values can either be static using the value attribute or dynamic by linking it to a form field using the sourcefield attribute.
验证参数的值可以使用value属性规定为静态的,也可以通过使用sourcefield 属性将其链接到表单字段,将值规定为动态的。
The new model has Name and Password properties, both of which are decorated with the Required attribute so that I can use model validation to check that the user has provided values.
新模型具有Name和Password属性,两者都用Required注解属性进行了注释,以使我能够使用模型验证来检查用户是否提供了这些属性的值。
The new model has Name and Password properties, both of which are decorated with the Required attribute so that I can use model validation to check that the user has provided values.
新模型具有Name和Password属性,两者都用Required注解属性进行了注释,以使我能够使用模型验证来检查用户是否提供了这些属性的值。
应用推荐