选择之一是构建字符串并在页面上设置元素的内部HTML。
One option is to build a string and set the inner HTML of elements on the page.
下面这个实用工具可以帮助您创建元素、设置元素属性和风格,并添加文本子节点。
Here is a utility that helps you create an element, set its attributes, set its styles, and add a text child node.
我讨论了第一个,即逐个设置元素的格式,但是没有讨论第二个,即页面主体本身的格式。
I dealt with the first, which is per-element formatting, but not with the second, formatting on the body of a page itself.
通过设置公共成员变量m_bAutoResize =TRUE (缺省),该树可以通过成员变量中用于控制增减和减少的参数自动的设置元素数目的大小.
By setting the public member variable m_bAutoResize to TRUE (the default), the tree is automatically resized using the parameters contained in the member variables controlling Growing and Shrinking.
属性和行为都涉及到在组件视图中获取或设置数据元素的值。
Both properties and actions involve getting or setting the value of data elements in your component view.
它允许输入单一工作负载,输入基本的账户信息,然后使用基准和其他研究元素设置规格化的响应值。
It allows you to take a single workload, enter basic account information and then USES benchmarks and other research elements to set normalized response values.
新的消息元素设置基元提供了一种简便的方法以更改中介流中的数据以及更新消息,而无需编写自定义的代码或定义xsl转换。
The new message element setter primitive provides an easy way to change data in a mediation flow and update the message without having to write custom code or define XSL transformations.
您必须适当地设置部署描述符元素。
You will have to set the deployment descriptor element appropriately.
设置缓存元素的超时时间,以秒为单位。
Sets the expiration timeout in seconds of the cached elements.
清单1展示了一个例子,它有三个元素,设置为链接到三个不同的URL。
Listing 1 shows an example of this, with three elements set to link to three different URL's.
属性编辑器视图用来对增加到报表上的报表元素设置属性。
The Property Editor View is used to set properties for report elements that have been added to the report.
然后使用订单和地址设置表单中的元素值,清单16给出了更新显示内容的代码。
The order and address are both then used to set values of elements on the form; Listing 16 shows the code that updates the display.
消息泵解析xml指令,并设置输入页面中的元素。
The message pump parses the XML instructions and sets the elements in the input page.
它创建一个图片元素然后设置适当的资源属性。
This creates the image, and sets its source up appropriately.
随后,设置负责处理XML元素开始和结束的回调函数。
Then, set callback functions, which are responsible for handling the start and end of XML elements.
用户可以对众多系统设置和视觉元素进行调整。
It gives users the ability to alter a great number of system Settings, and visual elements.
下面的图8展示了一些额外的编辑器,可以用于设置任何选定元素定义的值。
Figure 8 below shows additional editors that you can use to set the value of any selected element definitions.
当元素设置了"att"属性时匹配成功,而不论属性值是什么。
Match when the element sets the "att" attribute, whatever the value of the attribute.
下面的代码添加title元素并设置它的值(对于给定的包含document和chapter元素的消息)。
The following code, given a message containing the document and chapter elements, adds the title element and sets its value.
第二个方法是在创建元素之前设置缺省的XML命名空间。
The next way is to set the default XML Namespace before creating elements.
这些WebSphere配置元素和设置可以被打包进开发工具导出的.ear文件。
These WebSphere configuration elements and Settings can be packaged into the.ear file exported from the development tooling.
一旦收到这个事件,动作就把localstate的元素设置为中包含的值。
Once this event is received, the action sets the local-state's element to the value contained in.
根据type属性的值的不同,标记文件执行不同的JSP代码片段,并设置与HTML元素同名的模型属性。
Depending on the value of the type attribute, the tag file executes different JSP fragments, which set the model property with the same name as the HTML element.
很好,但是您对这种结构所能做的只是通过单独的(或者多维的)索引来设置和检索元素。
Good enough, but about all you can do with this structure is set and retrieve elements by individual (multi-dimensional) index. In contrast, a Numarray array is a bit more flexible.
如果未指定target,则使用默认target(我在project元素中设置的target)。
If no target is specified, the default is used, which I set in the project element.
然而,通过对blueprint元素设置default - activation属性,可以为blueprintXML文件内的所有管理器修改默认激活模式。
However, the default activation mode for all managers within the blueprint XML file can be changed by setting the default-activation attribute on the blueprint element.
最重要的部分就是使用指向Google服务的URL设置脚本元素。
The important part is simply to set the script element with the URL to the Google service.
最重要的部分就是使用指向Google服务的URL设置脚本元素。
The important part is simply to set the script element with the URL to the Google service.
应用推荐