{ "id": "174585", "key": "ALOY-1713", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2019-12-18T15:10:17.000+0000", "created": "2019-12-17T23:58:16.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "alloy", "griffin-app", "widgets", "xml" ], "versions": [], "issuelinks": [], "assignee": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "updated": "2019-12-18T15:10:17.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Would be nice to be able to have a index.xml view like this:\r\n\r\n\r\n{code:xml}\r\n\r\n\t\r\n\r\n{code}\r\n\r\n\r\nwhich uses a widget.xml like this:\r\n\r\n\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n\r\n\r\nAnd then be able to do this in the main index.js controller:\r\n\r\n\r\n{code:java}\r\n$.index.open();\r\n{code}\r\n\r\n\r\n\r\nCurrently, you will get an error: {color:#d04437}\"$.index.open is not a function. (In '$.index.open()', '$.index.open' is undefined)\";{color}\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Alloy Alloy widgets to be used as primary element for XML view", "creator": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "453231", "author": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "Created PR: https://github.com/appcelerator/alloy/pull/949", "updateAuthor": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2019-12-18T00:04:08.000+0000", "updated": "2019-12-18T00:04:08.000+0000" }, { "id": "453234", "author": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "updateAuthor": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2019-12-18T15:10:17.000+0000", "updated": "2019-12-18T15:10:17.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }