Titanium JIRA Archive
Alloy (ALOY)

[ALOY-395] <Collection> and <Model> generated code should appear BEFORE UI code

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-11-26T22:36:52.000+0000
Affected Version/sn/a
Fix Version/sAlloy 0.3.3, 2012 Sprint 24
ComponentsRuntime, XML
Labelsn/a
ReporterTony Lukasavage
AssigneeUnknown
Created2012-11-15T18:51:25.000+0000
Updated2018-03-07T22:26:03.000+0000

Description

Right now and tags will only be generated "in time" if they are in the XML before any UI component that needs them. We should make it possible to have these non-UI tags placed anywhere in the code and have them generate in the appropriate spot, before the UI code.

Comments

  1. Tony Lukasavage 2012-11-26

    The Alloy.Collection and Alloy.Model parsers can now designate code to be generated before the UI and controller code by attaching it to the returned state as the property **modelCode**

JSON Source