This time, the onclick event of the Link component initiates the Ajax request, as Listing 6 shows.
这时,Link组件的onclick事件初始化了Ajax请求,如清单6所示。
Drag and drop a Link component from the palette and drop it on the output text component in the Price column.
从选项板上拖拉一个Link组件,然后将其放到price栏中的输出文本组件中。
Drag an output component from the palette and drop it on the Grid you created previously, below the link component.
从面板中拖动一个out put组件,然后将其放到您以前创建的Grid上,并且位于该链接组件的下面。
Listing 16 shows you how to extend from a UIComponent, override updateDisplayList , and create lines using the graphics object of the link component.
清单16显示了如何扩展UIComponent、覆盖updatedisplaylist并使用链接组件的graphics对象创建线条。
To show or hide the dialog when the user hovers over an item, you can use the onmouseover and onmouseout events of the Link component, as Listing 4 shows.
为了当用户停留在条目上时显示或隐藏对话框,您可以使用Link组件的onmouseover和onmouseout事件,正如清单4所示。
Testing a user action such as clicking a link can be done using WicketTester's clickLink() method, passing it the link component ID path, and then verifying the rendered page, as shown in Listing 23.
测试诸如单击链接这样的用户动作可以通过使用WicketTester的clickLink()方法实现,只需为之传递链接组件ID路径,然后再验证所呈现的组件即可,如清单 23 所示。
Each component and link must have a transform.
每个组件和链接都必须进行转换。
For example, you create a new virtual application, drag and drop the Enterprise application component and a Database component and link them together.
例如,创建一个新的虚拟应用程序,拖放企业应用程序组件和数据库组件,并将它们链接在一起。
The next step, prior to deployment, is to configure the properties of each component and link.
在部署之前,下一步是配置每个组件和链接的属性。
In the previous case, a member link can be created so that the source of the link is the J2EE application component, and the target of the link is an EJB component.
在先前的案例中,既然已经创建了一个成员连接,那么这个连接的源就是J2EE应用软件组件,而这个连接的目标就是一个EJB组件。
You must now add a link to the user interface (UI) so that users can add the component to a place.
必须在用户界面中添加一个链接,让用户能够把这个组件添加到空间中。
Once you finish creating the style, you link the style to a component.
创建好式样之后,便可以将式样链接到一个组件。
Properties sheet: Each component has a properties sheet; the properties sheet contains the properties for a particular component, link, or policy that are configurable by you.
属性表:每个组件都有一个属性表;该属性表中包含您可以配置的一些特殊组件、链接或策略的属性。
Each component and link has a unique set of properties (both optional and required) that are configurable by you.
每个组件和链接都有一组供您配置的独特属性(可选属性和必要属性都有)。
To establish a link, click the blue ball on the edge of the source component, hold down the mouse and drag the link to the target component.
要想建立一个链接,请单击源组件边缘上的蓝色球,按住鼠标并将链接拖动到目标组件。
A dependency link can therefore be created between the component and the datasource unit that holds the source requirement and the target capability, as shown in Listing 25.
因此可以在拥有源需求和目标性能的组件和数据源之间创建一个依赖连接,如清单25所示。
In the pattern shown in Figure 2, a link specifies that the enterprise application has a dependency on the database component in the pattern.
在图2所示的模式中,链接指定该企业应用程序依赖于该模式中的数据库组件。
This section describes the steps you take to add a link to the news component in the customize section.
本节介绍如何在定制区段添加新闻组件的链接。
Delete the Database component (this action will also remove the associated link), add the Existing Database (DB2) component and re-establish the link as shown in Figure 21.
删除数据库组件(该操作还会删除相关的链接),然后添加现有的数据库(DB2)组件并重新建立如图21所示的链接。
To play.ogg files the first thing to do is download and install the XiphQT QuickTime Component for Windows or OS X (link below).
要想播放。og g文件,首先就要去下载并且安装Windows或者OSX(链接在下方)环境下的XiphQTQuickTim组件。
The Raytheon Solipsys Tactical Component Network (TCN) technology will enable the Pentagon to link sensors and distribute information instantly across both fixed and mobile communication methods.
雷声公司Solipsys分部的战术组件网(TCN)技术将可以使五角大楼通过固定和移动通信的方法,迅速的连接传感器和分发信息。
The former component is provided as a Windows Dynamic Link Library (DLL).
前一个组件是一个Windows动态链接库(DLL)。
The following steps create a business process component and link it to both the inbound and outbound interfaces, which are the export and import, respectively.
下列步骤可创建业务流程组件,并将其链接到入站接口和出站接口(分别为导出构件和导入构件)。
This link enables privileged users to add the news component to any teamplace.
该链接使授权用户能将新闻组件添加到任何teamplace。
This link allows you to map roles defined in your enterprise application to concrete users and groups defined in your user Registry component.
该链接允许将企业应用程序中定义的角色映射到UserRegistry组件中定义的具体用户和组。
In the same way, add a link from the SeparateCustomers component to the FlatFileOutboundInterface import, and click OK to add the matching reference.
请按照相同方式添加从SeparateCustomers组件到FlatFileOutboundInterface导入构件的链接,然后单击OK添加匹配的引用。
The metadata.json file defines the following for each component, link and policy.
该模式由组件、链接和策略构成,其中各项均在名为metadata . json的插件配置文件中定义。
These rules will apply to any link, whether the element is directly included in the JSF page, or it is generated by a JSF component such as <h:commandLink> (see Listing 3)
这些规则可应用于任何链接,无论元素是直接包含在JSF页面还是由诸如 <h:commandLink> 这样的 JSF组件生成(参见清单 3)
When using Ajax, you don't have the real link anymore, and you use the params attribute of the Ajax tag to pass a value of a component with the request.
但使用Ajax时,您不再需要真实的连接,只需使用Ajax标记的params属性传递组件值。
Seam provides two component tags, s: link and s: button, to handle the details for you.
Seam提供了两个组件标记:s:link和s:button,用以处理细节。
应用推荐