<!DOCTYPE html>
<html xmlns="http:><head id="j_idt2">
<title>Nuxeo Platform - testWorkspace2 allo quoi
</title>
<link rel="bookmark" href="http: /><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><link rel="icon" href="/nuxeo/icons/favicon.png" type="image/png"/><link rel="shortcut icon" href="/nuxeo/icons/favicon.ico" type="image/x-icon"/><base href="http://localhost:8080/nuxeo/" /><meta name="gwt:property" content="locale=en_US" /><link type="text/css" rel="stylesheet" href="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/skinning.ecss?db=eAG7dPvZfwAIqAOT" /><script type="text/javascript" src="/nuxeo/javax.faces.resource/jsf.js.faces?ln=javax.faces"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/jquery.js"></script><script type="text/javascript" src="/nuxeo/javax.faces.resource/select2.js.faces?ln=org.nuxeo.select2"></script><script type="text/javascript" src="/nuxeo/javax.faces.resource/select2_locale_en.js.faces?ln=org.nuxeo.select2"></script><script type="text/javascript" src="/nuxeo/javax.faces.resource/nuxeo-select2.js.faces?ln=org.nuxeo.select2"></script><script type="text/javascript" src="/nuxeo/javax.faces.resource/js/fixviewstate.js.faces"></script><script type="text/javascript" src="/nuxeo/javax.faces.resource/js/fixformtargetframeid.js.faces"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/richfaces.js"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/richfaces-queue.js"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/richfaces-base-component.js"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/log.js"></script><link type="text/css" rel="stylesheet" href="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/log.ecss?db=eAG7dPvZfwAIqAOT" /><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/richfaces-event.js"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/tree.js"></script><link type="text/css" rel="stylesheet" href="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/tree.ecss?db=eAG7dPvZfwAIqAOT" /><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/jquery.position.js"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/json-dom.js"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/jquery.effects.core.js"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/jquery.effects.highlight.js"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/JQuerySpinBtn.js"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/calendar-utils.js"></script><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/calendar.js"></script><link type="text/css" rel="stylesheet" href="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/calendar.ecss?db=eAG7dPvZfwAIqAOT" /><script type="text/javascript" src="/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces/status.js"></script></head>
...
<link type="text/css" rel="stylesheet" media="all" href="/nuxeo/nxthemes-lib/screen.css,jquery.fancybox.style.css,static-styles.css,jquery.ambiance.css,tipsy.css,magnific-popup.css,video-js.css,video-js.nx.css,videojs.thumbnails.css,opensocial-reset-fonts-grids.css,opensocial-container.css,opensocial-gadgets.css,opensocial-light-container-gadgets.css,documentRoutingGraph.css,select2.css,nxthemes.css,autosuggest.css?path=/nuxeo&basepath=/nuxeo/site&timestamp=1411759227388"/><script type="text/javascript"><!--
var nxthemesPath = "/nuxeo";
var nxthemesBasePath = "/nuxeo/site";
var nxContextPath = "/nuxeo";
<script type="text/javascript" src="/nuxeo/nxthemes-lib/prototype.js,effects.js,dragdrop.js,seam-remote.js,bsn.AutoSuggest_2.1.3.js,foldable-box.js,window.js,window_effects.js,waitdlg.js,utils.js,jquery.fancybox.js,jquery.tools.cookie.js,fancybox-popup-utils.js,contextmenu.js,jquery.tools.focusfirst.js,jquery.hotkeys.js,sarissa-ie-workaround.js,hideableAdminMessage.js,accessKey.js,jquery.nuxeo.doubleclickshield.js,jquery.ambiance.js,jquery.nuxeo.dropdown.js,jquery.tipsy.js,jquery.magnific-popup.js,nuxeo-lightbox.js,jquery.nuxeo.cv-lightbox.js,nuxeo-documents-import.js,video-js.js,video-player-util.js,videojs.thumbnails.js,audio-player.js,opensocial-rpc-container.js,opensocial-util.js,opensocial-gadgets.js,opensocial-cookies.js,opensocial-cookiebaseduserprefstore.js,jquery.opensocial.gadget.js,automation.js,jquery.jsPlumb-1.5.1-min.js,documentRoutingGraph.js,collections2Formatter.js,jquery.ui.core.js,jquery.ui.widget.js,jquery.ui.mouse.js,jquery.ui.sortable.js,tags2Formatter.js?path=/nuxeo&basepath=/nuxeo/site&timestamp=1411759227388"></script><link rel="stylesheet" type="text/css" media="all" href="/nuxeo/nxthemes-css/galaxy-styles.css?theme=galaxy&path=/nuxeo&basepath=/nuxeo&collection=default&timestamp=1411759227388" />
...
<body class="documentManagement galaxyDefaultCss168570246 nxStyle971743052PageFrame"><div></div>
<table summary="" cellpadding="0" cellspacing="0" border="0" class="themeSectionFrame nxHeader">
"cache" attribute value set in theme-view.xml is discarded.
This is due to a mistake during the JSF2 migration (styles and resources renderers logics have been inverted).
Also theme resources should be put back inside the h:head tag otherwise html is invalid, as script elements are located between the head and the body tag:
Ordering issues should be manageable through annotations on the theme jsf renderers.