Platform jsfx ssfx problem

2 messages Options
Embed this post
Permalink
Luis Ruiz-2

Platform jsfx ssfx problem

Reply Threaded More More options
Print post
Permalink
Hello,

I have compiled xwiki-web-standard-2.1-SNAPSHOT + Oracle 10G but when I run
it, everything it's ok but I can see things like this in every page:

$xwiki.jsfx.use('js/scriptaculous/effects.js', true)
$xwiki.jsfx.use('js/xwiki/widgets/modalPopup.js', true)
$xwiki.ssfx.use('js/xwiki/widgets/modalPopup.css', true)
$xwiki.jsfx.use('js/xwiki/widgets/jumpToPage.js', true)
$xwiki.ssfx.use('js/xwiki/widgets/jumpToPage.css', true)
$xwiki.jsfx.use('uicomponents/widgets/confirmationBox.js', true)
$xwiki.ssfx.use('uicomponents/widgets/confirmationBox.css', true)
$xwiki.jsfx.use('uicomponents/widgets/confirmedAjaxRequest.js', true)
$xwiki.jsfx.use('uicomponents/widgets/notification.js', true)
$xwiki.ssfx.use('uicomponents/widgets/notification.css', true)

$xwiki.jsfx.use('js/xwiki/viewers/attachments.js', {'forceSkinAction': true,
'language':
${context.language}})$xwiki.ssfx.use('js/xwiki/viewers/attachments.css',
true


I haven't imported an .xar yet. I even tested with a correct xwiki.cfg from
an enterprise windows installation but it continues doing the same. I have
googled and I have read that I must include jsfx and ssfx plugins, but
where?

Thanks
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
Marius Dumitru Florea

Re: Platform jsfx ssfx problem

Reply Threaded More More options
Print post
Permalink
Hi Luis,

Luis Ruiz wrote:

> Hello,
>
> I have compiled xwiki-web-standard-2.1-SNAPSHOT + Oracle 10G but when I run
> it, everything it's ok but I can see things like this in every page:
>
> $xwiki.jsfx.use('js/scriptaculous/effects.js', true)
> $xwiki.jsfx.use('js/xwiki/widgets/modalPopup.js', true)
> $xwiki.ssfx.use('js/xwiki/widgets/modalPopup.css', true)
> $xwiki.jsfx.use('js/xwiki/widgets/jumpToPage.js', true)
> $xwiki.ssfx.use('js/xwiki/widgets/jumpToPage.css', true)
> $xwiki.jsfx.use('uicomponents/widgets/confirmationBox.js', true)
> $xwiki.ssfx.use('uicomponents/widgets/confirmationBox.css', true)
> $xwiki.jsfx.use('uicomponents/widgets/confirmedAjaxRequest.js', true)
> $xwiki.jsfx.use('uicomponents/widgets/notification.js', true)
> $xwiki.ssfx.use('uicomponents/widgets/notification.css', true)
>
> $xwiki.jsfx.use('js/xwiki/viewers/attachments.js', {'forceSkinAction': true,
> 'language':
> ${context.language}})$xwiki.ssfx.use('js/xwiki/viewers/attachments.css',
> true
>
>
> I haven't imported an .xar yet. I even tested with a correct xwiki.cfg from
> an enterprise windows installation but it continues doing the same. I have
> googled and I have read that I must include jsfx and ssfx plugins, but
> where?

In xwiki.cfg, there is a xwiki.plugins property whose value should contain:

com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\

Also, can you confirm you have the xwiki-plugin-skinx jar in your
WEB-INF/lib directory?

Hope this helps,
Marius

>
> Thanks
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs