Re: [xwiki-users] XWiki 8 migration JSX Extension velocity parse

2016-10-13 Thread Guillaume Delhumeau
Of course, this will not fix the real bug, and it won't work with your stylesheet extension. 2016-10-13 13:20 GMT+02:00 Guillaume Delhumeau < guillaume.delhum...@xwiki.com>: > You are probably experiencing a bug. > > However, I will propose you a solution that we consider as a Best Practice. > >

Re: [xwiki-users] XWiki 8 migration JSX Extension velocity parse

2016-10-13 Thread Guillaume Delhumeau
You are probably experiencing a bug. However, I will propose you a solution that we consider as a Best Practice. var url = new XWiki.Document(XWiki.Model.resolve('cdlsDashboard.statsGlobal', XWiki.EntityType.DOCUMENT)).getURL('view', 'xpage=plain=plain') I hope it helps, Guillaume 2016-10-13

Re: [xwiki-users] XWiki 8 migration JSX Extension velocity parse

2016-10-13 Thread Gerritjan Koekkoek
Yes : parse was/is set to true Verstuurd vanaf mijn iPhone > Op 13 okt. 2016 om 12:13 heeft Guillaume Delhumeau > het volgende geschreven: > > Hello. > > On your JavaScript Skin Extension object, have you set "Parse content" to > "yes"? > > 2016-10-12 13:59

Re: [xwiki-users] XWiki 8 migration JSX Extension velocity parse

2016-10-13 Thread Guillaume Delhumeau
Hello. On your JavaScript Skin Extension object, have you set "Parse content" to "yes"? 2016-10-12 13:59 GMT+02:00 Gerritjan Koekkoek : > Hi, > > > We have this javascript function > > function getStats(event) { > > var url =

[xwiki-users] XWiki 8 migration JSX Extension velocity parse

2016-10-12 Thread Gerritjan Koekkoek
Hi, We have this javascript function function getStats(event) { var url = "$xwiki.getURL('cdlsDashboard.statsGlobal', 'view')?xpage=plain=plain"; request(url, setStats, event); } Since migration to version 8 the browser console shows a strange get function and resulting error: