一旦你创建了一个构件,就不能将其重新组织为子组件。
Once you create a component, you cannot reorganize it into sub-components.
下面几小节说明策略子组件的创建。
The next couple of sections demonstrate creation of the subcomponents for the policy.
更加复杂的组件能够使其子组件自我呈现。
Components with more complexity can ask subcomponents to render themselves.
policy创建的主要部分是子组件的创建。
The meat of the policy creation is in the creation of its subcomponents.
作为代码生成的一部分,它还调用子组件,生成新方法的代码。
It also generates the code for that new method, calling the child component as part of the code generation.
因此,容器JSP的唯一功能是启动子组件的处理。
Therefore, the only function of the Container JSPs is to start the rendering of the children. The control JSP renders the portlets in the following way.
IBMNAS 中的可服务性按子组件和级别划分。
Serviceability in IBM NAS is divided into sub-components and levels.
默认的dev所有者可以由项目、组件或子组件字段的值决定。
The default Dev owner can be determined by a Project, component or Subcomponent field value.
首先要创建policy对象(参见清单1)和需要的子组件。
You'll start by creating the policy object (see Listing 1) and the sub-components as required.
column组件使用一个子组件和一个facet。
The column component takes a single child component and a facet.
因此,容器JSP模板的唯一功能是启动子组件的处理。
Therefore, the only function of the Container JSP templates is to start the rendering of the children. The control JSP template renders the portlets in the following way
MarkupContainer 保存所有子组件并且自身没有标记。
MarkupContainer holds all the child components and doesn't have its own markup.
表4列出了可以在DEBUGmodify命令中指定的所有子组件。
Table 4 lists of all of the subcomponents that can be specified in the DEBUG modify command.
一些组件可以根据其子组件正常显示所需的空间调整自身的大小。
Some components can resize themselves depending on how much space their children require to be properly visible.
随着系统在复杂性上的不断增加,组件和子组件会有更多的需求。
As systems increase in complexity, greater demands are placed on components and subcomponents.
组件模板:组件模板负责处理组件本身并负责启动子组件的处理。
Component templates: the component template is responsible for rendering the component itself, and for starting the rendering of its children.
本实用程序仅可用于根组件属性,不可用于其他组件,如子组件。
This utility can only be used on Root component attributes, and cannot be used on other components such as child components.
在我们的VBox,我们希望看到三个垂直对齐的子组件,如图4中所示。
In our VBox, we'd like to see three child components aligned vertically, as shown in Figure 4.
创建所有必需的策略子组件之后,用它们创建policy对象。
After all the necessary policy subcomponents have been created, use them to create the policy object.
首先,要创建必要的策略子组件:策略目标、规则和规则组合算法。
First, you create the necessary policy subcomponents: the policy target, the rule, and the rule-combining algorithm.
父组件不能使用数据绑定来读取子组件的属性或调用子组件的方法。
A parent component cannot use data binding to read child properties or invoke child methods.
清单7中的示例演示了一个任意级别的父程序如何控制其子组件的状态。
The example in Listing 7 demonstrates how a parent at any level in the application can control the state of its child component.
大多数业务规则实现或者替换现有遗留应用程序,或者作为大型系统体系结构的子组件。
Most business rules implementations are either a replacement of existing legacy applications or a subcomponent of a larger system architecture.
这种情况是指不必要的通过父组件包装子组件,并且为UI添加了不必要的层。
This is when someone unnecessarily wraps a widget with a parent widget, adding an unnecessary layer of effort for the UI.
因此数据表可以通过元素列表进行迭代并且通过var属性定义的变量为子组件提供值。
Thus Datatable iterates through the elements of the list and provides values to the child components via a variable defined by the var attribute.
作为一个附注,你现在可以看到任务引擎并不是一个业务过程引擎真正的子组件。
As a side note, you can see now that a task engine is not really a sub-component of a business process engine.
在允许的地方,分隔数据字段中相邻的子组件。如果没有子组件,该字符将被忽略。
Separates adjacent subcomponents of data fields where allowed. If there are no subcomponents, this character may be omitted.
子组件(很有可能是个容器)调用它的模板,该模板负责这个子组件的所有内容的处理。
The child (most likely a container) invokes its template, which is responsible for rendering all of the content of this child.
DisplayObjectContainer允许您添加子组件,并在特定范围内移动它们。
DisplayObjectContainer lets you add and move around child components to any desired location within bounds.
如果父组件的类需要读取子组件的属性值或调用子组件的方法,就不能使用本地变量方法。
When the parent component class requires that kind of access, we inject the child component into the parent as a ViewChild.
应用推荐