Portlet Technology - PowerPoint PPT Presentation

1 / 2
About This Presentation
Title:

Portlet Technology

Description:

AnyPortlet.java. Public class AnyPortlet extends GenericPortlet ... public class GeneratedPortletConfig implements PortletConfig. Map initAnyPotlet =new Map ... – PowerPoint PPT presentation

Number of Views:21
Avg rating:3.0/5.0
Slides: 3
Provided by: herm155
Category:

less

Transcript and Presenter's Notes

Title: Portlet Technology


1
Portlet Technology
2
Init
Portlet.xml
AnyPortlet.java
Public class AnyPortlet extends
GenericPortlet //.. public void
init(PortletConfig x) //..String ownValue
x.getInitParameter(keyAny) //..
ltportlet-appgt ltportletgt ltportlet-namegtAnyPo
rtletlt/portlet-namegt ltinit-paramgt
ltnamegtkeyAnylt/namegt ltvaluegtinitValueOfAn
yKeylt/valuegt lt/init-paramgt
ltinit-paramgt lt/init-paramgt
. lt/portletgt ltportletgt
lt/portletgt lt/portlet-appgt
public class GeneratedPortletConfig implements
PortletConfig Map initAnyPotlet new
Map() GeneratedPortletConfig()
initAnyPortlet.add(keyAny,initValueOfAnyKey)
String getInitParameter(Srtring key)
returns initAnyPortlet(key)
class GeneratedAnyPortlet GeneratedPortletConf
ig pConfnew GeneratedPortletConfig()
AnyPortlet pAnyPortlet new AnyPortlet()
GeneratedAnyPortlet() pAnyPortlet.init(pConf)
.
Write a Comment
User Comments (0)
About PowerShow.com