Figure 5 shows a combo box widget.
图5显示了一个复合框小部件。
So, how do you define widget tests?
那么,怎样定义小部件测试呢?
In this widget, I am doing a few things.
在这个小部件中,我正在做几件事情。
The updated widget is shown in figure 11.
更新后的小部件如图 11 所示。
The widget specific HTML template file.
小部件特有的HTML模板文件。
Listing 18 shows the related widget template.
清单18给出了相关的小部件模板。
The step completion widget saves the work item.
步骤完成小部件保存工作项目。
Templates can contain other widget declarations.
模板可以包含其他的小部件声明。
Register the widget in the global widget registry
在全局小部件注册表中注册这个小部件
This widget supports view mode, but not edit mode.
此小部件支持查看模式,但不支持编辑模式。
Defines the events that this widget should publish.
定义小部件应该发布的事件。
Identifies the category to which this widget belongs.
标识此小部件所属的类别。
The next widget on the page is a Content List widget.
页面上的下一个小部件是一个ContentList 小部件。
Listing 4 shows attributes of the sample action widget.
清单4显示的是动作小部件样例的属性。
Define the events that the step completion widget USES.
定义步骤完成小部件使用的事件。
Look for the Groups widget, and select the My Groups view.
找到群组小部件,然后选择我的群组视图。
Listing 2 shows how the widget is declared within the page.
清单2展示了小部件是如何在页面声明的。
All step pages must contain only one step-completion widget.
所有的步骤页面都必须只包含一个“步骤完成”小部件。
Command appears only while the attached widget gets focused.
命令仅在附带的小部件获得焦点时显示。
The HTML code to produce this widget is surprisingly Spartan.
用于生产这个小部件的HTML代码出奇地简单。
The step completion widget closes all step processor widgets.
步骤完成小部件关闭所有步骤处理器小部件。
In Listing 7, the widget is created in a declarative model.
在清单7中,小部件由一个声明式模型创建。
You can define other threads by configuring the report widget.
您可以配置报告小部件来定义其他线程。
This file contains the implementation of your widget object.
该文件包含小部件对象的实现。
The following properties are significant for the sample widget.
以下属性对于示例小部件非常重要。
A template can be parameterized by referring widget properties.
一个模板可以通过引用小部件属性而被参数化。
Base-widget-template.html: The base widget template HTML file.
base -widget -template .html:基本小部件模板html文件。
应用推荐