To demonstrate how to use the function, consider an input message that contains an element Field that repeats three times.
为了演示如何使用这个函数,假设输入消息包含三个Field元素?
This allows the number of repeats of an element to be indicated by an integer field in the message.
这允许通过消息中的一个整数字段指示某个元素的重复次数。
The three child element names perfectly match the field names.
个子元素名称完全匹配字段名称。
You can include any HTML you like as the description, but you must wrap the contents of the description field in a CDATA element.
可以在描述中包括任何HTML标记,但是,必须将描述字段的内容打包在CDATA元素中。
You'll remember also that, by default, element and attribute names in the output XML default to the corresponding field names.
您还会记得,输出XML中的元素和属性名称默认为相应的字段名称。
Shown below in Figure 5, the output card of the map Map_Choose shows the CHOOSE function, which selects the second instance of the Field element from the input message.
如图5所示,映射Map_Choose的输出卡使用了choose函数,它选择输入消息中Field元素的第二个实例。
This structure element includes a field attribute but no name attribute, telling JiBX that the structure element is defining an object property with no corresponding element in the XML document.
这个structure元素包含一个field属性,但是不包含name属性,这告诉JiBX: structure元素正在定义的这个对象特性在XML文档中无对应的元素。
Using field names as element names.
将字段名称用作元素名称。
This creates an input field for each read/write element and a label for the subtotal.
这样便为每个读/写元素创建了输入字段并且为 subtotal 创建了一个标签。
Renderers use type information, such as that provided in a bind element, to determine the best visual representation of a corresponding form field.
呈现程序(renderer)使用类型信息,如bind元素中所提供的类型信息,来确定相应表单字段的最佳视觉表示。
The highlighted Refs column next to each element indicates the element is bound to an entry field on the form and the number shows how many times the element is referred to.
每个元素旁边高亮显示的refs列表示该元素绑定到表格上的某个输入字段,上面的数字表示该元素被引用的次数。
As there is only a single connector-object in our target, its array index will always be 1, and because this is the first field element, its array index will be 1.
因为我们的目标中只有单个connector - object,其数组索引将始终为1,因为这是第一个field元素,其数组索引将为1。
This time, the phrase element turns purple, the Value field text becomes highlighted in purple, and a little green arrow icon appears in the Test Contents tree on the request node (Figure 17).
这一次,片语元素变成了紫色,value域的文本被紫色高亮显示,一些绿色的箭头图标出现在了请求节点的Testcontents树中(图17)。
The main difference is that the action parameter is passed by using an HTML hidden field element rather than in a Faces parameter.
主要区别在于,行为参数是通过使用一个html隐藏域元素来传递的,而不是在Faces参数中。
First select the field element and wire it to the target CustomerID element.
首先,选择field元素,并将其连接到目标CustomerID元素。
Figure 3 depicts the relationship between the Name text field on the form and the Name element of the data instance.
图3描述了表单上Name文本字段和数据实例的Name元素之间的关系。
Now move the value stored in the StockID source element to the value of the field element.
接下来将stockid源元素中存储的值移动到field元素的值中。
For example, if you drag the Author field out of the harvested element on a diagram, it shows an association with the C++ element in the source code, as you see in Figure 43.
例如,如果您在图上将Author域拖出收获元素 之外,它将在源代码中显示与 C++ 元素的关联,如图43所示。
Select the companyName element in the Data binding field.
在Data binding字段中选择companyName元素。
Blur - Called whenever a Form element loses focus, like when a text field that has focus is tabbed out of.
blur-在Form元素失去焦点时调用,例如,用tab键移出具有焦点的文本字段。
Each field element is mapped to a specific field in the SimpleBean class.
每个field元素都将被映射到simplebean类中的一个特定字段。
Google Analytics turns each piece of data in the logfile record into a data element called a field. Later, the fields will be transformed into dimensions.
Google分析将日志文件记录中的每个片段放入被称为字段的数据元素当中。
The foreach statement, instead of setting domain attribute values from a SQL result set, stuffs the string TODO: set from SQL result into each element of the array of field values.
foreach语句,不是设置来自sql结果集的域属性值,而是将字符串TODO:setfrom sqlresult填塞到字段值数组的每个元素。
This points to the datalist element which contains the allowed values for that field.
该属性指向datalist元素,该元素包含该字段支持的值。
Similar to the process used before, right-click the name attribute of the field element and select Create Transformation.
与前面的过程类似,右键单击field元素的name属性,并选择Create Transformation。
Start with the field element, because you are indeed mapping to a field of Book.
首先使用field元素,因为确实要映射到Book的一个字段。
Next you need to assign static values to the name and type attributes of the field element.
接下来,需要为field元素的name和type属性分配静态值。
Listing 6 shows a typical ext JS Ajax implementation: an HTML text field and button element that posts data in the text field to a Web server when the button is clicked.
清单6给出一个典型的ExtJSAjax实现:当单击按钮时,HTML文本框和按钮元素把文本框中的数据发送给Web服务器。
Start by selecting the StockID element of the source and wiring this to the field element of the target.
首先选择源的StockID元素,并将其连接到目标的field元素。
In the Data binding field, select an element that contains the display elements somewhere within it.
在Databinding字段中,选择包含显示元素的元素。
应用推荐