一旦附加到上下文中并在合并过程中传递,这些属性在Velocity模板中立刻就变得没有用了。
Once attached to the context and passed in during the merge operation, these attributes are immediately usable within the Velocity templates.
然后对于其流程规范派生自这些流程模板的项目区域,可以在其上下文中查看流程描述。
They can then be viewed in the context of project areas whose process specifications have been derived from these process templates.
如图5所示,我们使用模板将这些上下文的结构和样式与创建数据的模块分隔开。
As shown in Figure 5, we used templates to separate the structure and styling of these contexts from the modules creating the data.
WS响应模板模式规范详细说明了上下文、问题和模式提供的可重复解决方案。
The WS response template pattern specification details the context, the problem and the repeatable solution that the pattern provides.
清单9中演示的上下文接口允许应用程序提供模板变量替换值的定制解决方案。
The context interface, illustrated in Listing 9, allows an application to provide customized resolution of the template variable replacement values.
RUP包括各种内容、可交付模板、流程模板、角色、流程和构件指南等等,几乎可以针对任意项目上下文进行定制。
RUP contains extensive content, deliverable templates, process templates, roles, process and artifact guidance, and so on that you can tailor to almost any project context.
将此逻辑放入其自己的模板中,可以允许从任何位置在任意元素的上下文中方便地对其进行调用。
Placing this logic in its own template allows it to be easily invoked from anywhere, in the context of arbitrary elements.
当你安装设置完毕后,WLW会从你博客上下载样式表和发布页模板,这样子的话即使你是在本地离线写作,你也可以获得和发布后一样效果的预览。
Once you’re set up, WLW will download the stylesheet and post template, so as you write your posts you can see exactly how it will look when it’s posted.
在各种上下文和应用程序中,URI 都模板很有用。
URI Templates are useful in a variety of contexts and applications.
模板上下文中的所有变量都可以使用。
And all the variables within the template context are available.
WS响应模板模式规范详细说明了上下文、问题和可重复的解决方案。
The WS response template pattern specification details the context, the problem and the repeatable solution.
“创建流程”定义被视为模板中的组件,并可以用于组合应用程序的上下文。
The "create process" definitions are treated as components within a template and can be used in the context of composite applications.
结果列出了元素在模板上下文中的位置。
The results list the position of the element within the context of the template.
用户可以从openvz .上下载ubuntu软件的模板。
Users will download an Ubuntu software template from OpenVZ.
一组支持类,用于处理变量的绑定、运行时上下文的管理以及与模板规则匹配的节点。
A set of supporting classes to handle binding of variables, management of the run-time context, and matching of nodes against template rules.
Dojo将自动扫描这些附加点的模板,然后用相同的名称创建关系上下文的 this变量。
Dojo will automatically scan the template for these attach points and then create the contextual this variable with the same names.
在模板中访问上下文属性。
该模板是使用名为object _ list的职位列表的上下文呈现的。
The template is rendered with a context of the job list named object_list.
你现在可以在一个控制器的action方法中键入Ctrl - M, Ctrl - V,或者在一个action方法中右击,选择“添加视图”上下文菜单项来生成新的视图模板。
You can now type Ctrl-M, Ctrl-V within a Controller action method, or right-click within an action method and choose the "Add view" context menu item to create new view templates.
使用一个上下文来表示模板。
控制器方法会返回字典,它们在对指定的Kid模板进行呈现时被用作名称空间或上下文。
Controller methods return dictionaries, which are used as a namespace, or context, during the rendering of the specified Kid template.
上下文字典,它包含模板数据。
render_to_response()方法是一个Django快捷方式,用来呈现一个具有特定上下文的模板,它返回的是一个 HttpResponse对象。
The render_to_response() method is a Django shortcut for rendering a template with a specific context and returns an HttpResponse object.
这个XPath表达式的上下文节点是模板替换的元素,在这里是ATOM元素。
The context node for this XPath expression is the element that the template is replacing — in this case, an ATOM element.
对请求对象和属性、会话对象和属性以及servlet上下文和属性的直接模板访问。
Direct template access to the request object and attributes, the session object and attributes, and the servlet context and attributes.
要创建这种代码,在属性值模板(放在花括号中的代码)中使用上下文项的值。
To generate this code, you use attribute value templates (the code inside the curly braces ) with the current value of the context item. Each table row is defined like this.
可以使用Output树的上下文菜单修改输出模板,为其添加新的节点,或者从input树中拖放已有的节点。
The output template can be modified by using the output tree's context menu to add new nodes to it or by dragging and dropping existing ones from the Input tree.
然后可以使用上下文的put(key,value)方法,把将要导入供模板使用的对象附加到上下文中。
You can then attach objects that are to be imported for template use to the context using the put(key,value) method of the context.
我们来看看使用第6部分描述的announcement模块的三个上下文所用的模板。
Let's take a look at what these templates might look like for our three contexts using the announcements module described in Part 6.
ejbCreate初始化apacheVelocity模板引擎上下文,并查看JMS管理对象、连接工厂和目标。
EjbCreate initializes the Apache Velocity templating engine context and looks up the JMS-administered objects, the connection factory, and destination.
应用推荐