当前有效的流程模板视图如图14所示。
The current valid process templates view is displayed as shown in Figure 14.
选择Template来访问模板视图。
这会在运行时要求Streamlined调用公共模板视图。
This will prompt Streamlined, at run time, to invoke the common template views.
现在使用流程模板ID联接任务模板视图与流程模板视图,并查询人工任务活动的任务模板,如清单3所示。
Now, join the task template view with the process template view using the process template ID, and query the task template for human task activities, as shown in Listing 3.
并且,由于Student控制器内的每个函数都会接触到模板视图,所以需要加载urlHelper,作为Student构造函数的一部分(参见清单14)。
And, because every function in the Student controller touches the template view, you need to load the URL Helper as part of the Student constructor (see Listing 14).
也可以添加定制数据库视图和文档模板。
You can also add custom database views and document templates.
这个显示模板显示幻灯片视图。
但能够得到一个初始的实现并能很快地运行起来,针对你的场景有一个你可以轻松细调的起始视图模板是非常有用的。
But being able to get an initial implementation up and running quickly, and having an initial view template for your scenario that you can then easily tweak is really useful.
每个视图都需要这样的一个模板,但是,所有视图的、和元素都将相同。
You need a template like this for each view, but the, and elements will be the same for all the views.
如果您在控制器中创建了一个实例变量,那么这个变量就可以直接在视图模板中使用。
If you create an instance variable in your controller, that variable will magically be available to your view template.
在视图文件夹中,模式作者将存储用来表示数据视图的模板。
Under the view folder, pattern authors will store the templates that represent the data views.
这个例子很明显地演示了jsf请求url与视图模板之间并不一定存在一对一的关系。
This example clearly demonstrates that the one-to-one mapping between a JSF request URL and view template is not imperative.
视图模板在理解工作原理时具有极高的价值。
The view template was highly valuable in understanding how things work.
接下来,您将创建模板和主页视图(后者只是一个包含项),并完成控制器。
Next, you create the template and home views (the latter being just an include) and finish off the controller.
我们将开发一个用于创建单纯视图的简单模板。
We're going to develop a simple template that creates a simplistic view.
另一方面,您可能不希望验证标记打乱您的视图模板。
On the other hand, you probably don't want to clutter your view template with validation tags.
因此,如果抽取这些元素并将其放入公共模板,则可以从所有视图调用该模板(通过名称)。
So if these elements were extracted and put in a common template, the template can be called (by name) from all views.
默认的导航视图模板以一种全面的、经过良好组织的方式封装了用于为IT解决方案编制文档的最佳实践。
The default navigation view template encapsulates best practices for documenting an IT solution in a comprehensive, well-organized way.
在清单2中显示了模板的简化视图。
A simplified view of the template is illustrated in Listing 2.
结合使用视图和模板,就可以成功地构建提要。
With the combination of the view and the template, you have successfully built your feed.
您需要为刚才创建的视图创建一个视图模板。
You need to create a view template for the view you just created.
随后进行的视图呈现将数据提供给视图模板,将视图展现出来。
View rendering, which happens afterward, feeds data into a view template to generate a presentation.
下一节就会看到,将安装改变搭建视图的默认模板。
As you'll see in the next section, you'll install the default templates to change the scaffolded views.
我们将会导入该类(装载我们通过视图模板生成的类)并且接下来检验代码的相关部分。
We will import the class (overriding the one generated for us by the View template) and then examine the relevant portions of the code.
可以使视图为每个文档创建对象,然后将其他XML放置在视图模板中。
You can have the view create the objects for each document, and then place the rest of the XML in a view template.
稍后会看到,Streamlined可以把这些值替换进视图模板,形成完整的用户界面屏幕。
Streamlined can substitute these values into view templates, which you'll see later, to form full user interface screens.
这段代码将生成ActiveRecord模型、带有相应映射路径的控制器和几个视图模板。
This generates an ActiveRecord model, a controller with an appropriate route mapped to it, and several view templates.
这些注释使变量能够在视图模板和Seam组件之间双向流动。
These annotations enable a bidirectional flow of variables between the view template and Seam components.
View - based Application模板是用在单个视图应用程序模型中的。
The View-based application template is for a single view application model.
创作模板授予对AuthoringTemplates视图的查看访问权。
Authoring Templates Grants view access to the Authoring Templates view.
应用推荐