{ "id": "110716", "key": "TIMOB-12982", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "93394", "key": "TIMOB-9603", "fields": { "summary": "BlackBerry: Identify missing Titanium.UI.Tab functionality", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15098", "description": "2013 Sprint 06 BB", "name": "2013 Sprint 06 BB", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "14816", "description": "2013 Sprint 06", "name": "2013 Sprint 06", "archived": true, "released": true, "releaseDate": "2013-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-22T00:47:58.000+0000", "created": "2013-03-06T21:28:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-08T18:26:15.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Allow developers to query a list of tabs in a group by using the \"tabs\" property.\r\n\r\nh3. Acceptance Test\r\n{code:javascript}\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n \r\nvar tab1 = Ti.UI.createTab({\r\n title: 'A tab.',\r\n window: Ti.UI.createWindow({backgroundColor: 'blue'})\r\n});\r\ntabGroup.addTab(tab1);\r\n \r\nvar tab2 = Ti.UI.createTab({\r\n title: 'Another tab.',\r\n window: Ti.UI.createWindow({backgroundColor: 'red'})\r\n});\r\ntabGroup.addTab(tab2);\r\n\r\nvar tabs = tabGroup.tabs,\r\n count = tabs.length;\r\nTi.API.info('tabs count = ' + count);\r\nTi.API.info('tabs titles: ');\r\nfor (var i = 0; i < count; i++) {\r\n\tTi.API.info(tabs[i].title);\r\n}\r\n \r\ntabGroup.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "BlackBerry: TabGroup.tabs", "creator": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "409893", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as resolved.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-08T18:26:15.000+0000", "updated": "2017-03-08T18:26:15.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }