I have a simple portlet created using wicket. It contains a PageableListView
and PagingNavigator components. The portlet initially renders just fine.
When I click on one of the paging links, I get ClassCastException. Part of
the stacktrace looks like this...
java.lang.ClassCastException: com.liferay.portlet.ActionResponseImpl
at
org.apache.wicket.protocol.http.portlet.WicketFilterPortletContext.setupFilter(WicketFilterPortletContext.java:75)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:163)
Stepping through the code in WicketFilterPortletContext, it looks like
(RenderResponse)filterRequestContext.getRequest().getAttribute("javax.portlet.response")
returns com.liferay.portlet.ActionResponseImpl which does not implement
RenderResponse
I'm using Liferay 4.2.2 and Wicket 1.3.1.
Any ideas?
--
View this message in context:
http://www.nabble.com/Wicket-Portlet-Error-in-Liferay-tp16036090p16036090.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]