Thank you for the update!
Trying to run BANano v6.09 in the BANanoServer demo. All works fine except it seems that in the BANanoServer environment, we can no longer simply load a layout to a SKContainer like we were able to do before (eg, SKMainContainer.Element.LoadLayout("Template")):
This worked before in the BANanoServer demo (as called from the Sub WebSocket_Connected()), but now it doesn't show up in the browser and I get the following error in the web browser console:
browserabout.js:1513 Uncaught TypeError: Cannot read property 'BANll' of null
at _B.websocket_connected (browserabout.js:1513)
at b4j_runFunction (bananocore.js:9)
at p._B._ws.onmessage (browserabout.js:1491)
at HTMLDivElement.<anonymous> (bananocore.js:7)
at WebSocket.s.onmessage (bananocore.js:7)
In JS: _B._skmaincontainer.getelement().BANll(_B.template);
This seems to work fine outside of using BANanoServer. I know that outside of BANanoServer, SKMainContainer.Element.LoadLayout("Template") would be initiated from BANano_Ready(), so I do not know if that is the issue here within the BANanoServer environment (again, this wasn't an issue before v6.09).
Any help in resolving this would be appreciated, thanks.
Trying to run BANano v6.09 in the BANanoServer demo. All works fine except it seems that in the BANanoServer environment, we can no longer simply load a layout to a SKContainer like we were able to do before (eg, SKMainContainer.Element.LoadLayout("Template")):
B4X:
Private body As BANanoElement
body.Initialize("#body")
body.Append($"<div id="mainHolder"></div>"$).Get("#mainHolder").LoadLayout("UploadForm")
SKMainContainer.Element.LoadLayout("Template")
This worked before in the BANanoServer demo (as called from the Sub WebSocket_Connected()), but now it doesn't show up in the browser and I get the following error in the web browser console:
browserabout.js:1513 Uncaught TypeError: Cannot read property 'BANll' of null
at _B.websocket_connected (browserabout.js:1513)
at b4j_runFunction (bananocore.js:9)
at p._B._ws.onmessage (browserabout.js:1491)
at HTMLDivElement.<anonymous> (bananocore.js:7)
at WebSocket.s.onmessage (bananocore.js:7)
In JS: _B._skmaincontainer.getelement().BANll(_B.template);
This seems to work fine outside of using BANanoServer. I know that outside of BANanoServer, SKMainContainer.Element.LoadLayout("Template") would be initiated from BANano_Ready(), so I do not know if that is the issue here within the BANanoServer environment (again, this wasn't an issue before v6.09).
Any help in resolving this would be appreciated, thanks.