{ "id": "126474", "key": "AC-3262", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-03-17T02:12:49.000+0000", "created": "2014-02-17T07:11:09.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:57:40.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "I am using Titanium : 3.1.3 SDK. and developing applications on IOS7 and android 4.2. I am following Alloy MVC framework in my developement. I would like to know if it is possible to support multiple views with one controller. Consider the below scenario.:-I have 2 countries. I have a base controller and a view. From the base controller, I need to open different views for different countries but both the child views should have the same controller.\r\nExample:-\r\nFrom BaseController.js I would like to open ChildController_US.xml for USA and childController_UK.xml for UK.I would like to have 1 single controller childController.js", "attachment": [], "flagged": false, "summary": "Support multiple views against one controller in alloy MVC", "creator": { "name": "sarbari.mukherjee@cognizant.com", "key": "sarbari.mukherjee@cognizant.com", "displayName": "sarbari mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sarbari.mukherjee@cognizant.com", "key": "sarbari.mukherjee@cognizant.com", "displayName": "sarbari mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows", "comment": { "comments": [ { "id": "293410", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This question is better suited for Q&A forum so I would suggest you to post it there.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-17T08:01:36.000+0000", "updated": "2014-02-17T08:01:36.000+0000" }, { "id": "295216", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It would be great if you can provide a code sample (does not need to work obviously) that demonstrates how the requested feature would be used. We can then evaluate this feature request more meaningfully.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-03T03:01:22.000+0000", "updated": "2014-03-03T03:01:22.000+0000" }, { "id": "297468", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as the reporter has not provided requested information on this improvement request.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-17T02:12:49.000+0000", "updated": "2014-03-17T02:12:49.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }