Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Threaded View

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    4
    Vote Rating
    0
    joe_montanab is on a distinguished road

      0  

    Question How to define an object in Component Config

    How to define an object in Component Config


    I'm currently using an Ext.Map view, but this applies to any view really. In the component config area for Ext.Map there is a mapOptions setting. The text for the value shows [object]..., when I click on it I get a blank box. I try to add my object in there and it sets my value as a quoted string in code view.

    What I put in:

    { centered: 45.622469,-122.666933 }

    What I expect to show up in code view:

    Code:
    ...
        config: {
            mapOptions: { centered: 45.622469,-122.666933 }
        }
    ...
    But here is what I actually get:

    Code:
    ...
        config: {
            mapOptions: '{ centered: 45.622469,-122.666933 }\n'
        }
    ...
    How can I set the value for mapOptions (or any object in the component config area) and have it take it as an object instead of a literal string?

    Thanks!
    -Joe
    Last edited by joe_montanab; 11 Feb 2012 at 1:45 PM. Reason: comment for second code block

Thread Participants: 2

Tags for this Thread