If your application layer extends only js.schtml - i.e. it only runs in the browser using the JS runtime, you'll get errors if you try to use the program editor - editor/js/mixin unless you also have your layer extend jetty.schtml.
There are two problems that might need to be fixed: - one is that the index.schtml file needs to include the types from all runtimes. The app's main page will only be in the client runtime, not the server's. The second is that HtmlPage is different for client only versus client/server apps. We need to make sure that the code for the client/server version also works in a client-only mode.
If your application layer extends only js.schtml - i.e. it only runs in the browser using the JS runtime, you'll get errors if you try to use the program editor - editor/js/mixin unless you also have your layer extend jetty.schtml.
There are two problems that might need to be fixed: - one is that the index.schtml file needs to include the types from all runtimes. The app's main page will only be in the client runtime, not the server's. The second is that HtmlPage is different for client only versus client/server apps. We need to make sure that the code for the client/server version also works in a client-only mode.