Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14220] BlackBerry: Implement apiName constants

GitHub Issuen/a
TypeSub-task
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-06-27T21:59:49.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.2.0
ComponentsBlackBerry
Labelsn/a
ReporterBryan Hughes
AssigneePedro Enrique
Created2013-06-13T19:10:44.000+0000
Updated2017-03-09T07:43:23.000+0000

Description

We need to implement the apiName constants. Every proxy will need to expose this constant. The spec is listed in TIMOB-13968

Comments

  1. Pedro Enrique 2013-06-27

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/118 Test case
       
       var win = Titanium.UI.createWindow({
         title:'apiName test',
         layout:'vertical'
       });
       
       var button = Titanium.UI.createButton({
         title:'Click for network test',
         bottom: 50,
         width:Ti.UI.SIZE,
         height:Ti.UI.SIZE
       
       });
       
       var map = Ti.Map.createView();
       var view = Ti.UI.createView();
       var label = Ti.UI.createLabel();
       var scrollView = Ti.UI.createScrollView();
       var scrollableView = Ti.UI.createScrollableView();
       var button2 = Ti.UI.createButton();
       
       
       button.addEventListener('click',function(e){
       
         alert('map: ' + map.apiName);
         alert('view: ' + view.apiName);
         alert('label: ' + label.apiName);
         alert('scrollView: ' + scrollView.apiName);
         alert('scrollableView: ' + scrollableView.apiName);
         alert('button: ' + button2.apiName);
       
       });
       
       
       
       win.add(button);
       win.open();
       
  2. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source