Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-13058

CLI: detect control types in ListView templates

    Details

      Description

      Current built process does not detect use of certain controls referenced in templates, e.g Ti.UI.Switch control below.
      As a result, these cannot be found at runtime.

      	var template = {
      		properties: {
      		},
      		childTemplates: [
      		{
      			type: 'Ti.UI.Label',
      			bindId: 'bindLabel',
      			properties: {
      				color: 'red',
      				font: { fontFamily:'Arial', fontSize: 13, fontWeight:'bold' },
      				left: 10,
      				width: 200, height: 30
      			},
      		},
      		{
      			type: 'Ti.UI.Switch',
      			bindId: 'bindSwitch',
      			properties: {
      				value: false,
      				right: 10,
      				height: 40
      			},
      			events: {
      			}
      		}
      		]
      	};
      

        Attachments

          Activity

            People

            • Assignee:
              bhughes Bryan Hughes
              Reporter:
              mstepanov Max Stepanov
              Reviewer:
              Chris Barber
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-15889
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration