Public render parameters or portlet events.
使用公共呈现参数还是使用Portlet事件。
Web behavior support with public render parameters.
使用公共呈现参数的Web行为支持。
Public render parameters have the following features.
公共呈现参数具有以下特性。
The SearchResult portlet retrieves the render parameters, and performs the search.
SearchResultPortlet检索呈现参数,然后执行搜索。
Parameters sent from the legacy Web page are included as render parameters in the URL.
从遗留Web页发送的参数作为呈现参数包含在该URL 中。
It retrieves the render parameters from the URL that is built using URLGenerator class.
它从使用URLGenerator类构建的URL中检索呈现参数。
These render parameters become valid in the render request that follows the action request.
这些呈现参数将在操作请求后的呈现请求中变为有效。
Render parameters are used by a portlet to render its view specific to a specific set of values.
Portlet使用呈现参数呈现其特定于一组特定值的视图。
In case of an action link, the render parameters are computed as a result of the action processing.
而对于操作链接,将计算呈现参数以将其作为操作处理的结果。
There are advantages to using render parameters other than just to address a specific portlet view.
与对特定的Portlet视图寻址相比,使用呈现参数有很多优势。
As a result of the invocation of any link, the portlet may define a set of current render parameters.
作为任何链接调用的结果,Portlet可能会定义一个当前呈现参数集。
Listing 5 shows how to generate the URL with render parameters using the WebSphere Portal SPI classes.
清单5展示了如何使用WebSpherePortalspi类生成带有呈现参数的url ?
Render parameters are maintained by the portal for each portlet for all subsequent requests to that page.
门户将为每个Portlet维护呈现参数,以用于对该页面的所有后续请求。
The article demonstrates how to create events and public render parameters and use them in the sample.
文章描述了怎样创建事件和公共赋值变量,以及怎样在例子中使用它们。
Render links associate a set of render parameters with the request that is issued when the link is invoked.
呈现链接将一组呈现参数与调用链接时发出的请求关联。
During the action phase of a portlet, render parameters can be set for the portlet's subsequent render phase.
在Portlet的操作阶段,可以为Portlet的后续呈现阶段设置呈现参数。
Render links associate a new set of render parameters with the request that is issued when the link is invoked.
呈现链接,将新的呈现参数集与调用链接时发出的请求关联。
Besides portlet events, public render parameters represent an alternative way for coordination between portlets.
除了Portlet事件以外,公共呈现参数代表Portlet之间的替代协作方法。
In the case of a render link, the render parameters are the parameters encoded on the link that has been invoked.
对于呈现链接,呈现参数为在被调用的链接上编码的参数。
This implies that every single URL on the page needs to contain all render parameters of all portlets on that page.
这意味着页面上每个URL都需要包含该页上的所有Portlet的所有呈现参数。
Render parameters are maintained by the container from request to request, even if interaction occurs with another portlet.
由容器在请求间维护呈现参数,即使出现与其他 Portlet 的交互也是如此。
The new rendering portlet no longer requires a session to store its data, but instead USES render parameters that are encoded in the URL.
新的呈现portlet不再需要使用会话来保存其数据,而是使用编码到URL中的呈现参数。
For example, when the user presses the browser's reload button, the portlet gets the same render parameters again and can render the same view.
例如,当用户按下浏览器的重新加载按钮时,portlet再一次获取相同的呈现参数,并能够呈现相同的视图。
In this very simple example it is possible to calculate the new set of render parameters by copying the current set and overriding only one key.
在这个非常简单的示例中,通过复制当前呈现参数集并只覆盖一个键,就可以计算新的呈现参数集。
The portlet can leverage all the information in the portlet context, like portlet mode, window state, render parameters, or portlet preferences.
Portlet可以利用 Portlet上下文中的所有信息,例如 Portlet模式、窗口状态、呈现参数或 Portlet首选项。
The portlet is free to alter session state or backend state during this phase and associates new render parameters at the end of the action phase.
在此阶段,Portlet可以自由地更改会话状态或后端状态,并在操作阶段结束时关联新呈现参数。
Examples for this include rendering different resources based on the portlet mode, window state, current render parameters, or portlet preferences.
这样的示例包括基于Portlet模式、窗口状态、当前呈现参数或Portlet首选项呈现不同资源。
To create a portlet application that incorporates events and public render parameters for communication between portlets, complete these tasks.
按照如下步骤,创建一个portlet程序,该程序集成了事件和公共赋值变量,以便在portlets之间进行交流。
In general, we recommend that portlets minimize the number and size of render parameters as much as possible so that the risk of invalid URLs decreases.
通常,我们建议Portlet尽可能使呈现参数的数量和长度保持最小,从而降低产生无效url的风险。
As you have seen here, the tools provided by Rational Application Developer 7.5 greatly simplify the creation of events and public render parameters.
正如您在这里看到的那样,RationalApplication Developer 7.5提供的工具,极大地简化了事件和公共赋值变量的创建。
应用推荐