I'm trying to develop a simple Liferay portlet with the Icefaces framework and cannot get jQuery to work.
The main problem is, that I can't load the jQuery library properly. Whenever I add script tags to my xhtml header like this
<h:head>
<script></script>
</h:head>
the page shows an error message:
failed to append text[ ] into #document
So I tried loading the jQuery libray with the h:outputScript tag instead, but in Icefaces, the target="head" option doesn't work - see http://jira.icesoft.org/browse/ICE-8313.
<h:outputScript library="scripts" name="jquery-1.9.1.js" target="head" />
So, at this point I'm clueless who to include the jQuery (or any javascript) library.
Please don't suggest using another framework. Icefaces is demanded in future projects, so I have to get used to it.
All I'm trying to do is something like this: http://jqueryui.com/sortable/
Thanks in advance, Fabi.