ICEfaces
  1. ICEfaces
  2. ICE-6596

Gmap client-key error dialog breaks ICEfaces JS loading on the page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2.0

      Description

      When an IF 2 app. has the com.icesoft.faces.gmapKey context param defined in it's web.xml, the ICEfaces bridge will load the gmap bootstrap JS into the head as part of each initial page request so it is there in case the gmap component is used or dynamically introduced on that page. This is necessary to work-around a JSF issue with updating head region contents dynamically.

       <context-param>
              <param-name>com.icesoft.faces.gmapKey</param-name>
              <param-value>ABQIAAAADlu0ZiSTam64EKaCQr9eTRTOTuQNzJNXRlYRLknj4cQ89tFfpxTEqxQnVWL4k55OPICgF5_SOZE06A
              </param-value>
          </context-param>

      In any case, when this param is defined, and the application inits the gmap component on the page, if the gmap key value does not match the URL/host-name for the application, the gmap JS will display an error dialog. When this occurs, it interferes with the normal loading of the rest of the ICEfaces / ACE components, etc. JS on that page.

      We should investigate to see if it may be possible to load the ICEfaces JS resources first, and leave the gmap init to the end so that if it fails with the warning, it doesn't break other functionality on the page.



        Issue Links

          Activity

          There are no subversion log entries for this issue yet.

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: