Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta2
-
Fix Version/s: 2.0.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 2.0 , Liferay
Description
The real problem is a dependency on a Servlet request:
] java.lang.ClassCastException: com.liferay.portlet.RenderRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at org.icefaces.component.fileentry.PushUtils.createPushId(PushUtils.java:155)
at org.icefaces.component.fileentry.PushUtils.getPushId(PushUtils.java:114)
at org.icefaces.component.fileentry.FormScriptWriter.encodeBegin(FormScriptWriter.java:88)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
] java.lang.ClassCastException: com.liferay.portlet.RenderRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at org.icefaces.component.fileentry.PushUtils.createPushId(PushUtils.java:155)
at org.icefaces.component.fileentry.PushUtils.getPushId(PushUtils.java:114)
at org.icefaces.component.fileentry.FormScriptWriter.encodeBegin(FormScriptWriter.java:88)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
Please retest with Liferay portal.