Dart Polymer Routing

Issue I have a single page app using Dart and Polymer. I’m trying to add a route to another page with route_hierarchical What I’ve tried so far was configuring the router like this: router = new Router() router.root ..addRoute(name: ‘games’,

Continue reading

Paper-textarea Is Readonly in AngularDart Component

Issue I got a paper-dialog to work fine with paper-input in an AngualrDart component. When I tried a paper-textarea, it is read only. Here is a working paper-input and the read-only paper-textarea: <paper-input #artistInputDeath type=”text” ngDefaultControl [(ngModel)]=”death_year” ngControl=”artistInputDeath” label=”Death Year”

Continue reading

CORS related errors when getting Channel API client script

Issue I’m currently experimenting with a Google App Engine/Go + Polymer.dart website at http://xclamm.appspot.com/. The problem is that I get the following error when I access http://xclamm.appspot.com/ with Dartium (31.0.1612.0 Developer Build 219647). XMLHttpRequest cannot load https://talkgadget.google.com/talkgadget/channel.js. No ‘Access-Control-Allow-Origin’ header

Continue reading

dart-polymer: cannot set an attribute from an event handler

Issue The following code doesn’t work. Maybe I do something wrong.. Please correct my code: index.html: <html> <head> <title>Page</title> <link rel=”import” href=”msg_box.html”> </head> <body> <msg-box id=”msg” caption=”Caption 1″></msg-box> <button id=”btn”>click me</button> <script type=”application/dart” src=”index.dart”></script> <script src=”packages/browser/dart.js”></script> </body> </html> import ‘dart:html’;

Continue reading