Good morning everybody, i have a little problem with nested controllers and JWebSocket. This is more a general problem with WebSockets and nested controllers than with JWebSocket i guess.
I am trying to implement some kind of app-structure in AngularJS. I got a main.html and within this file i include my different apps, each with its own controller and html-file. All apps communicate with a WebServer via JWebSocket. It is no problem to open the connection successfully.
The actual problem is, that messages from the WebServer don't get through to the actual app. This means i can't update the GUI because the callback methods are defined within the app-controller and not in the main-controller. The other direction works perfectly. If i manipulate the data model from the app-GUI the server recognizes it and updates the model.
I know this description is very vague but maybe someone had a similar problem.
Christopher