Retrieve the attributes of the child component.
检索子组件的属性。
CommandLink is the child component of the column component for this example.
对于本例来说,commandLink是column组件的一个子孙组件。
It also generates the code for that new method, calling the child component as part of the code generation.
作为代码生成的一部分,它还调用子组件,生成新方法的代码。
The example in Listing 7 demonstrates how a parent at any level in the application can control the state of its child component.
清单7中的示例演示了一个任意级别的父程序如何控制其子组件的状态。
You can perform a query of any attribute on the parent or child component of the item and on any field defined in the work package, work node, or process.
可以查询项目的父组件和子组件的任何属性,也可以查询工作包、工作节点或过程中定义的任何字段。
We can't use the local variable technique if an instance of the parent component class must read or write child component values or must call child component methods.
如果父组件的类需要读取子组件的属性值或调用子组件的方法,就不能使用本地变量方法。
If the child component includes one or more attributes, though, this sequence is complicated by the need to write the attributes to the element start tag as a separate step.
如果子组件包含一个或多个属性,那么这个过程会复杂一些,因为要用一个单独的步骤向元素的开始标记中写入属性。
If a component does not have a template, but extends from a component class that does have a template, then the parent class 'template will be used by the child component.
如果一个组件没有模板,但是他继承于一个有模板的组件类,那么父类的模板将被应用于子组件上。
If a component does not have a template, but extends from a component class that does have a template, then the parent class 'template will be used by the child component.
如果一个组件没有模板,但是他继承于一个有模板的组件类,那么父类的模板将被应用于子组件上。
应用推荐