Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-868

Can't use deep <Require>'s for proxy properties

    Details

      Description

      In the below example, Alloy can't find the deep nested <TitleControl>. This will end with and error indicating that __parentSymbol is undefined. We need ot pass the parent symbol through all requires.

      index.xml

      <Alloy>
      	<TabGroup>
      		<Tab>
      			<Window id="index" backgroundColor="#fff">
      				<Require src="next"/>
      			</Window>
      		</Tab>
      	</TabGroup>
      </Alloy>
      

      index.js

      $.index.open();
      

      next.xml

      <Alloy>
      	<Require src="next2"/>
      </Alloy>
      

      next2.xml

      <Alloy>
      	<TitleControl><Label>hi there</Label></TitleControl>
      </Alloy>
      

        Attachments

          Activity

            People

            • Assignee:
              tlukasavage Tony Lukasavage
              Reporter:
              tlukasavage Tony Lukasavage
              Tester:
              Federico Casali
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code