Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    46
    Vote Rating
    0
    Zavel is on a distinguished road

      0  

    Default Adding plugins to Containers

    Adding plugins to Containers


    Hi, I'm attempting to add a PullRefresh plugin to a Container.

    Normally, I could specify it like this:

    plugins: [...
    ...passing in the plugins parameter while defining the items. How can i do this within Sencha Designer 2? Do i add a "plugins" parameter, and explicitly set it to the block of JSON defining the plugin? What is the best method?

    - Shane

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,260
    Vote Rating
    79
    ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough

      0  

    Default


    Creating an override over initComponent() so you could change config object before calling overriden method but seems that there is a bug in ExtJS in override mechanism. But if you are using Touch it seems that such bug is fixed in 2 final.

    Regards.

    UPDATE:
    overriding initComponent() works!

    PHP Code:
    Ext.define('AutoGestion.view.override.DatosGenerales', {
        
    requires'AutoGestion.view.DatosGenerales'
    }, function() {
        
    Ext.override(AutoGestion.view.DatosGenerales, {
            
    initComponent : function() {
                
    alert("initComponent()");
                
    this.title "Otro";
                
    this.callOverridden(arguments);
            }
        });
        
    alert("initComponent() overriden...");
    }); 
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

Thread Participants: 1