ICEfaces
  1. ICEfaces
  2. ICE-8591

Add support "ajaxable=true" configuration in Liferay Portal (was: 'ice is not defined' thrown when loading a portlet with ajaxable=true)

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      Liferay 6.1.0/Tomcat 7.0.23

      Description


      When setting ajaxable=true for an ICEfaces portlet a few JavaScript errors are thrown when first adding it to the page. This prevents the push connection from being loaded and other JavaScript functionality related to the "ice" value. Once the browser is refreshed everything works and is loaded correctly.

      Error: ReferenceError: ice is not defined

      Setting ajaxable=false prevents this from occuring since with this it requires a full prowser refresh.

        Activity

        Hide
        Arran Mccullough added a comment - - edited

        Attached test case. Load the Test View Bean portlet from the CSE-Servlec menu.
        (Restricted to icesoft-internal-developers group)

        Show
        Arran Mccullough added a comment - - edited Attached test case. Load the Test View Bean portlet from the CSE-Servlec menu. (Restricted to icesoft-internal-developers group)
        Hide
        Arran Mccullough added a comment - - edited

        Support Case #11575

        Show
        Arran Mccullough added a comment - - edited Support Case #11575
        Hide
        Muhammad Hanif added a comment -

        Has any one found the solution for this as i am also facing the same issue

        Show
        Muhammad Hanif added a comment - Has any one found the solution for this as i am also facing the same issue
        Hide
        Deryk Sinotte added a comment -

        No solution yet. The script resources required by ICEfaces won't load properly if ajaxable=true. So, for now, it is still required to be set to false.

        Show
        Deryk Sinotte added a comment - No solution yet. The script resources required by ICEfaces won't load properly if ajaxable=true. So, for now, it is still required to be set to false.

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: