Both the new methods are shown in Listing 3. Add them to the mediation handler class.
这两个新方法都在清单3中给出。请将它们添加到该中介处理程序类中。
Listing 9 shows how to add a new device, and then a CPU graph.
清单9显示了如何添加一个新的设备,然后是一个cpu图表。
Listing 10 introduces another script that allows users to add new contacts through a Web form.
清单10给出了另外的脚本,让用户能够通过网页表单添加新的联系人。
To see that in action, add a few existing entries to a new instance (see Listing 3).
要查看此效果,将几个现有条目添加到新实例中(见清单3)。
Listing 5 below shows a sample SOMA request to add configuration for a new partner.
下面的清单5展示了一个为新合作伙伴添加配置的样例soma请求。
In the sample application, a listing page that has the ability to add new entries is the base of the user interface.
在样例应用程序中,一个拥有添加新条目能力的清单页是用户界面的基础。
As shown in Listing 5, you can add new key-to-data value mappings, you can change existing mappings, and you can remove mappings.
如清单5所示,可以添加新的键到数据值的映射,可以修改现有的映射,还可以删除映射。
Add a transformation XSL style sheet similar to that in Listing 8 to transform the questionnaire XML in Listing 7 for the new media type.
添加与清单8中类似的XSL转换样式表,用以为新的媒体类型转换清单7中的xml调查表。
They inherit all the attributes and elements from the base, and add new attributes of its own, as shown in Listing 8.
它们继承基类型的所有属性和元素,并添加自己的新属性,见清单8。
The first step in adding the new item to the database is to create a new question element and add that, as in Listing 6.
把新项添加到数据库中的第一步是,创建并添加一个新的问题元素,见清单6。
The code in Listing 8 fetches the item where you want to add the new child.
清单8中的代码获取您想要添加新子级的项目。
Once you have the address of a collection, we use the HTTP POST method to add new resources as illustrated in Listing 4.
得到集合的地址后,我们使用HTTPPOST方法增加新的资源,如 清单 4 所示。
Add the code in Listing 5 to a new file, badge.php and save it in the same folder as generate.php.
将清单5中的代码添加到一个命名为badge . php的新文件中,并将其保存到generate . php所在的目录中。
Add a new file to the WEB-INF directory named geronimo-web.xml, then place the contents shown in Listing 3 in this file and save it.
在web - INF目录中添加一个名为geronimo - web . xml的新文件,然后在这个文件中放入并保存如清单3所示的内容。
Add the following class values shown in Listing in the skin.css file by using the new style wizard or directly through the text editor.
使用新样式向导或者直接使用文本编辑器,来添加skin . css文件中列出的以下类值。
Add three new lines to your Grails startup script, as shown in Listing 4.
向Grails启动脚本添加三个新行,如清单4所示。
Create a new boot image on hdisk0 and add it to the boot list, as seen in Listing 10.
在hdisk0上创建一个新的启动镜像,并将它添加到启动列表上,如清单10所示。
Also update the application's routing table to add a new route for this Action, as in Listing 1.
并且更新应用程序的路由表,为这个Action添加一个新的路由,如清单1所示。
Open the MySQLDatabaseSystemUnitValidator class and add a new class attribute for the validator identifier to your source code (see Listing 8).
打开mysqldatabasesystemunitvalidator类,并为确认器标识符向源代码添加一个新的类属性(见于代码清单8)。
At this point, you add three new attributes to the existing ClickToCall widget declaration, as shown in Listing 4.
此时,您添加三个新属性到现有的ClickToCall小部件声明中,如清单4所示。
For this example (shown in Listing 4), I've used the basic_test framework of LinSched to add a new scenario.
对于此示例来说(如清单4所示),我使用了LinSched的basic _ test框架添加新的场景。
In Listing 3, you'll see how you can add a new record to the Accounts module using the interface.
在清单3中,您将看到如何使用该接口将新记录添加到Accounts模块。
In this case, just add a new date field called "published," then issue the zero model reset command (Listing 8).
在此例中,只需添加一个名为“published”的新日期字段,然后发出zeromodelreset命令(清单8)。
To see how it works in a Warsaw-based project, we need to add a new dependency to its pom.xml file, as shown in Listing 21.
要了解如何在基于Warsaw的项目中使用Appendix应用,我们需要在该项目的pom . xml文件中添加新的依赖,如清单21所示。
In this directory, create a new file named Now.php and add the contents of Listing 2 to it.
在此目录下,创建一个新文件,命名为Now . php,然后将清单2的内容添加到其中。
Listing 10, which is based on listing 7, creates a form to add new event listings and then submits the form data for addition to Google base.
清单10以清单7为基础,创建一个表单来添加新的事件清单,然后将要添加的表单数据提交到Google base。
Listing 19 USES Zorba to read this file and add a new entry to the end using an XQuery Update expression.
清单19使用Zorba读取该文件,并使用XQueryUpdate表达式在末尾添加一个新条目。
This is actually quite simple: to add a new entry, simply POST an XML-encoded block to the private feed URL. Listing 6 has an example of one such block.
这实际上相当简单:要添加新的项,只要发布一个XML编码的块到私有提要URL即可。
All you need to do is add a new method to the ApiController, as shown in Listing 2.
您仅需将一个新方法添加到ApiController,如清单2所示。
To create this, open the templates folder and create a new text file called JET.skeleton (File -> New -> File), and then add the content shown in Listing 8.
请按照下面的步骤做,打开模版文件夹,建立一个新的文本文件,将其命名为JET.skeleton(File->New -> File),然后在其中添加列表8所示的内容。
应用推荐