{ "id": "155228", "key": "ALOY-1363", "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": [ { "id": "20671", "description": "Alloy items that will be included in CLI 7.1.0", "name": "CLI Release 7.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" }, { "id": "20836", "name": "Alloy 1.14.0", "archived": false, "released": true, "releaseDate": "2019-07-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-06-20T21:51:55.000+0000", "created": "2016-02-29T23:23:16.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "alloy", "font", "fontfamily", "fontsize", "xml" ], "versions": [], "issuelinks": [ { "id": "51093", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "155825", "key": "ALOY-1371", "fields": { "summary": "Make Alloy less dependent on knowledge about Titanium APIs for parsing XML", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "updated": "2019-06-20T21:51:55.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": [ { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "Currently object properties like {{font.fontFamily}} or {{region.latitude}} can only be set in TSS. The request is to make this possible in XML as well, e.g.:\r\n\r\n{code:xml}\r\n\r\n{code}\r\n\r\nh4. Original description\r\n\r\nAs a developer,\r\nI want to be able to set font properties for a view from the xml view,\r\nSo that I can often avoid creating controller files and keep view properties together.\r\n\r\nDesired xml usage:\r\n\r\n{code:xml}\r\n\r\n \r\n{code}\r\n\r\nWhen processed, this should create a font object and properly merge this with any style objects defined.\r\n\r\nAdded PR: https://github.com/appcelerator/alloy/pull/764\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Add support to set object properties via XML", "creator": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "378286", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Apart from the fact that setting styles in XML is a bad practice, I'd rather see a more generic implementation for assigning object properties via XML:\r\n\r\n{code:xml}\r\n