Hi!
I have been away from WEB development and Tapestry for a while now.
Yesterday I decided to try use Tapestry to serve some web pages from our
google app engine based backend. Some year ago I managed to get 5.3 to work
in app engine ...
I will be using jquery + bootstrap.
I finally got a minimal test project to work but when I switched to jquery
by
adding
c.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER, "jquery")
The page raises following js errors
Uncaught TypeError: this.element.readAttribute is not a function
ElementWrapper.attr @ dom.js:137
(anonymous function) @ console.js:36
context.execCb @ require.js:1665
Module.check @ require.js:874
(anonymous function) @ require.js:1121
(anonymous function) @ require.js:132
(anonymous function) @ require.js:1171
each @ require.js:57
Module.emit @ require.js:1170
Module.check @ require.js:925
(anonymous function) @ require.js:1121
(anonymous function) @ require.js:132
(anonymous function) @ require.js:1171each @ require.js:57
Module.emit @ require.js:1170Module.check @ require.js:925
Module.enable @ require.js:1158
Module.init @ require.js:782
callGetModule @ require.js:1185
context.completeLoad @ require.js:1559
context.onScriptLoad @ require.js:1686
I am also phasing a strange problem in the full project (not in the minimal
example) that
the page fails to load these assets file:
All these fails to be loaded:
=====================
admin:20 GET
http://localhost:8888/assets/meta/adfea7fc/tapestry5/bootstrap/css/bootstrap.css
admin:20 GET
http://localhost:8888/assets/meta/8dcee84b/tapestry5/tapestry-console.css
admin:20 GET http://localhost:8888/assets/meta/74b3f9bf/tapestry5/tree.css
admin:20 GET
http://localhost:8888/assets/meta/c81e9337/tapestry5/exception-frame.css
admin:60 GET http://localhost:8888/assets/stack/24577ff5/en/core.js
admin:20 GET
http://localhost:8888/assets/meta/5f95a7ec/tapestry5/tapestry.css
admin:60 Uncaught TypeError: require is not a function(anonymous function)
@ admin:60
Thanks in advance! /Gunnar