1. #1
    Sencha User
    Join Date
    Jan 2009
    Location
    US
    Posts
    46
    Vote Rating
    0
    zlog is on a distinguished road

      0  

    Default Custom Properties Help

    Custom Properties Help


    Hi,

    If I want to add a custom property in Sencha Architect to a view let's say... for example like testVal and I need this to contain a ternary operation like the following:
    Code:
    testVal: Ext.os.is.Android ? 0 : 100
    I add the new property, add the value and after that I see:
    Code:
    testVal: 'Ext.os.is.Android ? 0 : 100'
    If I change the type for this new property to be a numerical one, Architect complains about 'maximum length for this field is 12...' and doesn't let me to have such input.
    So what needs to be done in cases like this, can this be reported as an required functionality?

    Thank you !

  2. #2
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    515
    Vote Rating
    41
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default


    at the moment, you can't put logic in a configs property value. create the property, then set the value in the init of your container or controller etc.

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..."