Titanium JIRA Archive
Alloy (ALOY)

[ALOY-306] Abstract types in markup do not currently support platform, formFactor, or inline event attributes

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-10-12T20:53:34.000+0000
Affected Version/s2012 Sprint 20
Fix Version/sAlloy 0.3.1, 2012 Sprint 21
ComponentsXML
Labelsnotable
ReporterTony Lukasavage
AssigneeUnknown
Created2012-09-27T20:43:36.000+0000
Updated2018-03-07T22:26:04.000+0000

Description

For the following components, the code for their abstract types are generated directly in the parser, not in the generateNode() function. While this ensures that these abstract types can only be used inside of the appropriate tags, it misses the preprocessing done in generateNode(), which makes conditional determinations based on platform, formFactor, and also handles inline markup eventing. * Ti.UI.ButtonBar * Ti.UI.iOS.CoverFlowView * Ti.UI.iOS.Tabbedbar * Ti.UI.iOS.Toolbar We need to see if there is a reasonable way to still enforce that the abstract types for these components only occur in these components, but also allow them the full processing that generateNode() provides. Separate parsers may need to be written for all abstract types as well.

Comments

No comments

JSON Source