1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    16
    Answers
    2
    Vote Rating
    0
    daltenhof is on a distinguished road

      0  

    Default Answered: Using MVC without a Viewport

    Answered: Using MVC without a Viewport


    This is a newb question, but has left me a bit puzzled. The "Architecting Your App" tutorial in Sencha Learn discusses creating an app using the MVC pattern, but only shows how to do this when you are using a Viewport that will take up your whole window. How would you do this if you want your app to live in a div somewhere on an existing webpage, perhaps in a simple container or panel. Do you still define a app/view/Viewport.js file? How do you specify the div you want to target for your app?

  2. I figured it out. Apparently the Viewport.js file does not have to extend an actual Viewport. It can extend other containers, and with "renderTo" one can target a specific div.

  3. #2
    Sencha User
    Join Date
    Mar 2011
    Posts
    16
    Answers
    2
    Vote Rating
    0
    daltenhof is on a distinguished road

      0  

    Default


    I figured it out. Apparently the Viewport.js file does not have to extend an actual Viewport. It can extend other containers, and with "renderTo" one can target a specific div.

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