ICEfaces
  1. ICEfaces
  2. ICE-10294

Unable to access BridgeIt when page is first loaded using ajax (must be a GET)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Labels:
      None
    • Environment:
      jsf2 bridgeit mobi
    • Assignee Priority:
      P1
    • Workaround Exists:
      Yes
    • Workaround Description:
      load bridgeit.js on mobile-showcase.xhtml page for now.

      Description

      can only access bridgeit.js from a Get and not an XMLHttprequest (ajax).
      or get the following error:-

      XMLHttpRequest cannot load http://bridgeit.github.io/bridgeit.js/src/bridgeit.js?v=4_0_0_141001. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://10.18.39.137:8080' is therefore not allowed access.
      ......
      Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://bridgeit.github.io/bridgeit.js/src/bridgeit.js?v=4_0_0_141001'.
      1. Picture 1.png
        16 kB
      2. Picture 2.png
        49 kB

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #42680 Thu Oct 02 12:29:18 MDT 2014 judy.guglielmin ICE-9484 splash page now is in menu that ICE-10295 is resolved. Note that ICE-10294 still does not work correctly even with workaround as the js error causes the view content to not load.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/showcase-mobile.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/viewmanager/ViewManagerBean.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #42678 Thu Oct 02 11:31:22 MDT 2014 judy.guglielmin ICE-9484 put splash back not in menu for now. used tag handlers to only include view contents if that view is selected. bridgeit workaround for ICE-10294 until that Jira is resolved. Minor styling modifications. Removed ace components where h components could be used instead.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/camcorder/camcorder-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/fetchcontact/fetchcontact-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/fieldset/fieldset-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/augmentedreality/augmentedreality-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/pagepanel/pagepanel.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/outputlist/list-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/viewsize/viewsize-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/fetchcontact/fetchcontact-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/camera/camera-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/pagepanel/pagepanel-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/cloudpush/cloudpush-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/showcase-mobile.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/geotrack/geotrack-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/geotrack/geotrack-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/microphone/microphone-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/cloudpush/cloudpush-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/sms/sms-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/geolocation/geolocation-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/scan/scan-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/pagepanel/pagepanel-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/camera/camera-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/scan/scan-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/datespinner/date-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/geolocation/geolocation-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/flipswitch/flip-switch-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/sms/sms-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/dataview/dataview-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/augmentedreality/augmentedreality-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/viewManager/viewmanager-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/viewsize/viewsize-desc.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/viewManager/viewmanager-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/camcorder/camcorder-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/dataview/dataview-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/fieldset/fieldset-example.xhtml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/outputlist/list-desc.xhtml

            People

            • Assignee:
              Jack Van Ooststroom
              Reporter:
              Judy Guglielmin
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: