1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    3
    Vote Rating
    0
    nithya_l is on a distinguished road

      0  

    Default Launching a new viewport from one

    Launching a new viewport from one


    Hi,

    I needed help with launching a new page from one. I am launching the first page by using the Ext.application method

    var cmpSearchViewport = Ext.create('MyApp.view.SearchViewport', {
    renderTo: Ext.getBody()
    });
    cmpSearchViewport.show();
    On click of a button on this page the new viewport should be launched. I added this to the button listener.\

    var cmp1 = Ext.create('MyApp.view.MyViewport', {
    renderTo: Ext.getBody()
    });
    cmp1.show();

    But it is not displayed properly and the first page is still showing up. Please let me know how to solve this.

    Thanks in advance.

  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


    You do not need to call renderTo or show to display a ViewPort. This is done automatically.

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    3
    Vote Rating
    0
    nithya_l is on a distinguished road

      0  

    Default


    Thanks for the reply.
    If I remove the renderTo and show the page is rendering, but the display is not covering the entire page.

    The first page is still showing up and a part of the next page is rendered on a small portion.

    Should I clear the body content and then call the Ext.create. If so how can that be done.

    Thanks

  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


    ViewPort is designed to display using the entire browser client window. If you have other content on the browser body, you may want to use a panel. Is this case?

    Regards,
    Scott.

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