You can write HTML fragment code for each mode in the definition XML file directly.
您可以在定义XML文件上为每模种模式接编写HTML片段代码。
You can see one of these functions in the code fragment below.
您可以在下面的代码片段中看到这些函数之一。
You can see one of these functions in the code fragment below (Listing 9).
您可以在下面的代码片段(清单9)中看到这两个函数之一。
The code fragment in Listing 4 gets the first server name in the current context.
清单4中的代码片段获取当前上下文中的第一个服务器名称。
To use this code fragment as a starter building block, you will need to replace the dummy links, database name, and login information to reflect your own environment.
为了将此代码片段用作起始构建块,您需要替换虚拟链接、数据库名称和登录信息来反映您自己的环境。
See Listing 7 for the last sample code fragment.
最后一个样本代码片段,请参阅清单7。
Listing 4 shows the complete code fragment.
清单4显示了完整的代码片段。
Listing 2 shows the complete code fragment.
清单2显示了完整的代码片段。
This code fragment can be reduced back to a single line by moving the JSTL code into a reusable tag file that outputs the element.
通过将JSTL代码移动到输出元素的可重用标记文件中,就可以将此代码片段缩减为一行。
See the code fragment in Listing 3.
浏览列表3中的代码片段。
The following code fragment is a typical setup step required for code which USES the publish API.
下面的代码片段是使用发布api的代码所需的典型的设置步骤。
The dynamically generated code fragment is shown in Listing 25.
动态生成的代码片段如清单25 所示。
Figure 8 shows a fragment of code from the event handler that responds to a user's request to change languages.
图8显示事件处理程序中响应用户的更改语言请求的代码片段。
Take the code fragment shown in Listing 1, which requests the reservation and purchase of airline tickets.
清单1显示了代码片段,请求预定和购买机票。
Listing 15. Code fragment of the key-up event handler for handling the up Arrow and Down Arrow keys.
清单15.key - up事件处理程序中处理upArrow和Down arrow键的代码片段。
Note: the agent code fragment here only shows the ToggleStatus action.
注意:此处的代理代码片段仅展示了ToggleStatus活动。
The code fragment in Listing 6 shows attributes of DataSource.
清单6中的代码片段显示DataSource的属性。
In the fragment of the code above, each viewer was assigned a styleName.
在以上代码片段中,为每个查看器分配了一个stylename属性。
Note that the "transaction" module was not used in the code fragment above; we imported it because the examples below will be using it.
请注意,上面的代码片段没有使用“transaction”模块;我们导入它是因为下面的示例将使用到它。
The fragment of Emacs initialization code in Listing 7 takes care of both of these tasks.
清单7中的Emacs初始化代码片段就是负责完成这两个任务。
You can also save this code fragment as a Jython script file with the extension .py.
也可以将此代码片段另存为具有.py 扩展名的Jython脚本文件。
The code fragment in Listing 1 illustrates the points I've discussed so far in this section.
下面用清单1中的代码片段演示前面讨论的要点。
The default function selector is a code fragment, similar to what follows. Notice that the Exception handling is removed for better code readability.
缺省函数选择器是一个代码片段,与以下所示类似。
When you hover the mouse cursor over a fragment of your code while holding down the Ctrl key on the keyboard, that fragment of the code can turn into a hyperlink.
当您在代码片断上移动鼠标时,同时按下键盘上的Ctrl键,这个代码片断就会变成超链接。
The markup fragment is the HTML code rendered by the Home page for the iWidget when it is showing a given mode.
标记片段是当iWidget显示特定模式时Homepage为其呈现的HTML代码。
Note that there are two communications with the PPE in this code fragment, not one!
请注意在这段代码中与PPE之间有两次通信,而不是一个!
If you use this code for your own schema, you need to alter that fragment of the code.
如果您将这段代码用于您自己的架构,需要更改代码的相应部分。
In the code fragment above, the error message contains a prefix, BTLERR001, which is a unique error code for the application.
在以上代码片断中,错误消息包含了前缀btlerr001,它是用于该应用程序的特定错误代码。
The first fragment gives code for reading the document, calling the modify code, and writing the modified document.
第一段是读取文档、调用修改代码和编写已修改文档的代码。
The first fragment gives code for reading the document, calling the modify code, and writing the modified document.
第一段是读取文档、调用修改代码和编写已修改文档的代码。
应用推荐