清单2是检查窗口状态的样例代码。
Listing 2 is the sample code to check the state of the window.
jsp页面展示了使用API改变窗口状态。
The BrokerDetail.jsp page shows the usage of these APIs to change the window state.
设置/返回确定窗口状态的字符串。
这些链接引用不同的Portlet窗口状态。
表示窗体的窗口状态。
多个窗口状态:portlet可以最小化、最大化等。
Multiple window states: a portlet can be minimized, maximized, and so on.
检索Portlet定义的自定义窗口状态,以便门户对其提供支持。
Retrieving custom window states defined by the portlet so a portal can support them.
图2显示了用户单击CompanyInformation栏之后的窗口状态。
Window 2 shows the state of the window after the user has clicked the Company Information bar.
Portlet可以发出一个重定向、改变它的 Portlet模式或窗口状态或者更改它的状态。
The portlet can issue a redirect, change its portlet mode or window state, or modify its state.
这样的示例包括基于Portlet模式、窗口状态、当前呈现参数或Portlet首选项呈现不同资源。
Examples for this include rendering different resources based on the portlet mode, window state, current render parameters, or portlet preferences.
如果当前Portlet窗口状态是正常状态或最小化状态,请检查Portlet是否配置为以正常模式呈现。
If the portlet window state is currently in normal or minimized state, check whether the portlet is configured for rendering in normal mode.
围绕Portlet内容创建窗口框架的门户框架常常提供额外的图标来支持更改Portlet模式或窗口状态。
A portal framework that creates a window frame around the portlet content often provides additional ICONS to support changes of portlet modes or window states.
门户通常会将Portlet内容呈现到窗口框架中,并同时提供到不同 Portlet模式和窗口状态的链接。
Portals usually render portlet content into window frames, providing links to different portlet modes and window states.
创建Portlet窗口的外观的皮肤,包括用于更改窗口状态或 Portlet 的 Portlet模式的按钮。
Skins that create the look and feel of a portlet window, including buttons for changing the window state or portlet mode of the portlet.
资源URL包含当前Portlet的瞬时状态(Portlet模式、窗口状态和呈现参数),但不能为此状态设置新值。
A resource URL contains the current transient state of the portlet (portlet mode, window state, render parameters), but cannot set new values for this state.
例如,更改门户窗口状态为minimize或者maximize,将会向服务器提交一次请求,由于此操作整个页面都会得到刷新。
For example, changing the portlet window state to minimize or maximize will submit a request to the server, due to which the whole page is refreshed.
如果当前Portlet窗口状态是最大化状态,请初始化portletinfo对象中的各种更改url(后退、配置、编辑和最小化)。
If the portlet window state is currently in maximized state, initialize the various change URLs (back, configure, edit, and minimize) within the PortletInfo object.
在关闭时可以保存打开的窗口状态(例如,如果在关闭Notes时有三个窗口是打开的,在重新启动Notes时,将会打开这三个窗口)。
Ability to save your open window state on shutdown (For example, if you have three Windows open when you shut down Notes, those three Windows will open when you restart Notes.)
Portlet可以利用 Portlet上下文中的所有信息,例如 Portlet模式、窗口状态、呈现参数或 Portlet首选项。
The portlet can leverage all the information in the portlet context, like portlet mode, window state, render parameters, or portlet preferences.
图14中的代码样本展示了,对JSR 168portlet项目,当portlet处于工作阶段时,如何利用ActionResponse改变窗口状态。
The code sample in Figure 14 shows how, for a JSR 168 portlet project, when a portlet is in action phase, window state can be changed using the ActionResponse.
前几天,我收到一封电子邮件,询问如何创建一个portlet 以便在 portlet的窗口状态更改(比如窗口最大化或最小化时)时更改其呈现内容。
The other day I got an e-mail asking how to create a portlet that changes its rendered content when the portlet's window state changes, like when the window is maximized or minimized.
如果您只选择用户选项,那么您会看到一个显示用户状态的缩略窗口。
If you then choose only the user option, you see a thumbnail window on user status appears.
一个新的、统一的进展状态窗口显示了私人的与全体操作的当前进展。
A new, unified progression status window shows current progression of individual and global operations.
在状态窗口中单击ok。
可以给每个窗口指定名称,还可以在每个窗口的底部显示一个状态栏以帮助区分窗口。
You can name each window, and you can place a status bar at the bottom of each window to differentiate one from another.
图8显示一个包含状态栏的窗口。
此外,在我使用一个窗口设置触发发送队列时.也可以打开另一个通道状态窗口。
Or, I can have a channel status window open while I use another window to set triggering on a transmit queue.
尤其是,不要试图禁用新窗口的状态栏或URL 栏;这无疑是在邀请恶意代码侵害您的用户。
Most especially, don't even try to suppress the status or URL bars of a new window; that's just asking for malicious code to phish your users.
栈对超时的响应是把拥塞窗口重设回空状态。
The stack reacts to the timeout by resetting the congestion window back to an empty state.
窗口1显示了第一次出现时窗口的状态。
Window 1 displays the state of the window when it is first displayed.
应用推荐