ICEfaces
  1. ICEfaces
  2. ICE-6371

ClassCastException when using fileEntry in Portlets

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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)

        Activity

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: