ICEfaces
  1. ICEfaces
  2. ICE-5762

ICEfaces 2.0 + PortletFaces Bridge: JavaScript error on initial HTTP-GET

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      Liferay 5.2.3

      Description

      When the attached portlet is deployed in Liferay 5.2.3, FireFox reports the following JavaScript error on the initial HTTP-GET of the page:

      ice.onBlockingConnectionUnstable is not a function

        Activity

        Hide
        Deryk Sinotte added a comment -

        It's possible that after some of the current work Ted has done with ICEfaces 2 and the new Portlet Bridge that some or all of the older portlet related issues are no longer relevant. Assigning to Ted to verify which can be closed and which may still need more work.

        Show
        Deryk Sinotte added a comment - It's possible that after some of the current work Ted has done with ICEfaces 2 and the new Portlet Bridge that some or all of the older portlet related issues are no longer relevant. Assigning to Ted to verify which can be closed and which may still need more work.
        Hide
        Neil Griffin added a comment -

        Tested with ICEfaces 2.0 trunk revision 22133 and unfortunately it's still broken.

        Show
        Neil Griffin added a comment - Tested with ICEfaces 2.0 trunk revision 22133 and unfortunately it's still broken.
        Hide
        Ted Goddard added a comment -

        Modifed sample as follows:

        • updated to trunk ICEfaces 2.0 libraries
        • updated to trunk (BETA1) portletfaces-bridge libraries
        • fixed Resource Servlet servlet-class:

        <servlet>
        <servlet-name>Resource Servlet</servlet-name>
        <servlet-class>com.icesoft.faces.webapp.CompatResourceServlet</s
        ervlet-class>
        <load-on-startup>1</load-on-startup>
        </servlet>

        • changed applicant.xhtml to use hard-coded convertDateTime pattern:

        <f:convertDateTime pattern="MM/dd/yyyy" />

        Show
        Ted Goddard added a comment - Modifed sample as follows: updated to trunk ICEfaces 2.0 libraries updated to trunk (BETA1) portletfaces-bridge libraries fixed Resource Servlet servlet-class: <servlet> <servlet-name>Resource Servlet</servlet-name> <servlet-class>com.icesoft.faces.webapp.CompatResourceServlet</s ervlet-class> <load-on-startup>1</load-on-startup> </servlet> changed applicant.xhtml to use hard-coded convertDateTime pattern: <f:convertDateTime pattern="MM/dd/yyyy" />
        Hide
        Ted Goddard added a comment -

        Verified working on Liferay 6.0.4.

        Show
        Ted Goddard added a comment - Verified working on Liferay 6.0.4.
        Hide
        Ted Goddard added a comment - - edited

        Assigning to Neil to verify attached sample.war. I do not observe any errors in Firefox with the latest binaries.

        Show
        Ted Goddard added a comment - - edited Assigning to Neil to verify attached sample.war. I do not observe any errors in Firefox with the latest binaries.
        Hide
        Neil Griffin added a comment -

        Although I did not test the sample WAR, I incorporated Ted's comments into the Example JSF 2.0 Portlet at the portletfaces.org website and it's working great. This issue is resolved.

        Show
        Neil Griffin added a comment - Although I did not test the sample WAR, I incorporated Ted's comments into the Example JSF 2.0 Portlet at the portletfaces.org website and it's working great. This issue is resolved.

          People

          • Assignee:
            Neil Griffin
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: