[ALOY-1360] Allow baseController as attribute of Alloy xml tag
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2016-03-16T22:46:18.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.2.1, alloy 1.8.1 |
Components | Tooling |
Labels | n/a |
Reporter | Brenton House |
Assignee | Feon Sua Xin Miao |
Created | 2016-02-22T15:49:23.000+0000 |
Updated | 2016-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
Added Test App: https://github.com/brentonhouse/brentonhouse.alloy/tree/feature-basecontroller-attribute/test/apps/testing/ALOY-1360
Community PR merged.
I see this issue in 5.2.1.GA release notes. I think need to update
Fix Version/s
hereWe 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