页面模板用于定义页面的框架结构。
第一种方法是向选中的页面模板添加布局标记。
The first is, obviously, to add the layout markup to the selected page template.
对带有Tiles的运行时间页面模板的支持。
现在我们要创建视图所加载并呈现的两个页面模板。
Now, create two page templates to be loaded and rendered by the views.
第1部分:创建J SFWeb项目和页面模板。
这样,就可以根据页面模板是否用于主页来控制显示哪些内容。
This way, we control which content to present based on whether the page template was being used for the home page or not.
页面模板定义的页面用来包含节点模板定义的任何节点的显示。
The page, defined by the page template, is used to contain the display of any node as defined by a node template.
当然,也可以使用结果页面模板和分页机制代码片段来实现此功能。
You can certainly accomplish this with a template for the result page and a snippet for the paging mechanism.
接下来的部分将覆盖从会话处理到创造页面模板的内容。
The following parts cover everything from session handling to creating page templates.
Web站点结构和导航图支持页面模板、页面片段、样式表,和主题。
The Web site structure and navigation diagram supports page templates, page fragments, styles, and themes.
视图还可以给模板变量赋值;这些值会在运行时自动地填充到页面模板中。
Views can also assign values to template variables; these values are automatically interpolated into the page templates at run-time.
此处的想法是让站点看起来像使用了框架,除了现在利用页面模板的情况。
The idea here is to allow the site to look just as it did with the frames, except now by using the page template.
使用页面模板(这些是带有具体外观的模板,包括web页面的设计)。
Using page templates (these are templates with specific look and feel, including the design of Web pages).
这一部分,我们谈论页面模板的具体实现及应用逻辑与表现层的分离。
This part describes a practical implementation of page templates and the separation of application logic from the presentation layer.
同样,这也没什么奇怪的,因为我们唯一的页面模板上只有一个Portlet。
Again, no surprise here because we had only one portlet on our single page template.
然而,他的主要目标是保证你能够重复使用其他的页面模板的大段代码。
However, its primary aim is to ensure that you can reuse chunks of other page template code.
为实现该操作,要使用提供的页面模板(如文章1所示)创建一个新的jsf页面。
To do this create a new JSF page using the page template provided (as described in article 1).
这种方法可能更适合您的主题设计人员,因为他们可以从页面模板文件直接控制对样式表的使用。
This method may be preferable to your theme designer because they can control the use of stylesheets directly from the page template file.
新特性(比如基于URL路径寻找页面模板)增强了主题设计人员对模块提供的数据进行定制的能力。
New features, such as finding page templates based on the URL path, improve a theme designer's ability to customize the data presented by modules.
其中的原因是,结果显示方式的方方面面都由模板引擎处理,并且存储在页面模板文件中。
The reason for this is that all aspects regarding the way the results is displayed are handled by the template engine and stored in the page template files.
在传统的Web应用程序开发中,采用页面模板系统把视图生成与控制器逻辑和模型数据干净地分离。
In traditional Web application development, page templating systems are used to cleanly separate view generation from controller logic and model data.
视图与页面模板紧密结合,页面模板包含必要的布局代码和标记,以将视图正确地呈现给用户。
Views are closely coupled with page templates, which contain the layout code or markup necessary to correctly present the view to the user.
首先,使用相同的页面模板创建一个名为 DisplayProfessional.jsp 的新页面。
Start by creating a new page called DisplayProfessional.jsp, using the same page template.
首先,使用相同的页面模板创建一个名为 DisplayProfessional.jsp 的新页面。
Start by creating a new page called DisplayProfessional.jsp, using the same page template.
应用推荐