Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: 4.0
-
Component/s: Framework, MOBI-Components, Sample Apps
-
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'.
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'.
Issue Links
- blocks
-
ICE-10285 Add configuration parameter for bridgeit.js source location
- Closed
This can be tested by removing the "bridgeit.js" load from the showcase-mobile.xhtml page. Then it will attempt to load bridgeit.js using ajax techniques when you first select one of the native mobi demos (and will fail).