So, its been a minute since I messed with ABMaterial but I am having a problem that I cant seem to figure out.
So, if I take an existing page/class, Copy, and Paste it, Rename and add it to the project, then change the Page name in the class to the name I had named the class.
I then go into Main, and add/initialize the added page.
However, if I load said page while the App is running, its just a black screen. And thats without changing anything in the page. The original that I copied from works perfect still.
But that copy/pasted page does not work. Even after being properly renamed, and added as an additional page. Its being weird.
if I view the Console in chrome, I get a js exception:
The original page was BaseballLayout, and I pasted it/renamed it as BaseballLayoutVertical, and changed the pagename to that as well in the code.
I am at a loss. Any ideas?
So, if I take an existing page/class, Copy, and Paste it, Rename and add it to the project, then change the Page name in the class to the name I had named the class.
I then go into Main, and add/initialize the added page.
However, if I load said page while the App is running, its just a black screen. And thats without changing anything in the page. The original that I copied from works perfect still.
But that copy/pasted page does not work. Even after being properly renamed, and added as an additional page. Its being weird.
if I view the Console in chrome, I get a js exception:
B4X:
BaseballLayoutVertical.1561476920759.js:27 ready to connect the websocket
core.4.38.min.js:1 Using RobustWebSocket
core.4.38.min.js:1 WebSocket opened, reconnected?: false
VM249:3 Uncaught ReferenceError: cans is not defined
at eval (eval at b4j_eval (core.4.38.min.js:1), <anonymous>:3:114)
at b4j_eval (core.4.38.min.js:1)
at x.<anonymous> (core.4.38.min.js:1)
at x.dispatchEvent (core.4.38.min.js:1)
at WebSocket.<anonymous> (core.4.38.min.js:1)
eval @ VM249:3
b4j_eval @ core.4.38.min.js:1
(anonymous) @ core.4.38.min.js:1
x.dispatchEvent @ core.4.38.min.js:1
(anonymous) @ core.4.38.min.js:1
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
BaseballLayoutVertical.1561476920759.js:22 heartbeat
The original page was BaseballLayout, and I pasted it/renamed it as BaseballLayoutVertical, and changed the pagename to that as well in the code.
I am at a loss. Any ideas?