|
Hi, If I run the following code in the doView method of a
portlet extending GenericPortlet (reference implementation), I can get (in
Liferay) the preferences configured in the portlet.xml descriptor for the
portlet without problems. --- protected void doView(RenderRequest request, RenderResponse
response) throws PortletException, IOException{ PortletPreferences prefs =
request.getPreferences(); Enumeration names =
prefs.getNames(); --- But if I run this same code in the doView method of a
portlet extending MyFacesGenericPortlet, the enumeration shows the
initialization parameters instead of portlet preferences! In others cases it
shows no preferences at all, even though there are preferences defined in the
portlet.xml descriptor. It seems to me that MyFacesGenericPortlet is messing
with the portlet preferences. - Marcio. |
- MyFacesGenericPortlet messing with PortletPreferences in ... Marcio E Miranda
- RE: MyFacesGenericPortlet messing with PortletPrefer... Stan Silvert
- RE: MyFacesGenericPortlet messing with PortletPrefer... Marcio E Miranda

