{ "id": "61127", "key": "TIMOB-495", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "11223", "name": "Release 1.3.0", "archived": true, "released": true, "releaseDate": "2010-05-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:17.000+0000", "created": "2011-04-15T02:30:18.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "iphone", "tabgroup" ], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53: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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

You should be able to do both:

\n

1) in the tab constructor set active:true - and this will be the\nactive tab on startup. If a tab defined after this tab also has\nactive:true, then it will be the active tab

\n

2) tabGroup.setActiveTab(x) should also work before\ntabGroup.open is called

{html}", "attachment": [], "flagged": false, "summary": "setting active tab does not work on app startup", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123390", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [d2e8549e28ea9df27f9c4c95f84e525bb4335d9f])\nCloses #495 \nhttp://github.com/appcelerator/titanium_mobile/commit/d2e8549e28ea9...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:30:19.000+0000", "updated": "2011-04-15T02:30:19.000+0000" }, { "id": "123391", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [eaa0ea3b31a2405029c9945f596b8d3f34cc23c9])\nCloses #495 \nhttp://github.com/appcelerator/titanium_mobile/commit/eaa0ea3b31a24...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:30:19.000+0000", "updated": "2011-04-15T02:30:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }