1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    girash@kjradio.co.kr is on a distinguished road

      0  

    Default I have html page in sencha web app but it looks strange.

    I have html page in sencha web app but it looks strange.


    hello.
    i have a xml file with xslt.
    i make this file displayed in sencha.

    if i look this file in browser it looks good.
    but in sencha it looks strange.

    please help me.

    thanks~!!

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,207
    Vote Rating
    856
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What do you mean? If you are asking for help we need more info
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    girash@kjradio.co.kr is on a distinguished road

      0  

    Default


    i made html page with xml and xslt.

    it displayed ie or other browser well.

    but i include this page in sencha touch.

    like this

    Ext.apply(this, {
    scroll: 'vertical',
    dockedItems: [ titlebar, toolbar ],
    html: '<div id="reportContainer" style="width:100%;height:100%;background-color:#fff;border:1px solid #fff;" ></div>',
    fullscreen:true,
    padding:0,
    margin:0,
    listeners: {
    beforeactivate: function() {
    if (this.isReturnedFromSignature == false) {
    var title = this.down('#ReportDetailTitle');
    var reportData = App.stores.report.selectedReport.data;
    title.setTitle(reportData.vesselName+' / ' + reportData.reportName);

    var styleButton = this.down('#ReportStyleButton');
    styleButton.setDisabled(App.stores.report.rStyles.length<2);

    var updateButton = this.down('#ReportUpdateButton');
    updateButton.hide();

    var editButton = this.down('#ReportEditButton');
    editButton.setText("Edit");
    }
    this.isReturnedFromSignature = false;
    },
    deactivate: function() {
    }
    }
    });
    App.views.ReportDetail.superclass.initComponent.call(this);
    },

    i include this page in sencha's html tag where underlined.


    it displayed strange.
    i think css did not work well.

    font-size is larger than original page and width of page is larger too.
    most important problem is in table tag.
    width of td does not work.


    is there solution of this problem?

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,207
    Vote Rating
    856
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Sencha Touch only supports WebKit browsers so it will not work on IE, FF, or Opera.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha User 123lal's Avatar
    Join Date
    Feb 2012
    Posts
    32
    Vote Rating
    0
    123lal is on a distinguished road

      0  

    Default


    @mitchellsimoens ,
    i am trying to make some application using extjs4, mvc architecture . in my first application my aim is to load details of selected / clicked item from the first grid loaded at center. The problem now am facing is i created a viewport.js in the view folder ,and when am executing the application in the browser nothing is displayed in the browser window

    this is the link , there i inserted the code ,

    http://www.sencha.com/forum/showthre...-in-mvc-extjs4

    Mr. Mitchellsimoens please tell me what are the errors i made , am a new programmer in ext js, i tried a lot to solve this by reading different blogs, forum results , but i failed, and i would like to get links of some explanatory writeup of this ext js4 mvc, Hopefully waiting for your reply

    Thanks and regards
    123lal

    Operating s/m : Windows xp
    Browser : Firefox 10.02, with firebug
    Server : WAMP

  6. #6
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    girash@kjradio.co.kr is on a distinguished road

      0  

    Default


    html page that i made is displayed well in safari.

    but if i insert that page in sencha program
    it displayed strange.

    i've searched this problem a lot of blog and forum.

    but nothing is found.

    please, give me a tip.

  7. #7
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,596
    Vote Rating
    324
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    @123lal. Your post seems to be entirely unrelated to this thread. Please do not hijack other user's threads to ask unrelated questions.

    @girash. You may need to reapply the default HTML styling rules. Try this for starters:

    http://docs.sencha.com/touch/2-0/#!/...yleHtmlContent

    Please post Sencha Touch questions in the appropriate Q&A forum (note that there are different forums for Touch 1 and Touch 2).

  8. #8
    Sencha User 123lal's Avatar
    Join Date
    Feb 2012
    Posts
    32
    Vote Rating
    0
    123lal is on a distinguished road

      0  

    Default


    Quote Originally Posted by skirtle View Post
    @123lal. Your post seems to be entirely unrelated to this thread. Please do not hijack other user's threads to ask unrelated questions.
    Am sorry ,

  9. #9
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    girash@kjradio.co.kr is on a distinguished road

      0  

    Default thankyou!!

    thankyou!!


    I'll try it.
    and let you know the result.

    thankyou~

Thread Participants: 3

Tags for this Thread