Views are closely coupled with page templates, which contain the layout code or markup necessary to correctly present the view to the user.
视图与页面模板紧密结合,页面模板包含必要的布局代码和标记,以将视图正确地呈现给用户。
You can configure a client definition to use one of these view modes by specifying the view mode as the markup version.
您可以通过指定视图模式作为标记版本,配置客户端定义来使用其中一种视图模式。
Recall that all id attributes in the HTML markup for view and edit modes contain the prefix _IWID_ that is replaced by the actual widget instance id when the widget is created.
回想一下,视图和编辑模式的HTML标记中所有id属性都包含 _IWID_ 前缀,这些前缀在小部件创建时会被实际的小部件实例 id替代。
If the server side state of a portal resource that was once required to generate the markup for a specific page changes, this page needs to be regenerated, and thus the cached view becomes invalid.
如果曾用于生成特定页面的标记的某个门户资源的服务器端状态发生更改,需要重新生成此页面,因而缓存的视图会变为无效。
A child view contains only the markup that is required for one section of the view.
子视图仅包含用于展示视图某部分的必须的标记。
Listing 3 shows the HTML markup for the view mode.
清单3显示了视图模式的HTML标记。
The XDIME aggregator has three different view modes or markup versions.
XDIME聚合器有三个不同的视图模式或标记版本。
Notice that you declare the markup of your widget within this mode in listing 7 (mode="view" attribute).
注意,在清单7 中,您在该模式的内部声明了小部件的标记(mode="view"属性)。
To do so, you have to implement the markup of the edit view.
为此,您必须实现编辑(edit)视图的标记。
Under many Web development frameworks, this would be the point at which to abandon your prototypes and begin converting all your markup to servlets, JSPs, or view components.
在许多Web开发框架下,可能就是在这里抛弃原型,开始把标记转换成servlet、JSP或视图组件的。
Proper use of this markup will allow CakePHP to cache the static parts of the view or layout, while making sure that the dynamic portions of the page are retrieved for every request.
正确地使用此标记将让cakephp缓存视图或布局的静态部分,同时确保对于每个请求都检索页面的动态部分。
All other markup (the body, headers, and so on) would be contained in the parent view.
所有其它的标记(body,head等等)会在包含在父视图中。
If you tried the exercise I just mentioned, you probably found some of the potential troubles for a tree-view of your markup (if you didn't exercise, just take my word for it!)
如果尝试刚提到的练习i,您可能会发现标记的树视图中存在一些潜在问题(如果不练习的话,那就听我说吧!)
From a portal server point of view, the most important part is the size of the HTML page containing the resulting markup.
从门户服务器的角度来看,最重要的部分是包含结果标记的html页面的大小。
An XML document is just so much markup unless there is some way of providing a "view" of the data that turns the XML into the engine for running the application.
如果无法提供数据的“视图”,XML文档就只是一堆标记而已;数据视图会把xml转换为运行应用程序的引擎。
We do not set callbacks from the view to the controller directly in the markup.
我们无需在markup中直接设置从视图到控制器的回调。
Set the contents of the view to match the markup shown in Listing 8-32.
设置该视图的内容,使之与清单8 - 32所示的标记相匹配。
Click the Add button to create the view and edit the markup so that it matches Listing 9-30.
点击“添加”按钮以生成这个视图并编辑其标记使之与清单9 - 30吻合。
Some markup errors can prevent you from switching to Design view because the errors would cause problems for the editor, including possible data loss.
一些标记错误可能阻止您切换到“设计”视图,因为这些错误将给编辑器造成问题,包括可能丢失数据。
To see this behavior in action, you might experiment with some WPF XAML markup, view the results in an object graph, and then serialize back to markup again.
若要观察这种行为的运作情形,您可以使用某个WPFXAML标记进行实验,并在物件图形中检视结果,然后再重新序列化为标记。
When this option is selected, the editor initially displays Web pages in Source view, showing the page's markup.
选择此选项后,编辑器一开始将在“源”视图中显示网页,这将显示页的标记。
When this check box is selected, pop-up lists of valid elements, properties, attributes, or methods are displayed as you edit markup in the Source view editor.
选择此复选框后,在“源”视图编辑器中编辑标记时会显示有效元素、属性、特性或方法的弹出列表。
You can then view the page source in the browser and copy and paste the CSS block into the page markup or into a separate file.
然后您可以在浏览器中检视网页原始档,并将CSS区块复制并贴上至网页标记或不同的档案。
Source view displays the HTML markup for your Web page, which you can edit.
“源”视图显示网页的HTML标记,您可以对它进行编辑。
Gets or sets the height of pages in the document when it is displayed in reading layout view and is frozen for entering handwritten markup.
获取或设置当文档在阅读版式视图中显示且被冻结以输入手写标记时,文档中页的高度。
Gets or sets the width of pages in the document when it is displayed in reading layout view and is frozen for entering handwritten markup.
获取或设置当文档在阅读版式视图中显示且被冻结以输入手写标记时,文档中页的宽度。
First we'll define the view-model. After that, we will bind the HTML markup to the view-model.
首先,我们要定义视图模型。之后,要将HTML标记与视图模型进行绑定。
Returns HTML markup for each property in the model, using the specified template, an HTML field ID, and additional view data.
返回由在使用指定的模板和其他视图中数据的表达式表示的对象中的每个属性的HTML标记。
When you switch back to source view, the design-time control is persisted to the markup source code and edited into the markup for the Web page.
在切换回“源”视图时,设计时控件仍保持为标记源代码,并被编辑到网页的标记中。
When you switch back to source view, the design-time control is persisted to the markup source code and edited into the markup for the Web page.
在切换回“源”视图时,设计时控件仍保持为标记源代码,并被编辑到网页的标记中。
应用推荐