{"action":"closed","issue":{"url":"https://api.github.com/repos/jupyter-incubator/declarativewidgets/issues/35","labels_url":"https://api.github.com/repos/jupyter-incubator/declarativewidgets/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/jupyter-incubator/declarativewidgets/issues/35/comments","events_url":"https://api.github.com/repos/jupyter-incubator/declarativewidgets/issues/35/events","html_url":"https://github.com/jupyter-incubator/declarativewidgets/issues/35","id":111066843,"number":35,"title":"urth-core-bind templates are not getting initialized with the data already on the channel","user":{"login":"lbustelo","id":2474841,"avatar_url":"https://avatars.githubusercontent.com/u/2474841?v=3","gravatar_id":"","url":"https://api.github.com/users/lbustelo","html_url":"https://github.com/lbustelo","followers_url":"https://api.github.com/users/lbustelo/followers","following_url":"https://api.github.com/users/lbustelo/following{/other_user}","gists_url":"https://api.github.com/users/lbustelo/gists{/gist_id}","starred_url":"https://api.github.com/users/lbustelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbustelo/subscriptions","organizations_url":"https://api.github.com/users/lbustelo/orgs","repos_url":"https://api.github.com/users/lbustelo/repos","events_url":"https://api.github.com/users/lbustelo/events{/privacy}","received_events_url":"https://api.github.com/users/lbustelo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jupyter-incubator/declarativewidgets/labels/in%20progress","name":"in progress","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-12T22:24:44Z","updated_at":"2015-10-20T22:35:46Z","closed_at":"2015-10-20T22:35:46Z","body":"If we have a cell that does\r\n```\r\nfrom urth.widgets.widget_channels import channel\r\nchannel('c').set('user', 'Python')\r\n```\r\n\r\nRun that cell and then run a subsequent cell with code\r\n```\r\n%%html\r\n<template is='urth-core-bind' channel='c'>\r\n    <div>Hello from <span>{{user}}</span></div>\r\n    Name: <input value='{{user::input}}'></input>\r\n</template>\r\n```\r\n\r\nThe value of variable `c` is not set in the `<template>`.\r\n\r\nThe expectation is that the `<template>` renders with any values that are already on the channel.\r\n\r\nThanks to @jhpedemonte  and @dalogsdon"}}