1. #1
    Sencha User
    Join Date
    Feb 2011
    Location
    Düsseldorf, Germany
    Posts
    574
    Answers
    34
    Vote Rating
    31
    Kurt001 has a spectacular aura about Kurt001 has a spectacular aura about

      0  

    Default Unanswered: How to add plugins

    Unanswered: How to add plugins


    Hi there,
    I wrote a couple of plugins for Sencha Touch 2 and they are working if I add them with the full path.
    Is there a way to add them in SenchaTouch 2 logic?

    Best Kurt

  2. #2
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    691
    Answers
    21
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    Whats the problem? The loading? did you define the loader path config? did you add requiers? may psot some code so we can better help

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Location
    Düsseldorf, Germany
    Posts
    574
    Answers
    34
    Vote Rating
    31
    Kurt001 has a spectacular aura about Kurt001 has a spectacular aura about

      0  

    Default Plugins

    Plugins


    I am placing the Plugins in appRoot/app/plugin/<name>.js

    I am defining the Plugin as follows
    Code:
    Ext.define('App.plugin.Input-Plugin', {
        extend:'Ext.Component',
        alias:'plugin.input_plugin',
    ...
    Adding them like this

    Code:
        requires:[
            'App.plugin.Input-Plugin'
        ],
    And using it like this:
    Code:
              {
                    xtype: 'container',
                    plugins: [{
                        xclass: 'App.plugin.Input-Plugin',
    
    
                        id:'tag01',
                        infoText:'Let me know',
                        currencyText:'$',
                        inputText:'432.21'
                    }]
                },
    But this way it is not recognized when I run the JSB - build.

    So - how would you work with plugins in ST2

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