Titanium JIRA Archive
Alloy (ALOY)

[ALOY-174] Take away making ids in markup available outside module and add a getView("id") method

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-08-16T06:06:26.000+0000
Affected Version/s2012 Sprint 17
Fix Version/s2012 Sprint 17, Release 3.0.0
ComponentsRuntime, XML
Labelsn/a
ReporterRussell McMahon
AssigneeUnknown
Created2012-08-13T19:35:56.000+0000
Updated2018-03-07T22:25:36.000+0000

Description

Right now a function with name $.foo and an Button in markup with id="foo" would collide. Add a getView(id) method to controller so function names and ids do not conflict with each other.

Comments

  1. Tony Lukasavage 2012-08-15

    Need to make getView() necessary only outside the module definition, not inside.
  2. Tony Lukasavage 2012-08-16

    Changes implemented and tested in: * simple * complex * makrup_events * properties_model * widget_complex

JSON Source