Atozed Forums
How to make IWBS4 works? - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: How to make IWBS4 works? (/thread-1703.html)



How to make IWBS4 works? - Rolphy Reyes - 06-02-2020

Hi

I'm trying for several hours to make a simple example of IWBS4 works and I'm failing every time, there's a file attached.

I put a TIWBS4TabControl control and I'm trying to make looks like Navs Pills (nav-pills) from the Bootstrap page, the TIWBS4TabControl control has the property BSTabOptions.Pills I set to True but it's no working. How can I make this work correctly?

I have several questions:

1.- The order from the HTMLHeaders property in the ServerController, is the correct one?
2.- The global variables from IWBS4Global that is set on OnConfig event on the ServerController is correct?

When I look in the Inspector from Google Chrome, I can see some errors:
Quote:jquery.slim.min.js:2 jQuery.Deferred exception: a.ajax is not a function TypeError: a.ajax is not a function
    at Object.loadScript (http://127.0.0.1:8888/webshim-1.15.10/js-webshim/minified/polyfiller.js:1:1995)
    at Object.loadScript (http://127.0.0.1:8888/webshim-1.15.10/js-webshim/minified/polyfiller.js:1:6319)
    at c (http://127.0.0.1:8888/webshim-1.15.10/js-webshim/minified/polyfiller.js:1:4821)
    at http://127.0.0.1:8888/webshim-1.15.10/js-webshim/minified/polyfiller.js:1:5679
    at Object._polyfill (http://127.0.0.1:8888/webshim-1.15.10/js-webshim/minified/polyfiller.js:1:3116)
    at Object.polyfill (http://127.0.0.1:8888/webshim-1.15.10/js-webshim/minified/polyfiller.js:1:2654)
    at HTMLDocument.<anonymous> (http://127.0.0.1:8888/iwbs.js:26:12)
    at l (http://127.0.0.1:8888/jquery.slim.min.js:2:29567)
    at c (http://127.0.0.1:8888/jquery.slim.min.js:2:29869) undefined
w.Deferred.exceptionHook @ jquery.slim.min.js:2
jquery.slim.min.js:2 Uncaught TypeError: a.ajax is not a function
    at Object.loadScript (polyfiller.js:1)
    at Object.loadScript (polyfiller.js:1)
    at c (polyfiller.js:1)
    at polyfiller.js:1
    at Object._polyfill (polyfiller.js:1)
    at Object.polyfill (polyfiller.js:1)
    at HTMLDocument.<anonymous> (iwbs.js:26)
    at l (jquery.slim.min.js:2)
    at c (jquery.slim.min.js:2)
DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:8888/popper.min.js.map: Connection error: net::ERR_CONNECTION_REFUSED
DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:8888/boostrap-4.3.1/js/bootstrap.min.js.map: Connection error: net::ERR_CONNECTION_REFUSED
DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:8888/boostrap-4.3.1/css/bootstrap.min.css.map: Connection error: net::ERR_CONNECTION_REFUSED


P.D. I copy the folders from the directory dist (C:\Users\User\AppData\Roaming\IntraWeb 15\Source\iwbootstrap4) to the Debug folder of my project (C:\Users\User\Documents\Embarcadero\Studio\Projects\TestBootstrap4\Win32\Debug).


RE: How to make IWBS4 works? - Alexandre Machado - 06-10-2020

I'll download and test it and see what I get. I'll keep you posted.

Cheers,