演示如何自定义默认字段模板。
自定义字段模板显示数据字段的方式。
方法和构造函数模板与字段模板类似,如清单4 所示。
The method and constructor templates are similar to the field template, as Listing 4 shows.
演示如何指定用来显示数据字段值的字段模板。
Shows how to specify which field template to use to display data field values.
您可以修改动态数据提供的默认用户控件,或者创建一个自定义用户控件作为字段模板使用。
You can modify the default user controls that Dynamic Data provides, or you can create a custom user controls to use as field template.
文档类型提供一个可以定义文档行为的机制,包括文档模板、版本化、工作流定义和定制字段。
A document type provides a mechanism by which the behaviors of a document can be defined, including document templates, versioning, workflow definition, and custom fields.
在测试规划和测试用例模板,过程支持,以及通用字段这些领域,将会出现延迟的定制情况,直到用户通过实际的应用更了解新创建为止。
Postpone major customizations in areas such as test plan and test case templates, process support, and custom fields until users become more familiar with the new setup though real use.
例如,我们看到先前使用图4中所示的模板定义的标识符(ID)和版本字段。
For example, we see the identifier (id) and version fields we previously defined using the template shown in Figure 4.
清单32.生成表单元素显示了XSL模板如何生成HTML输入字段和提交按钮。
Listing 32. Generating form elements shows how XSL templates generate the HTML input fields and the submit button.
基于模板的语法将定义用户在其中提供数据的字段。
The template-based grammar defines fields in which a user provides data.
模板声明一个或多个字段,它们一起构成实例的持久化标识。
The stereotype declares one or more fields, which together form the persistent identity of an instance.
用于构建字段HTML的模板非常简单,如清单3 所示。
The template for building the field HTML is very simple, as Listing 3 shows.
如果没有延迟处理,就会发生这样的情况:仅仅对泛型模板的基本字段定义进行处理,就会引起对这个模板的同一版本的实例化。
Without the deferred processing, you could run into a situation where just processing the basic field definitions for a generic template would require instantiating a version of that template.
第一次打开模板时,需要填写表2中所示的字段。
When you first open a template, you are prompted to fill in the fields shown in Table 2.
然后,使用额外的文件上传字段更新CreateInput模板,如 清单10所示。
Then, update the CreateInput template with additional file upload fields, as in Listing 10.
这个视图生成的LoginInput模板非常简单—一个包含两个字段的Web表单。
The LoginInput template generated by this view is pretty basic-a Web form with two fields.
以上的Atom条目包含一个元素,它存储支持定义定制字段的property- sheet模板xml定义。
The above Atom entry contains a element that stores the property-sheet template XML definition that enables custom fields to be defined.
图7展示了用于生成获得实体中定义的所有字段的getter的Velocity模板。
Figure 7 shows a Velocity template that is used to generate the getters for all the fields defined on an entity.
随后,遍历对应于每个字段值的对象数组,然后调用Field . set将该值放入我的模板对象中。
Following that, I iterate through the array of objects that correspond to the values for each of those fields and then call Field.set to poke that value into my template object.
在Name字段输入一个模板名称,比如MyTemplate。
Type a template name, such as My template, in the name field.
flitter _ theme命名一个模板来呈现这个flit并指定呈现被发送的message字段。
Flitter_theme names a template to render the flit and specifies that the message field be sent to be rendered.
在Description字段,输入一个简洁的模板描述,比如Thisismyfirst routinetemplate。
Enter a brief description of the template in the description field, such as This is my first routine template.
在Filename字段输入文件名,然后单击Next来查看HTML模板选择器。
Type the name of the file in the file name field, and click Next to see the HTML template chooser.
Template字段指定该实例使用哪个规则模板,Presentation字段显示来自该规则模板中的表示形式。
The template field specifies which rule template that this instance USES and the presentation field displays the presentation from the rule template.
Presentation字段是向使用业务规则管理器的管理员描述该规则模板的文本,它还指定该规则模板所接受的参数。
The presentation field is the text that describes the rule template to an administrator using the business rules manager, and it specifies the parameters that the rule template accepts.
模板中所有新的或修改了的设计元素都被识别在comments字段中。
All the new or modified design elements in the templates are identified in the comments field.
有幸的是,通过使用图形模板,不必要明白每个字段的功能,就可为你的网络创建图形。
Fortunately through the use of graph templates, it is not necessary to understand the function of each field to create graphs for your network.
可以通过更改默认模板来自定义用户查看和编辑数据字段的方式。
You can customize how users see and edit data fields by changing the default templates.
可以通过更改默认模板来自定义用户查看和编辑数据字段的方式。
You can customize how users see and edit data fields by changing the default templates.
应用推荐