Therefore, there is a need to tell a cache how long a rendered view of page remains valid.
因此需要告知缓存已呈现的页面视图保留的有效时间。
How you set remote cache information depends on the "freshness" requirements and the scope of the rendered view.
设置远程缓存信息的方式依赖于呈现的视图的“刷新”要求和范围。
First we will use a Servlet 2.3 Filter to apply an ETag generated using an MD5 checksum of the rendered view (a "shallow" ETag implementation).
首先我们将使用Servlet 2.3Filter,利用展现视图(rendered view)的MD 5校验和(checksum)以实现生成ETag的方法(一个“浅显的”ETag实现)。
Relocatable resources: resources can be told where to render themselves, and this rendered location may be different from the resource tag placement in the view.
可重新定位的资源:我们可以指定在哪里渲染资源,这个渲染位置可能与视图中的资源标签位置不同。
To see the rendered image from the camera's point of view, you have to convert the 3d world to camera space by taking the camera position and orientation into account.
要从摄像机的观察点观察渲染后的图像,您必须考虑摄像机的位置和方位,将3d世界转换为摄像机空间。
In line 5 we create an ActionMessages instance to hold a status message, and in lines 12 — 14 and 17 — 19 we save the ActionMessages into the request so they can be rendered in the view.
在第5行我们创建了一个ActionMessages实例来保存状态信息,而在第12 -14行和17 -19行我们将ActionMessages保存到了request中,这样它们就可以在视图中被渲染。
For example, you can easily write your own view class to change the way views are selected or rendered, or use a different database platform for models (the default is Ruby Sequel).
例如,你可以很容易编写自己的视图类来改变视图选择和渲染的方法,或者为模型换用另一个数据库平台(默认的Ruby的Sequel)。
Finally, in the view page, the chart is rendered using the function render_chart which takes the swf chart file name, url, xml, width, height, debugMode, registerWithJS as parameters.
最后,在视图页中,render_chart函数将会渲染出图表。这个函数的参数是swf图表名称、url、width、height、debugMode和registerWithJS。
One view allows you to interact with the rendered image.
有一种视图让你可以与渲染后的图像交互。
This rendering process simply provides text, so you can set the rendered text as an attribute on the main view.
这个呈现过程仅提供文本,所以我们可以将所呈现的文本设置为主视图中的一项属性。
You can call the same action method from multiple places in the parent view and pass it parameters to specify what is rendered.
你可以在父视图的不同位置调用相同的动作方法,通过参数传递决定要呈现什么。
Rather, they use the same device capabilities abstraction to infer how a particular view should be rendered.
而是使用相同的设备能力抽象来推断出应该如何处理某个视图。
The columns are rendered as they are required, so scrolling the view for the first time is not usually as smooth as it is later.
只在需要栏的时候才呈现它们,所以第一次滚动视图时不像之后滚动它时那么顺畅。
Listing 4 shows key portions of some JSP files: the JSP for rendering the Main view, followed by an example of the rendered content for this JSP.
清单4显示了一些JSP文件的关键部分:用于处理主要视图的JSP,紧随其后的是这个JSP的处理内容的示例。
The words inside the tags are rendered in the style of the "normal" view, i.e. with different fonts, weights, colors, etc.
标记中的字是以“正常”视图的风格产生的,即使用不同的字体、磅值、颜色等。
The HTML is then processed by the browser and a new page is rendered for the end user to view.
然后,浏览器处理HTML并向最终用户显示一个新页面。
Castle MonoRail offers different view engines to produce what is ultimately rendered to the browser.
CastleMonoRail提供了几个不同的视图引擎用于开发呈现到浏览器的视图。
The Action method returns the child view as a string, which can then be rendered directly.
Action方法以字符串的形式返回子视图,可以直接被呈现。
The portlet class needs to be subclassed and the action needs to be intercepted before the existing view is rendered.
在呈现现存的视图之前需要再细分portlet类,也需要截取动作。
If you set your browser locale request to "ja" (for Japanese) and view the source code of the HTML page that is rendered by using the JWL, you will find code like Listing 2 shows.
如果您设置了浏览器场所请求为“ja”(日语),并查看使用JWL调用的html页面的源代码,您将会发现如列表2所示的代码。
Rendered HTML view of Web pages visited during test recording
生成在测试记录过程中被访问的Web页面的HTML视图
When the value is rendered back to the view, JSF will call the getAsString method in the render response phase.
如果该值被返回呈现在视图中,那么 JSF将在呈现响应阶段调用getAsString方法。
This allows you to view a single portlet rendered by the XDIME aggregator.
这允许您查看XDIME聚合器呈现的单一portlet。
The big problem though is that all the rendered images are at bird's eye view.
但是最大问题就是,所有的渲染图都是鸟瞰图。
Why would HTML show up in view: source but not be displayed or rendered on the page?
为什么会出现在HTML源视图:但不显示或页面上呈现的?
Original object: Take care to move the original object out of the camera view, because, differently than in regular Mesh Dupliverts, in Dupliverted particles it will also be rendered!
原始物体:把原始物体移动到摄像头以外要小心,于正常的网格复制点不同的是,复制点粒子也会被渲染的!
Rank - This property is an integer property that determines the order in which events that occur on the same day will be rendered in a month-to-month view.
排名-这个属性是一个整数属性,决定了在同一天发生的事件将在一个月至三个月的视图被渲染的顺序。
A finished, rendered report is returned to the control and displayed in the view area.
将向控件返回一个处理完且已呈现的报表,并在视图区域中显示此报表。
A finished, rendered report is returned to the control and displayed in the view area.
将向控件返回一个处理完且已呈现的报表,并在视图区域中显示此报表。
应用推荐