1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    7
    Vote Rating
    0
    rdunklau is on a distinguished road

      0  

    Default Custom association classes - [PATCH]

    Custom association classes - [PATCH]


    Hello.

    Sorry if this not the right forum for this.

    I needed to implement a custom association class and ran into several problems:

    - the Model class uses some unorthodox loading method
    - the Association "create" classmethod does not accept any type other than the three builtins

    Why this arbitrary limitation ? I'm sure there is a valid reason for putting these restrictions in place that I overlooked.

    Anyway, please find a patch attached that can serve as a basis for allowing custom association classes.

    The changes are the following:

    - add a "cardinality" class attribute on all associations. This is then used in Model.getAssociatedData instead of the type itself.
    - add a default case to the static create classmethod, defaulting to Ext.create(association.type)
    Attached Files

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Thank you for the contribution. Your suggested has been passed along: EXTJSIV-6343

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    7
    Vote Rating
    0
    rdunklau is on a distinguished road

      0  

    Default


    What does the "EXTJSIV-6343" identifier refer to ?
    Can I use it (in a bug tracker perhaps) to track the state of the issue ?

    Thank you.

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    This is an internal reference to our tracking system. It can be used in future requests for lookup.

    Scott.

Thread Participants: 1

Tags for this Thread

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