Titanium JIRA Archive
Alloy (ALOY)

[ALOY-697] <LeftButton> and <RightButton> not implemented in the Alloy markup

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2014-01-16T15:38:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsXML
Labelsalloy, ios, xml
ReporterCarter Lathrop
AssigneeTony Lukasavage
Created2013-06-10T17:00:13.000+0000
Updated2017-08-15T20:13:28.000+0000

Description

Problem

Unable to use markup in Alloy view

Test case

<TextField  class="formTextField" rightButtonMode="Ti.UI.INPUT_BUTTONMODE_ALWAYS">
    <RightButton>
        <Button style="Titanium.UI.iPhone.SystemButton.DISCLOSURE" />
    </RightButton>
</TextField>

Logs

[WARN] :   Attempted to load TiUIRightButtonProxy: Could not find class definition.
[ERROR] :  Script Error {
[ERROR] :      backtrace = "#0 () at file://localhost/Users/accountone/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/2319EC22-6C61-4B38-9A3E-B66D5DC847D1/spirals.app/alloy.js:72\n#1 login() at file://localhost/Users/accountone/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/2319EC22-6C61-4B38-9A3E-B66D5DC847D1/spirals.app/alloy/controllers/index.js:11\n#2 () at file://localhost/Users/accountone/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/2319EC22-6C61-4B38-9A3E-B66D5DC847D1/spirals.app/alloy/controllers/index.js:67";
[ERROR] :      line = 55;
[ERROR] :      message = "invalid method (createRightButton) passed to UIModule";
[ERROR] :      sourceId = 208900864;
[ERROR] :      sourceURL = "file://localhost/Users/accountone/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/2319EC22-6C61-4B38-9A3E-B66D5DC847D1/spirals.app/alloy/controllers/login.js";
[ERROR] :  }

Discussions

[http://developer.appcelerator.com/question/153411/is-it-possible-to-add-a-textfield-button-in-alloy-xml-markup]

Comments

  1. Tony Lukasavage 2014-01-16

    Duplicate of ALOY-418
  2. Lee Morris 2017-08-15

    Closing as duplicate.

JSON Source