mashup和动态页面组件。
page类是所有页面组件的基类。
The org.apache.click.Page class is the base class for each page component.
一切就绪后,我们就能测试页面组件了。
When everything is set up we can start testing page components.
测试页面组件的测试用例。
它使用JSP文件来处理所有的页面组件。
第一个类扩展Page(所有页面组件的基类)。
Your first class extends from Page, which is the base class for all of your page components.
现在从左侧面板中拖出应用程序页面组件,如图6所示。
Now, drag the application page components from the left Palette, as shown in Figure 6.
使用页面的虚拟路径做为页面组件的名称。
Use the virtual path to the page as the name of the page's assembly.
允许页面组件将可用的全局事件公布到所有其他页面组件。
Allows page components to publish a global event that is available to all other page components.
如果存在可以改进的页面组件,YSlow会给出改进建议。
If there is a page component that you can improve, YSlow suggests improvements.
允许页面组件将一个可用的全局事件订阅给所有其他页面组件。
Allows page components to subscribe to a global event that is available to all other page components.
允许页面组件取消所有其他页面组件对可用的全局事件的订阅。
Allows page component to unsubscribe from a global event that is available to all other page components.
允许页面组件将事件广播到页面上的所有widget或组件。
Allows page components to broadcast an event to all the widgets or components on the page.
可以在多个模板之间使用页面组件文件,还可以更改模板来修改布局而不会影响数据。
You can use the page component files across multiple templates, and you can change the templates to modify the layout without affecting the data.
我们还可以使用封装和继承给现有页面和组件添加新的行为。
We can also use encapsulation and inheritance to add new behavior to existing pages and components.
您可以使用内置的复合应用程序导航器切换页面,使用聚合组件在进行页面转换时保持上下文。
You can use the built-in composite application navigator to switch pages, and an aggregation component can maintain context across page transitions.
无需任何特别的工具来设计页面或是组件。
You should not need any fancy tools to design pages or components.
随着应用程序不断变大,组件、页面和连接也越来越多,这时就可能出现问题。
As your applications get larger, with more components, pages, and wires, then problems might creep in.
在组件中创建页面。
视图允许根据页面、组件或链接的属性对信息进行分类,而且这便于理解应用程序的总体数据流。
The view lets you sort the information based on the page, components, or properties linked, and it's a handy way to understand the overall data flow of an application.
这种方式需要创建一个包含模板标记和组件的XHTML页面,然后将这些页面作为组件在其它页面中使用。
This approach involves creating an XHTML page that contains the template mark-up and components, and then using these as components in other pages.
相反,页面是在组件添加到位置时自动创建的。
Instead, the page is created automatically when a component is added to a place.
接下来指定呈现应用程序视图的JSP页面和组件树。
Next you'll specify the JSP pages and component trees that represent the application view.
面板中列出了可以直接拖放到页面上的组件。
The palette lists components which you can drag and drop directly onto a page.
首先,框架需要恢复表单页面的组件树。
First, the framework needs to restore the component tree of the form page.
位置是所有页面和组件的顶层容器。
A place is a top-level container for all the pages and components.
在组装应用程序时,各个组件被线连到一个页面切换组件,这个组件将这些状态通知映射为特定的页面迁移。
At application assembly time, the components are wired to a page switching component that maps these notifications to the specific page transitions desired.
CSS文件包含一些样式表规则,这些规则可以应用于JSF组件能够呈现的HTML元素,也可以被简单地包含在jsf页面的组件之间。
CSS files contain style sheet rules that apply to the HTML elements that can be rendered by JSF components, or that can simply be included between the components of the JSF page.
在图3所示的确认模式组件页面上,执行以下操作。
On the Configure Pattern Components page, shown in figure 3. Do the following.
使用无状态页面和组件,可以扩展到非常大规模的用户数。
Scale to extremely large Numbers of users with stateless pages and components.
应用推荐