Add the following code to the initialize handler for the overall report definition.
将以下代码添加到初始化处理程序中,获得完整的报告定义。
To create a DIV that can be editable, we simply add the following code to our HTML.
要创建一个能被编辑的DIV,我们只用简单地将以下代码添加到HTML中。
Then, add the following code snippet directly below the constructor described above.
然后,在上面描述的构造函数的下方直接添加下列代码片断。
Add the following code to the handle method that will log the reception of a message.
将以下代码添加到handle方法中,该方法将记录消息的接收。
To properly handle the workspace environment variable, we'll add the following code to the build file.
为了合适地处理workspace环境变量,我们将会向构建文件添加以下的代码。
Open the session bean source code that you created earlier, and add the following code from Listing 3.
打开您在前面所创建的对话bean源代码,并从代码行3中添加以下的代码。
Inside your extension's folder, create a text file called popup.html, and add the following code to it.
在您的扩展文件夹中,创建一个叫做popup . html的文本文件,并且加入如下代码。
Add the following code to Program.cs after the creation of the proxy object (mywcf in the example above).
在Program . cs中创建代理对象(上面示例中的mywcf)之后添加以下代码。
To enable sorting of the columns, you must add the following code to the main method before calling the Shell.open method.
要对列启用排序功能,您必须在调用Shell . open方法前向main方法中添加以下代码。
We now need to add our definitions for the slots we're going to write. Add the following code beneath the 'public:' section.
现在,我们需要为要编写的槽添加定义。
This sample code shows how a PHP script can leverage those classes. As before, create a new PHP script (for example, MoreJava.php) and add the following code.
此示例代码显示了php脚本可以如何利用这些类。
To add an ATOM feed link to access the current content, add the following code shown in listing 4 to the specific component where you want the link to display.
要添加一个ATOM提要链接来访问当前内容,将清单4中所示的代码添加到您想要在其中显示链接的组件中。
You can just as easily add those by following the same patterns I describe in this section of the code.
您可以按照我在这段代码中描述的相同的模式轻松添加这些元素。
To make things working, we need to add a section for the ScriptHandlerFactory HttpHandler using the following code snippet under the <system.web> section
我们还需要在<system.web>节点下添加如下代码段,以完成对ScriptHanlerFactory的应用。
To start our skin client, we must first initialize the GTK environment, create a main window, and add widgets to it, as in the following code snippets.
为启动外壳客户机,我们必须先初始化GTK环境,创建一个主窗口,然后向其中添加控件,如下面的代码片断所示。
The data binding code and data synchronization code are also generated automatically. The following C# code is generated by IBM Database Visual Studio Add-in to bind the Employee table.
还会自动地生成数据绑定代码和数据同步代码。
Optionally, for better usability, add the following line of code to the onclick event for the edit button.
为了获得更好的可用性,可以选择将以下代码行添加到编辑按钮的onclick事件。
In the following sections, you add the code necessary for retrieving the content and design from the Domino view that the user has selected from the List component in the Flash movie.
在下面几节中,您将添加检索用户在Flash影片中的List组件中所选择的Domino视图的内容和设计所需的代码。
Coldfusion will add the following to this code to ensure your Web server passes the appropriate Coldfusion file formats to the Coldfusion application to handle.
Coldfusion会将以下内容添加到这行代码中,以确保Web服务器将适当的Coldfusion文件格式传递给Coldfusion应用程序进行处理。
To register the SunJCE provider dynamically, add the following lines of code at the beginning of your program.
要动态注册SunJCE提供者,请在您程序的开头处添加下列代码行。
To view the generated code, create a UML model and then add a UML class A. To this class add the following elements.
为了观察生成的代码,请您创建一个uml模型,然后添加一个uml类a。
Next, add the following lines in the code for the second process (Listing 4) just after STD: : cout, and rebuild the code.
接下来,在第二个进程的代码(清单4)中std:cout后面添加以下代码并重新构建代码。
Assign an IP on the RoCE switch, and use route add, or use the following code.
在RoCE交换机上分配一个IP,并使用路由添加或使用以下代码。
If you're using the JSF reference implementation from Sun Microsystems (and not the MyFaces implementation), you'll have to add the following to your component-creation code.
如果正在使用来自Sun Microsystems的JSF参考实现(不是MyFaces实现),那么就不得不在组件创建代码中添加下面一段。
In the following steps, we will use the tool to generate the basic code required for a JSF portlet and then add the Web service component to it. To create a JSF portlet.
在下面的步骤中,我们将使用工具来生成jsfportlet所需的基本代码,然后将Web服务组件添加到其中。
Use the following line of code to add a static map that keeps track of which instance is issued for each community.
使用以下代码行添加一个静态映射,跟踪为每个社区发出的实例。
It is highly recommended to place custom code in a second source folder. In order to add a second source folder, use the following steps.
我们强烈推荐将定制代码存入次级源文件夹中。
Add the following snippet of code between welcome-file-list> and in the web.xml file located in “
编辑位于 "
And add the following line of code to the onclick event for the Replace document and Cancel buttons.
将以下代码行添加到Replacedocument和Cancel按钮的onclick事件。
Now, within the jni folder, create a file called native.c. Place the following C code in this file to start; we’ll add another function later
现在,在jni文件夹中,创建一个叫做native.c 的文件。
应用推荐