Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8116205

webengine.loadcontent fail to render in memory html file with link to jquery mobile css

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u9
    • javafx
    • None
    • Mac osx 10.7.4 Intel Core Duo

    • web

      Trying webengine.loadcontent(strHtml). strHtml contains html code created on runtime. If one try to put
      <link rel="stylesheet" href="file://localhost/jquerylib/jquery.mobile-1.2.0.min.css"/>
      <script src="file://localhost/jquerylib/jquery-1.8.2.min.js"></script>
      <script src="file://localhost/jquerylib/jquery.mobile-1.2.0.min.js"></script>

      in the header of strHtml then it seems that it stops to render.

      If the strHtml is saved in a file and then use webengine.load(filename) then it is loading ok.

            peterz Peter Zhelezniakov
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: