1. #1
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    42
    Answers
    1
    Vote Rating
    3
    rajindarr is on a distinguished road

      0  

    Default Unanswered: Use With action property in Extjs Button

    Unanswered: Use With action property in Extjs Button


    {xtype:'button',text:'Save',action:'save', itemId : 'save-item-id'} when we declared a button like above in a from component. what exactly the use with action:'save' ?

    I know to differentiate the buttons in controller we can use action like 'view button[action=save]' to trigger a event method, if the action for this purpose, we also can use 'view button[text=save]' in controllers.

    is there any use to use this action property in button declaration?

  2. #2
    Sencha - Community Support Team friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Answers
    106
    Vote Rating
    27
    friend has a spectacular aura about friend has a spectacular aura about

      0  

    Default


    As far as I know, 'action' is just a custom property used to associate a logical action with a button. As you already stated, the 'action' property also provides a convenient selector for handling the a button's events in a Controller.

    I think this property can also be used to retrieve any custom Ext.Action associated with a button.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi