I had no problem to install Xwiki on local computer under Tomcat.
But when I have deployed Xwiki under OC4J according to OC4J Installation
instructions
("http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOC4J"),
it seems javascript does not work properly – it looks like the path to
external .js-files cannot be found.
Both IE and Firefox show javascript errors nearly on each page, although
JavaScript is not deactivated.
For example, 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 some paths to js- and css files are defined with the parameter “true”,
and some – without?
Is there something specific to keep in mind concerning path under OC4J?
Should I make additional entries in some xml-files?
Any help, please
Regards,
adoro
--
View this message in context:
http://www.nabble.com/JavaScript-under-OC4J-tf4305991.html#a12257241
Sent from the XWiki- Dev mailing list archive at
Nabble.com.