Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3262] Support multiple views against one controller in alloy MVC

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2014-03-17T02:12:49.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy
Labelsn/a
Reportersarbari mukherjee
AssigneeRitu Agrawal
Created2014-02-17T07:11:09.000+0000
Updated2016-03-08T07:57:40.000+0000

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. Example:- From 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

Comments

  1. Ritu Agrawal 2014-02-17

    This question is better suited for Q&A forum so I would suggest you to post it there.
  2. Ritu Agrawal 2014-03-03

    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.
  3. Ritu Agrawal 2014-03-17

    Resolving this ticket as the reporter has not provided requested information on this improvement request.

JSON Source