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.
测试页面组件的测试用例。
现在从左侧面板中拖出应用程序页面组件,如图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.
可以选择将选定的组件添加到每个页面或单独的页面中。
You can choose to add selected components to each page or to individual pages.
组件和内容都不是直接呈现在页面设计中。
No component or content is directly rendered in the page design.
您可以使用两种选项中的一个来将特定组件添加到一个页面。
You can use one of two options to add specific components to a page.
获取所创建的每一个页面,并将其分解为各个组件。
Take each page created and break it down into individual components.
图6显示了具有分类和子类组件的CD表单页面。
Figure 6 shows the CD form page with its category and subcategory components.
该页面没有什么很值得注意的地方——它使用了标准JSF组件。
There's nothing very remarkable about this page - it USES standard JSF components.
图5显示了具有分类组件的CD表单页面。
Figure 5 shows the CD form page with its category component.
在组件中创建页面。
面板中列出了可以直接拖放到页面上的组件。
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.
既然已经有了页面,您需要增加组件。
Now that you have a page to work with, you'll add the components.
它提供了可用于页面中的现成组件库。
It provides a rich library of ready-made components for use in a page.
在图3所示的确认模式组件页面上,执行以下操作。
On the Configure Pattern Components page, shown in figure 3. Do the following.
mobile和dojox . mobile . TabBar是您的页面将要使用的组件。
The dojox.mobile and dojox.mobile.TabBar are components your page will use.
将blog_current_siteJSP组件添加到页面。
项目中的upload .jsp页面演示了组件的使用。
The upload.jsp page of our project demonstrates the use of the component.
这是该页面上我们可以把组件拖放进去的惟一区域。
This is the only place on the page into which we can drag components.
我们需要将该组件拖到页面中。
该组件可以表示整个页面层次结构,并可从此控件中进行选择。
The entire page hierarchy is represented and can be selected from this control.
获取要在组件编辑器中显示的初始页面的索引。
Gets the index of the initial page to display in the component editor.
一个好的策略是确定页面上所有的数据绑定组件。
A good strategy is to determine all the data bound components on the page.
方法返回要在组件编辑器中显示的初始页面的索引。
Method returns the index of the initial page to be displayed in the component editor.
最后,将所有组件集成到一个portlet页面中。
页面开发者对组件的属性有更多的控制权。
The page author has more control over the component attributes.
页面开发者对组件的属性有更多的控制权。
The page author has more control over the component attributes.
应用推荐