Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make IWBS4 works?
#1
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....js:1:1995)
    at Object.loadScript (http://127.0.0.1:8888/webshim-1.15.10/js....js:1:6319)
    at c (http://127.0.0.1:8888/webshim-1.15.10/js....js:1:4821)
    at http://127.0.0.1:8888/webshim-1.15.10/js....js:1:5679
    at Object._polyfill (http://127.0.0.1:8888/webshim-1.15.10/js....js:1:3116)
    at Object.polyfill (http://127.0.0.1:8888/webshim-1.15.10/js....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/...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...in.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).


Attached Files
.zip   TestBootstrap4.zip (Size: 8.02 KB / Downloads: 5)
Reply
#2
I'll download and test it and see what I get. I'll keep you posted.

Cheers,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)