{"comment":{"created_at":"2011-10-20T14:35:12Z","body":"I overwrited the entire src directory for your nem code and I got an exception.\r\n\r\nThe app throws a org.springframework.beans.factory.NoSuchBeanDefinitionException\r\n\r\nMessage: No bean named 'ComposerHandler' is defined","updated_at":"2011-10-20T14:35:12Z","url":"https://api.github.com/repos/xiaochong/zkui/issues/comments/2469398","id":2469398,"user":{"avatar_url":"https://secure.gravatar.com/avatar/79bbe212721863e077eab87b044210f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"79bbe212721863e077eab87b044210f4","url":"https://api.github.com/users/aaloise","id":1064972,"login":"aaloise"}},"action":"created","issue":{"number":28,"created_at":"2011-10-09T23:48:47Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I'd like to bind some data from a Composer into a ZUL file. How can I do\r\nthat?\r\nI' trying this way:\r\n\r\nComposer:\r\n\r\n```javascript\r\npackage zk;\r\n\r\nimport org.zkoss.zkgrails.*\r\n\r\nclass CreateComposer{\r\n    String test = \"foo\"\r\n     def doAfterCompose = { Component comp ->\r\n       \r\n    }\r\n\r\n}\r\n\r\n```\r\n\r\nGSP:\r\n\r\n```javascript\r\n<z:window apply=\"zk.CreateComposer\" id=\"main\">\r\n <z:vbox>\r\n <z:hbox>\r\n <z:label value=\"Test Prop\" />\r\n <z:textbox id=\"testeProp\" value=\"@{main.test}\" />\r\n <z:/hbox>\r\n <z:button label=\"Save\" id=\"save\" />\r\n <z:/vbox>\r\n<z:/window>\r\n```\r\nWith ZKGrails we can do this:\r\n\r\n```javascript\r\n<textbox value=\"@{wnd$composer.account.accountNumber}\" width=\"100%\"/>\r\n```\r\n\r\nBut the ZKGrails solution won't work with ZK UI ","comments":8,"title":"Bindind data with Composer","updated_at":"2011-10-20T14:35:12Z","url":"https://api.github.com/repos/xiaochong/zkui/issues/28","id":1859880,"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/1202a8903fcf5e9171dd0370db2fbf32?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1202a8903fcf5e9171dd0370db2fbf32","url":"https://api.github.com/users/xiaochong","id":665747,"login":"xiaochong"},"milestone":{"number":4,"created_at":"2011-09-14T03:59:26Z","due_on":null,"title":"0.3.4","creator":{"avatar_url":"https://secure.gravatar.com/avatar/1202a8903fcf5e9171dd0370db2fbf32?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1202a8903fcf5e9171dd0370db2fbf32","url":"https://api.github.com/users/xiaochong","id":665747,"login":"xiaochong"},"url":"https://api.github.com/repos/xiaochong/zkui/milestones/4","open_issues":1,"closed_issues":3,"description":"","state":"open"},"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/79bbe212721863e077eab87b044210f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"79bbe212721863e077eab87b044210f4","url":"https://api.github.com/users/aaloise","id":1064972,"login":"aaloise"},"html_url":"https://github.com/xiaochong/zkui/issues/28","labels":[{"name":"feature","url":"https://api.github.com/repos/xiaochong/zkui/labels/feature","color":"02e10c"}],"state":"open"},"legacy":{"issue_id":1859880,"comment_id":2469398}}