These are chat archives for plotter/discuss

23rd
Jul 2016
Mike Graham
@cmichaelgraham
Jul 23 2016 21:15
yahoooooooooooooooo !! view instances loading from session on plotter host. view instances are a mix of local views and github.io hosted views
blob
{
    "locked": true,
    "uniqueId": "session-01",
    "activePaks": [
        {
            "locked": true,
            "uniqueId": "a-pak1",
            "pakHostId": "pak-host-01",
            "pakId": "pak-01",
            "viewInstances": [
                { "uniqueId": "vi-01", "viewId": "view1", "paneType": "nav", "viewModel": "../views/one/one", "viewState": "{ a: 'hello, world (one)' }"},
                { "uniqueId": "vi-02", "viewId": "view2", "paneType": "main", "viewModel": "../views/two/two", "viewState": "{ a: 'hello, world (two)' }"},
                { "uniqueId": "vi-03", "viewId": "view3", "paneType": "main", "viewModel": "../views/three/three", "viewState": "{ a: 'hello, world (three)' }"},
                { "uniqueId": "vi-05", "viewId": "view3", "paneType": "main", "viewModel": "http://cmichaelgraham.github.io/plotter/views/test01/test01.js", "viewState": "{ a: 'hello, world (three)' }"},
                { "uniqueId": "vi-04", "viewId": "view2", "paneType": "alt", "viewModel": "../views/one/one", "viewState": "{ a: 'hello, world (two)' }"}
            ]
        }
    ]
}
Mike Graham
@cmichaelgraham
Jul 23 2016 23:49

Issue Resolved - Aurelia Remote WebServer View/ViewModel Loading

Using this recipe, it is now possible to dynamically load view/view-model pairs from a remote web server