{ "id": "131722", "key": "AC-788", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-06-16T07:24:29.000+0000", "created": "2014-06-13T20:23:18.000+0000", "labels": [ "label", "text", "textid" ], "versions": [], "issuelinks": [ { "id": "38399", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "131720", "key": "TIMOB-17160", "fields": { "summary": "iOS: titleid/textid can not be changed after window is opened", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "sscott", "key": "sscott", "displayName": "Steven Scott", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:03.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": "It is not possible to set up a new textid after a Label is shown however a property text does work.\r\n\r\napp.js\r\n{code:javascript}\r\nvar win = Titanium.UI.createWindow({\r\n backgroundColor: 'red',\r\n \ttitle: 'Red Window'\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttext: \"Label\",\r\n\tbackgroundColor: \"blue\"\r\n});\r\n\r\nwin.add(label);\r\nwin.open();\r\n\r\n\r\nsetTimeout(function() {\r\n\tlabel.textid = \"new_text\";\r\n\t//label.text = L(\"new_text\"); // Does work\r\n}, 1000);\r\n{code}\r\n\r\ni18n (strings.xml)\r\n{code:xml}\r\n\r\n\r\n\tNew Text\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "textid is not working after Label is shown", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 3.2.3.GA, iOS Simulator 7.1", "comment": { "comments": [ { "id": "308971", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T20:27:39.000+0000", "updated": "2014-06-13T20:27:39.000+0000" }, { "id": "309086", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-06-16T07:24:29.000+0000", "updated": "2014-06-16T07:24:29.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }