1. #1
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    London, UK
    Posts
    32
    Vote Rating
    1
    markofsine is on a distinguished road

      0  

    Default Sub-classing grid and form

    Sub-classing grid and form


    I have added functionality to my new extended grid and form classes that I want available across all grids and forms in my entire application.
    These are fairly fundamental changes and require overriding a number of the internal functions of the base classes (eg. To implement proper model handling and validation on forms)
    The idea is that with time these new bases classes will be updated with all shared functionality to ensure a consistent look and feel across the entire application.

    The problem:
    Designer does not allow this to be done in any simple way. My project is broken down in to around 40+ projects (per controller) and even if I used the import component functionality, every time I changed the base class I would need to re-import.
    Also these classes have a number of properties and methods that the designer does not recognize.

    Has anyone done a similar type of thing...? What thoughts / suggestions...

    While not ideal I am happy to refactor to use some other pattern that fits better with the designer.

    Thanks.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,198
    Vote Rating
    120
    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


    The case of sharing a component/class across a bunch of different projects and having it automatically update in the other projects (when you open them of course) is something that we are looking into better supporting.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

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