1. #11
    Sencha User
    Join Date
    Feb 2012
    Posts
    3
    Vote Rating
    0
    vladimirmaslov is on a distinguished road

      0  

    Default Html page loading example

    Html page loading example


    in my view file
    ......
    {
    title: 'Характеристики',
    //html : 'Описание',
    xtype: 'panel',
    //htmlurl: 'pages/ford3/ford3.html',
    listeners: {show: function(obj,opt){ htmlPageShow('pages/ford3/ford3.html',obj,opt);}},
    scrollable: {direction: 'vertical'},
    },
    .....

    in app.js

    .....
    function htmlPageShow(url,obj,opt)
    {
    //debugger
    Ext.Ajax.request(
    {
    url: url,
    //params: { id: 1},
    scope: obj,
    async: false,
    success: function(response)
    {
    var text = response.responseText;
    this.setHtml(text);

    },
    failure: function(response, opts)
    {
    alert('Ошибка загрузки: '+opts.url);
    //debugger
    //console.log('server-side failure with status code ' + response.status);
    }
    });
    //alert(obj.getHtml());
    }
    .....

    That' all folks!

    I don't use inheritance because it's don't worked on Android.

  2. #12
    Sencha User
    Join Date
    Nov 2011
    Posts
    6
    Vote Rating
    0
    dmachado is on a distinguished road

      0  

    Default no view html

    no view html


    I am able to show the alert, but show me the contents of the HTML page.
    You can look at the page I am trying to modify: http://app.liturgia.pt/menu11/examples/kitchensink/
    User Interface -> Forms -> HTML_teste
    What am I doing wrong?

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