Hello! I'm trying to integrate bpmn-js into my xWiki application.
I istalled bpmn-js via bower into xWiki resource folder and then i created a
page with this content:
When the page loads (and the javascript libs are imported) I get some errors
about prototype.js and requirejs (http://pastie.org/9946255). How can I fix
this problem??
--
View this message in context: http://xwiki.475771.n2.nabble.com/Integrate-bpmn-js-into-xWiki-tp7593969.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'm trying to use the macro from the Attachment Application.
{{attachmentSelector classname="$campaignClass" property="picture1" buttontext="$escapetool.xml($doc.displayPrettyName('campaignUIString', false, false))" savemode="direct"
displayImage="true" width="120" link="true" targetdocname="Photos.CdLSnl"/}}
Issue is that the image file name; selected by the picker, is stored in the property picture1 without the page reference.
Because we have provided a targetdocname.
The documentation:
targetdocname: An optional reference to a document to use as the source (and target) for the attachments to display. By default the current document is used.
So we want stored in picture1 a string
Photos.CdLSnl(a)picture.jpg
But it stores:
picture.jpg
We need the complete document and filename since our application is using multiple displayers, not only the macro version
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hi,
We have this javascript function
function getStats(event) {
var url = "$xwiki.getURL('cdlsDashboard.statsGlobal', 'view')?xpage=plain&outputSyntax=plain";
request(url, setStats, event);
}
Since migration to version 8 the browser console shows a strange get function and resulting error:
cdlsworld.devxwiki.com/xwiki/bin/view/cdlsDashboard/$xwiki.getURL('cdlsDashboard.statsGlobal',%20'view')
It looks like the velocity is not based before creating a javascript?
I've had similar in a stylesheet extension
Is something changed in version XWiki 8 (we came from 6.4.x)?
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
With xwiki 8.3 the new children marcro is available, something we were
waiting for. Unfortunately the macro does not have any configuration
parameters at the moment.
Currently we use the following snippet in a huge number of ours pages to
display child-documents:
because translations and attachments are unnecessary for our navigation. But
inserting this code requires switching to sourcecode in ckeditor, which does
not work correctly in Internet Explorer.
Are there plans to extend the children macro to enable hiding translations
and attachments? This would make it possible for our users to use this macro
instead via macro GUI of ckeditor.
Otherwise maybe we need to start looking into extension development and do
it ourselves.
Thank you
Mario
--
View this message in context: http://xwiki.475771.n2.nabble.com/Parameters-for-children-macro-tp7601545.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Long time user, very infrequent poster...
I'm looking for something for users of our xwiki to create checklists
as something akin to a template, and then use the created checklist
template, saving the completed checklist as a page.
Any suggestions would be welcomed.
Cheers
When in Velocity generating HTML
{{velocity}}
{{html}}
#foreaech()
#if(display instead of include is required)
{{display reference ='page that only works when using display'/}}
#else
#includeInContext(page that does not require display)
#end
{{/html}}
{{/velocity}}
What is the velocity macro (or code snippet) to make it work?
As documented the {{display}} or {{include}} does not work from within the velocity and/or html macro. Documentation could maybe be improved by adding what to do when this calling from within Velocity/html is required
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hi All,
I installed Xwiki 8.2.1 but getting below error in my tomcat :
2016-10-12 11:47:14,517 [localhost-startStop-1] ERROR w.k.x.w.ServletContextListener - No suitable driver found for jdbc:mysql://localhost:3306/xw_manager?useUn
icode=true&characterEncoding=utf8
java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/xw_manager?useUnicode=true&characterEncoding=utf8
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at com.worldline.kazan.xwiki.webapp.ServletContextListener.initXwikiDB(ServletContextListener.java:64)
at com.worldline.kazan.xwiki.webapp.ServletContextListener.contextInitialized(ServletContextListener.java:37)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full detai
ls will be found in the appropriate container log file
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/xwiki] startup failed due to previous e
I already kept mysql-connector-java-5.1.21.jar files in application library but still getting above error while tomcat startup.
Thanks & Regards,
Piyush
Hi All,
I installed Xwiki 8.2.1 but getting below error in my tomcat :
2016-10-12 11:47:14,517 [localhost-startStop-1] ERROR w.k.x.w.ServletContextListener - No suitable driver found for jdbc:mysql://localhost:3306/xw_manager?useUn
icode=true&characterEncoding=utf8
java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/xw_manager?useUnicode=true&characterEncoding=utf8
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at com.worldline.kazan.xwiki.webapp.ServletContextListener.initXwikiDB(ServletContextListener.java:64)
at com.worldline.kazan.xwiki.webapp.ServletContextListener.contextInitialized(ServletContextListener.java:37)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full detai
ls will be found in the appropriate container log file
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/xwiki] startup failed due to previous e
I already kept mysql-connector-java-5.1.21.jar files in application library but still getting above error while tomcat startup.
Thanks & Regards,
Piyush