{ "id": "60795", "key": "TIMOB-163", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:52:11.000+0000", "created": "2011-04-15T02:24:33.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:52:11.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}

How can I create multiple switches dynamically? And after\nclicking on switch I want both value and id of switch control.

\n

var sw1 = Titanium.UI.createSwitch({id:'switch1',\nvalue:true});

{html}", "attachment": [], "flagged": false, "summary": "How can I create multiple switches dynamically.", "creator": { "name": "atharva", "key": "atharva", "displayName": "Atharva", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "atharva", "key": "atharva", "displayName": "Atharva", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "122858", "author": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

please ask this question on support.appcelerator.net.\nthanks.

{html}", "updateAuthor": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:33.000+0000", "updated": "2011-04-15T02:24:33.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }