1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    1
    Vote Rating
    0
    scottgw is on a distinguished road

      0  

    Default Over Ride select field

    Over Ride select field


    I'm a Sencha noob. I am trying to implement this over ride class so that I can either have blank or placeholder text in my selectField. I've added a JS Resource would this be the best way to do it? I can't seem to get it to work. Either I get a blank white screen or it doesn't work at all. Do I need to implement a store for this to work? My biggest question is with everything correct in my program will creating a js file with my override and including it as a JS Resource work correctly?

    Thanks.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,182
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    If you've created the select as a top level class you can just click "Create Override" and it will handle loading it for you etc.

    If you didn't initially create it as a top level class, you can right click on it and select "Promote to Class" to make it a top level class.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    550
    Vote Rating
    50
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      0  

    Default


    Just a friendly advise:
    if you get blank screens, a JavaScript debugger is your friend. Install FireBug if you are a Firefox user, use Chrome's Developer Tools or IE's "F12 Developer Tools". In the Console or Network tab (catching misspelling of classes and overrides) you'll find the reason why your Sencha app doesn't run.

Thread Participants: 2

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