Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Touch Premium Member
    Join Date
    Jul 2011
    Posts
    4
    Vote Rating
    0
    PbMega is on a distinguished road

      0  

    Default Property missing in Ext.button.Button

    Property missing in Ext.button.Button


    Hi,

    In Ext Designer 1.2.1-27 the button´s property 'action' is missing.

    Is this an accidental omission ?

    Thanks.

    Paulo.

  2. #2
    devshi
    Guest

    Default


    I took a look at the Ext JS 4 documentation for Ext.button.Button and I do not see any mention of 'action' property. See http://docs.sencha.com/ext-js/4-0/#!....button.Button

  3. #3
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,738
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    I think Paulo is referring to an example on the docs in Ext.Action

    Code:
        // Define the shared Action.  Each Component below will have the same
        // display text and icon, and will display the same message on click.
        var action = new Ext.Action({
            text: 'Do something',
            handler: function(){
                Ext.Msg.alert('Click', 'You did something.');
            },
            iconCls: 'do-something',
            itemId: 'myAction'
        });
    
        var panel = new Ext.panel.Panel({
            title: 'Actions',
            width: 500,
            height: 300,
            tbar: [
                // Add the Action directly to a toolbar as a menu button
                action,
                {
                    text: 'Action Menu',
                    // Add the Action to a menu as a text item
                    menu: [action]
                }
            ],
            items: [
                // Add the Action to the panel body as a standard button
                new Ext.button.Button(action)
            ],
            renderTo: Ext.getBody()
        });
    Currently we don't support this.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar