Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1360] Allow baseController as attribute of Alloy xml tag

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2016-03-16T22:46:18.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.2.1, alloy 1.8.1
ComponentsTooling
Labelsn/a
ReporterBrenton House
AssigneeFeon Sua Xin Miao
Created2016-02-22T15:49:23.000+0000
Updated2016-04-18T11:32:07.000+0000

Description

As a developer, I want to add an attribute of "baseController" to the root Alloy xml tag in an Alloy Controller, So that I can define the baseController of a new controller without having to create a .js file.
<Alloy baseController="myBaseController">
    <Label text="baseControllerTest" />
</Alloy>
Added PR: https://github.com/appcelerator/alloy/pull/761

Comments

  1. Chee Kiat Ng 2016-03-03

  2. Brenton House 2016-03-14

    Added Test App: https://github.com/brentonhouse/brentonhouse.alloy/tree/feature-basecontroller-attribute/test/apps/testing/ALOY-1360
  3. Feon Sua Xin Miao 2016-03-16

    Community PR merged.
  4. Andrey Tkachenko 2016-03-25

    I see this issue in 5.2.1.GA release notes. I think need to update Fix Version/s here
  5. Hazem Khaled 2016-04-18

    We need to update inheritance example https://github.com/appcelerator/alloy/tree/master/samples/apps/advanced/inheritance And in the guide http://docs.appcelerator.com/platform/latest/#!/guide/Inheritance

JSON Source