Portlet的API编程

本文探讨了portlet.xml部署描述符在门户服务器中如何区分抽象portlet应用与具体portlet应用。抽象portlet应用作为具体应用的基础,通过配置参数创建具体应用。每个portlet.xml只能定义一个抽象portlet应用。配置参数分为抽象级别和具体级别,抽象级别的设置会影响所有具体应用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Abstract portlet与concrete portlet

The portlet.xml deployment descriptor is used by the portal server to identify the abstract and concrete portlet applications you wish to deploy. An abstract portlet application contains one or more abstract portlets. A concrete portlet application contains one or more concrete portlets. The abstract application is used as a foundation for concrete applications. The combination of an abstract application and configuration parameters creates a concrete application. Each portlet.xml may only define a single abstract portlet application.
如下图
y1pnein_qeE00plIpEJbvV86Jkm_QgWQe20LtXVwlMUQEgEJw7d7QjqAxWy_Pqr3IN8
Concrete portlet app is composed of more than one concrete portlet.Abstract portlet app is composed of more than one abstract portlet.
Certain configuration parameters are set at the abstract level while others are set at the concrete level. As expected, parameters set at the abstract level affect each concrete application. The parameters and configuration information unique to each concrete application are represented in a PortletApplicationSettings object. Parameter and configuration information unique to each portlet are represented in the PortletSettings object. When the portlet is actually placed on a page, it is parameterized by a PortletData object.

7DBDF42EE58F4A79!212:thumbnail

7DBDF42EE58F4A79!213:thumbnail

7DBDF42EE58F4A79!214:thumbnail

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值