Note that there are some explanatory texts on larger screens.

plurals
  1. POCSS doesnt load properly when struts 2 jquery tree plugin is used
    primarykey
    data
    text
    <p>I'm using struts2 jquery tree plugin to show a tree in a div . The problem is that either the CSS of the tree or the CSS of my JSP page doesn't load properly.</p> <p>I tried to change the order in which the scripts load and now I can see that all my CSS on the JSP is as required but the tree is not loaded with proper CSS . </p> <p>As of now I've set the <code>jqueryui="true"</code> in the<code>&lt;sj:head&gt;</code>.</p> <pre><code>&lt;sj:head jqueryui="true" /&gt; &lt;script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://jzaefferer.github.com/jquery-validation/jquery.validate.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="scripts/myscript.js" &gt;&lt;/script&gt; &lt;link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile.structure-1.2.0.min.css" /&gt; &lt;link rel="stylesheet" href="themes/Test.css" /&gt; &lt;link rel="stylesheet" href="themes/Custom.css" /&gt; &lt;link rel="stylesheet" href="css/styles.css" /&gt; &lt;script&gt; $.subscribe('treeClicked', function(event, data) { var item = event.originalEvent.data.rslt.obj; alert('Clicked ID : ' + item.attr("id") + ' - Text ' + item.text()); }); &lt;/script&gt; &lt;body&gt; &lt;s:url var="treeDataUrl" action="GetData"/&gt; &lt;sjt:tree id="jsonTree" href="%{treeDataUrl}" onClickTopics="treeClicked" jstreetheme="default" /&gt; &lt;/body&gt; </code></pre> <p>Note: I need to include all the CSS files ive mentioned in the code. They are necessary for my UI </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload