[ALOY-1577] Android: baseController does not expose the element type
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 5.2.2 |
Fix Version/s | n/a |
Components | n/a |
Labels | alloy, baseController, inheritance, widget |
Reporter | Onur Yıldırım |
Assignee | Unknown |
Created | 2016-04-12T14:46:38.000+0000 |
Updated | 2018-03-06T18:50:02.000+0000 |
Description
I have a widget with a controller
tvs
.
In the widget.js I set exports.baseController = "tvs"
Although the root element in tvs is TableViewSection
, I get the following error.
[ERROR] : Error with <Widget> at line 23
[ERROR] : Ti.UI.TableView child elements must be one of the following: [_ProxyProperty._Lists.HeaderView,_ProxyProperty._Lists.FooterView,_ProxyProperty._Lists.HeaderPullView,_ProxyProperty._Lists.Search,Ti.UI.SearchBar,Ti.UI.Android.SearchView,Ti.UI.RefreshControl,Ti.UI.TableViewRow,Ti.UI.TableViewSection,Ti.UI.iOS.PreviewContext]
[ERROR] : Alloy compiler failed
Attachments
File | Date | Size |
---|---|---|
widget-test.zip | 2016-04-12T21:31:20.000+0000 | 3020183 |
Hello, Please provide a full regeneratable sample code. Looks like the issue is with your Ti.UI.TableView child elements. Which must be one of the following: [_ProxyProperty._Lists.HeaderView,_ProxyProperty._Lists.FooterView,_ProxyProperty._Lists.HeaderPullView,_ProxyProperty._Lists.Search,Ti.UI.SearchBar,Ti.UI.Android.SearchView,Ti.UI.RefreshControl,Ti.UI.TableViewRow,Ti.UI.TableViewSection,Ti.UI.iOS.PreviewContext] Please check. See anything else is in there beside tham. Regards, Sharif.
Hello Sharif, Added widget-test.zip to demonstrate the issue. Regards, Onur
Any news on this?