veil.js: veil.resource can accept widget