I had no problem to install Xwiki in the Tomcat environment.
But when I deployed Xwiki under OC4J followed the OC4J Installation
instructions
("http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOC4J"),
javascript did not work properly – it looks like the path to external
.js-files couldn't be found.
Both IE and Firefox show javascript errors nearly on each page, although
JavaScript is not deactivated in browser.
I can open the home page, go to xwiki/bin/admin/XWiki/XWikiPreferences,
upload xwiki-enterprise-wiki-1.1~.xar, but cannot expand it to choose the
files I want to import.
I have tried to include some JavaScript functions from import.js direct in
the importinline.vm source – it works fine.
What's the difference between:
<script type="text/javascript"
src="$xwiki.getSkinFile("import.js")"></script> - it
generates path to
/xwiki/skins/albatross/import.js
and
<script type="text/javascript"
src="$xwiki.getSkinFile("import.js",
true)"></script> - generates path to
/xwiki/bin/skin/skins/albatross/import.js
Why only some paths to js- and css files are defined with the parameter
“true”?
Is there something specific to keep in mind concerning path under OC4J?
Should I make additional entries in some xml-files?
Any tips please?
Regards,
adoro
--
View this message in context:
http://www.nabble.com/OC4J---JavaScript-tf4310450.html#a12271014
Sent from the XWiki- Dev mailing list archive at
Nabble.com.