-
1. Re: Which Lifecycle implementation should the portlet be using?
gareth_western Sep 17, 2010 7:52 AM (in response to gareth_western)1 of 1 people found this helpfulWell, I was able to suppress the error message by implementing my own Filter and ResourceRequest/Response wrappers for the RESOURCE_PHASE, as mentioned in a thread over on the IBM forums. So I guess the portlet bridge is behaving correctly.
I would like to know, just out of interest, why the bridge is using the sun Lifecycle implementation rather than the PortletLifecycleImplementation. Can anyone shed some light on the matter?
-
2. Re: Which Lifecycle implementation should the portlet be using?
gerhard1973 Nov 2, 2011 5:34 AM (in response to gareth_western)Hi Gareth!
I'm new to Portlets and facing also this Error
[02.11.11 09:21:28:944 CET] 00000030 PortletReques E com.ibm.ws.portletcontainer.core.impl.PortletRequestImpl setCharacterEncoding EJPPC0170E: Es kann keine Zeichencodierung nach dem Zugriff auf HTTP-Body gesetzt werden.
in a remote Portlet (using JSF 1.2 and Facelets) on Websphere 7.0.0.17 consumd via IBM WSRP 2.0 from Liferay Portal.
In the "thread over on the IBM forums" I understand that a ResourceRequest/Response wrappers could be useful for me,
but the code provided in the .war files is related to IBM's portletbridge, that is not working for me.
Would you be so kind and provide some code for me, how you implemented your own Filter and ResourceRequest/Response wrappers for the RESOURCE_PHASE.
Best Regards,
Gerhard