I am out of the office from Thu 28/06/2012 until Mon 30/07/2012.
I will only check email occasionally during this time. For urgent matters
please contact David Poole (dpoole(a)cirrustech.com.au) or Guang Liu
(gliu(a)cirrustech.com.au) at Cirrus Technologies (02) 92993544.
Regards,
Neville
Note: This is an automated response to your message "users Digest, Vol 59,
Issue 37" sent on 28/6/2012 2:46:44.
This is the only notification you will receive while this person is away.
Hello everybody,
I use a WYSIWYG editor for a TextArea field. When I want to write
indented bulleted list like that :
° Item
°° Item
°° Item
° Item
°° Item
°° Item
I get this text in view mode :
° Item
Item (bold)
°°Item
° Item
Item (bold)
°°Item
I think that the text is interpreted like that :
* Item
** Item ** ...
That's why my first sub-item is bold.
Can anyone help me ?
Thanks
M. Canzerini
Dear Users,
I have a problem with Xwiki's XMLRPC api. I'm using XWiki 4.0 and I
want to add my own methods. I've read here
http://www.mail-archive.com/users@xwiki.org/msg08285.html that I can
implement them in XWikiXmlRpcApi and XWikiXmlRpcApiImpl. I've found
the interface here:
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
But I couldn't find its implementation. After some googling I
discovered it here:
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/xmlrpc/XWikiXmlRpcApiImpl.java
and here is the source:
http://permalink.gmane.org/gmane.comp.web.wiki.xwiki.scm/127394
I presume that the implementation is deprecated (it's in "oldcore"
folder). My question is: is this interface also deprecated? How do I
add a method to Xwiki's XMLRPC?
--
Regards
Patricia Sz.
Hello,
i did put all /Lib content of jython-standalone.jar inside a new jython-lib.jar, removing the Lib/ part. And it worked.
----- Mail original -----
De: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
À: "XWiki Users" <users(a)xwiki.org>
Envoyé: Mercredi 27 Juin 2012 19:19:08
Objet: Re: [xwiki-users] problem running the code macro
On Wed, Jun 27, 2012 at 6:43 PM, David Delbecq <david.delbecq(a)meteo.be> wrote:
> Hello,
>
> i have troubles with the {code} macro. It's not working with xwiki 4.1. It's ok in the jetty bundle, but has problem running under jboss AS 7.
> Config: xwiki 4.1, jboss AS 7, windows
>
> Please also note that we also have this problem (exact same message) with xwiki 2.4 on jboss 4.1 on linux. I hoped that this problem would have been solve since a few year, but i notice code macro is still broken :(
> What is the definitive solution to this jython problems? Do i have to fill a jira issue for this?
That would be a start yes since it does not seems to be reported. The
code macro is working well in many application servers so it's not
like it was not working at all, to fix it we need to know how to
first.
>From what I can see from the error, Jython is unable to find the
python libraries located in its own jar when on Jboss for some reason.
You might try the following:
* duplicate the jython-standalone jar (lets call them jython.jar and
jython-lib.jar)
* in jython jar: remove the /Lib folder
* in jything-lib jar:
** remove everything but the /Lib folder (you may need to keep the
META-INF folder too to keep the jar valid for JBoss)
** move all the content of /Lib folder on the root of the jar
** remove the now empty /Lib folder
It's seems to find properly the Pygments files which is packaged that
way, if it's working for you we may try to build a custom package of
Jython for XWiki.
>
>
> org.xwiki.rendering.macro.MacroExecutionException: Failed to highlight content
> at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:115)
> at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:51)
> at org.xwiki.rendering.macro.box.AbstractBoxMacro.execute(AbstractBoxMacro.java:141)
> at org.xwiki.rendering.macro.box.AbstractBoxMacro.execute(AbstractBoxMacro.java:53)
> at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:190)
> at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:135)
> at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:83)
> at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:248)
> at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
> at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
> at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
> at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
> at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:111)
> at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
> at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
> at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:901)
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:880)
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:911)
> at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:582)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
> at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
> at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
> at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
> at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
> at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
> at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
> at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
> at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
> at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1800)
> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1740)
> at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
> at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
> at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
> at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
> at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
> at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
> at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
> at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
> at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
> at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
> at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
> at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1800)
> at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
> at java.lang.Thread.run(Unknown Source)
> Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.rendering.internal.parser.pygments.PygmentsParser] identifier by [role = [interface org.xwiki.rendering.parser.HighlightParser] hint = [default]]
> at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:316)
> at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:149)
> at org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
> at org.xwiki.rendering.internal.macro.code.CodeMacro.highlight(CodeMacro.java:147)
> at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:112)
> ... 101 more
> Caused by: Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "__pyclasspath__/pygments/__init__.py", line 37, in <module>
> File "__pyclasspath__/pygments/util.py", line 12, in <module>
> ImportError: No module named re
>
> at org.python.core.Py.ImportError(Py.java:290)
> at org.python.core.imp.import_first(imp.java:750)
> at org.python.core.imp.import_name(imp.java:834)
> at org.python.core.imp.importName(imp.java:884)
> at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
> at org.python.core.PyObject.__call__(PyObject.java:357)
> at org.python.core.__builtin__.__import__(__builtin__.java:1173)
> at org.python.core.imp.importOne(imp.java:903)
> at pygments.util$py.f$0(__pyclasspath__/pygments/util.py:232)
> at pygments.util$py.call_function(__pyclasspath__/pygments/util.py)
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyCode.call(PyCode.java:18)
> at org.python.core.imp.createFromCode(imp.java:386)
> at org.python.core.util.importer.importer_load_module(importer.java:109)
> at org.python.core.ClasspathPyImporter.ClasspathPyImporter_load_module(ClasspathPyImporter.java:63)
> at org.python.core.ClasspathPyImporter$ClasspathPyImporter_load_module_exposer.__call__(Unknown Source)
> at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
> at org.python.core.imp.loadFromLoader(imp.java:513)
> at org.python.core.imp.find_module(imp.java:467)
> at org.python.core.PyModule.impAttr(PyModule.java:100)
> at org.python.core.imp.import_next(imp.java:715)
> at org.python.core.imp.import_logic(imp.java:777)
> at org.python.core.imp.import_name(imp.java:839)
> at org.python.core.imp.importName(imp.java:884)
> at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
> at org.python.core.PyObject.__call__(PyObject.java:357)
> at org.python.core.__builtin__.__import__(__builtin__.java:1173)
> at org.python.core.imp.importFromAs(imp.java:978)
> at org.python.core.imp.importFrom(imp.java:954)
> at pygments$py.f$0(__pyclasspath__/pygments/__init__.py:91)
> at pygments$py.call_function(__pyclasspath__/pygments/__init__.py)
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyCode.call(PyCode.java:18)
> at org.python.core.imp.createFromCode(imp.java:386)
> at org.python.core.util.importer.importer_load_module(importer.java:109)
> at org.python.core.ClasspathPyImporter.ClasspathPyImporter_load_module(ClasspathPyImporter.java:63)
> at org.python.core.ClasspathPyImporter$ClasspathPyImporter_load_module_exposer.__call__(Unknown Source)
> at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
> at org.python.core.imp.loadFromLoader(imp.java:513)
> at org.python.core.imp.find_module(imp.java:467)
> at org.python.core.imp.import_next(imp.java:713)
> at org.python.core.imp.import_name(imp.java:824)
> at org.python.core.imp.importName(imp.java:884)
> at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
> at org.python.core.PyObject.__call__(PyObject.java:357)
> at org.python.core.__builtin__.__import__(__builtin__.java:1173)
> at org.python.core.imp.importOne(imp.java:903)
> at org.python.pycode._pyx0.f$0(<string>:6)
> at org.python.pycode._pyx0.call_function(<string>)
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyCode.call(PyCode.java:18)
> at org.python.core.Py.runCode(Py.java:1261)
> at org.python.core.Py.exec(Py.java:1305)
> at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
> at org.xwiki.rendering.internal.parser.pygments.PygmentsParser.initialize(PygmentsParser.java:165)
> at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
> at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:291)
> at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346)
> at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:314)
> ... 105 more
>
>
> David Delbecq
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello,
i have troubles with the {code} macro. It's not working with xwiki 4.1. It's ok in the jetty bundle, but has problem running under jboss AS 7.
Config: xwiki 4.1, jboss AS 7, windows
Please also note that we also have this problem (exact same message) with xwiki 2.4 on jboss 4.1 on linux. I hoped that this problem would have been solve since a few year, but i notice code macro is still broken :(
What is the definitive solution to this jython problems? Do i have to fill a jira issue for this?
org.xwiki.rendering.macro.MacroExecutionException: Failed to highlight content
at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:115)
at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:51)
at org.xwiki.rendering.macro.box.AbstractBoxMacro.execute(AbstractBoxMacro.java:141)
at org.xwiki.rendering.macro.box.AbstractBoxMacro.execute(AbstractBoxMacro.java:53)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:190)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:135)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:83)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:248)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:111)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:901)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:880)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:911)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:582)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1800)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1740)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1800)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
at java.lang.Thread.run(Unknown Source)
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.rendering.internal.parser.pygments.PygmentsParser] identifier by [role = [interface org.xwiki.rendering.parser.HighlightParser] hint = [default]]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:316)
at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:149)
at org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
at org.xwiki.rendering.internal.macro.code.CodeMacro.highlight(CodeMacro.java:147)
at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:112)
... 101 more
Caused by: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "__pyclasspath__/pygments/__init__.py", line 37, in <module>
File "__pyclasspath__/pygments/util.py", line 12, in <module>
ImportError: No module named re
at org.python.core.Py.ImportError(Py.java:290)
at org.python.core.imp.import_first(imp.java:750)
at org.python.core.imp.import_name(imp.java:834)
at org.python.core.imp.importName(imp.java:884)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importOne(imp.java:903)
at pygments.util$py.f$0(__pyclasspath__/pygments/util.py:232)
at pygments.util$py.call_function(__pyclasspath__/pygments/util.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:386)
at org.python.core.util.importer.importer_load_module(importer.java:109)
at org.python.core.ClasspathPyImporter.ClasspathPyImporter_load_module(ClasspathPyImporter.java:63)
at org.python.core.ClasspathPyImporter$ClasspathPyImporter_load_module_exposer.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
at org.python.core.imp.loadFromLoader(imp.java:513)
at org.python.core.imp.find_module(imp.java:467)
at org.python.core.PyModule.impAttr(PyModule.java:100)
at org.python.core.imp.import_next(imp.java:715)
at org.python.core.imp.import_logic(imp.java:777)
at org.python.core.imp.import_name(imp.java:839)
at org.python.core.imp.importName(imp.java:884)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importFromAs(imp.java:978)
at org.python.core.imp.importFrom(imp.java:954)
at pygments$py.f$0(__pyclasspath__/pygments/__init__.py:91)
at pygments$py.call_function(__pyclasspath__/pygments/__init__.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:386)
at org.python.core.util.importer.importer_load_module(importer.java:109)
at org.python.core.ClasspathPyImporter.ClasspathPyImporter_load_module(ClasspathPyImporter.java:63)
at org.python.core.ClasspathPyImporter$ClasspathPyImporter_load_module_exposer.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
at org.python.core.imp.loadFromLoader(imp.java:513)
at org.python.core.imp.find_module(imp.java:467)
at org.python.core.imp.import_next(imp.java:713)
at org.python.core.imp.import_name(imp.java:824)
at org.python.core.imp.importName(imp.java:884)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importOne(imp.java:903)
at org.python.pycode._pyx0.f$0(<string>:6)
at org.python.pycode._pyx0.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1261)
at org.python.core.Py.exec(Py.java:1305)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
at org.xwiki.rendering.internal.parser.pygments.PygmentsParser.initialize(PygmentsParser.java:165)
at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:291)
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346)
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:314)
... 105 more
David Delbecq
Hi,
I try to install the release 4.1.2 on 3.4.
During the database migration, there is this error message :
2012/06/27 13:26:54 [http://172.24.1.135:8080/xem/bin/view/Main/] INFO
c.x.x.s.m.h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] -
Converting 12568 document statistics IDs in 1 tables and 0 collection
tables...
2012/06/27 13:26:58 [http://172.24.1.135:8080/xem/bin/view/Main/] WARN
o.h.util.JDBCExceptionReporter - SQL Error: 1062, SQLState: 23000
2012/06/27 13:26:58 [http://172.24.1.135:8080/xem/bin/view/Main/] ERROR
o.h.util.JDBCExceptionReporter - Duplicate entry '-5487128615380216001'
for key 1
2012/06/27 13:26:58 [http://172.24.1.135:8080/xem/bin/view/Main/] INFO
c.x.x.s.m.h.HibernateDataMigrationManager - Failed to migrate database
[xwiki]...
com.xpn.xwiki.store.migration.DataMigrationException: Data migration
R40000XWIKI6990 failed
Somebody could help me about this message ?
Even in debug mode, I don't have any information about this duplicate
entry (which table ? which column ?)
Thank you for any help.
Nicolas
Hi,
I got a personal request from Vincent Massol wanting me to update
everyone on the status of my documentation project for installing
Xwiki on non-mainstream systems - by that I mean Linux.
In writing the documents I had 3, for installing on FreeBSD w/Tomcat,
Solaris w/Gassfish, and a migration guide.
These are now complete!
There are some notes at the bottom of the Migration Guide; don't pay
any attention to these as they are obsolete with Nexenta merging with
OpenIndiana.....
http://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Installhttp://dev.xwiki.org/xwiki/bin/view/Drafts/Glassfish_Solarishttp://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Migration
I would like these to go 'live' and be put onto the production site if
applicable!
Regards,
Kaya
Hello everyone,
I'm looking for a way to have all users of a given groups. I know how to
check if a given user is from a certain group or not, but what I want if
with a given group, retrieve all the users of this group.
Is it possible and do you know how ?
Thanks,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Retrieve-all-the-users-of-a-given-group-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Using XWIKI 3.0M2 =>
1) installing the SVG Macro from the XAR document
2) Granting all access rights (testing) to the 3 x SVG documents installed
in the Xwiki workspace.
I get:
Unknown macro: svg
The "svg" macro is not in the list of registered macros. Verify the
spelling or contact your administrator.
. when an individual user (authenticated and with rights to display the
page) hit one page which include this macro.
I have the following in the xwiki.cfg file:
#-# List of active plugins.
xwiki.plugins=\
com.xpn.xwiki.monitor.api.MonitorPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin,\
com.xpn.xwiki.plugin.feed.FeedPlugin,\
com.xpn.xwiki.plugin.ldap.LDAPPlugin,\
com.xpn.xwiki.plugin.google.GooglePlugin,\
com.xpn.xwiki.plugin.mail.MailPlugin,\
com.xpn.xwiki.plugin.packaging.PackagePlugin,\
com.xpn.xwiki.plugin.query.QueryPlugin,\
com.xpn.xwiki.plugin.svg.SVGPlugin,\
com.xpn.xwiki.plugin.charts.ChartingPlugin,\
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\
com.xpn.xwiki.plugin.image.ImagePlugin,\
com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,\
com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,\
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\
com.xpn.xwiki.plugin.autotag.AutoTagPlugin,\
com.xpn.xwiki.plugin.lucene.LucenePlugin,\
com.xpn.xwiki.plugin.diff.DiffPlugin,\
com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\
com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\
com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPlugin, \
com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \
com.xpn.xwiki.plugin.tag.TagPlugin
What is wrong ?
Many thanks for your help,
Christophe
Hi,
I've got a livetable resulting in both 'public' and 'restricted'
documents: documents the current user has no view rights for. The
restricted documents appear as empty rows (that is, without cells) and
a message appears under the livetable: "(*) Some documents require
special rights to be viewed." (the asterisk isn't shown in the
livetable itself however).
See screenshot:
http://www.bild.me/bild.php?file=5924874Livetable_restricted_files.png
I would rather have the restricted documents not show up at all. Can
this be accomplished?
Thanks!
Joris
Hi Moritz,
On Jun 25, 2012, at 3:31 PM, Moritz Hesse (EnergieArchitektur) wrote:
> Hello,
>
> we have tried out XEclipse but as it seems to me there is neither auto
> completion nor syntax highlighting for groovy (while there is for velocity).
> Is there any way that we can activate these features for groovy as well?
No, it needs to be coded. See also http://jira.xwiki.org/jira/browse/XECLIPSE-43
> Otherwise: Is there a plugin for Netbeans as well, instead of Eclipse?
No. However XEclipse comes in 2 flavors: standalone app and plugin. Even if you use NB you can still use the standalone app but it won't be integrated in your coding environment…
To be honest, we have not had any active committer on XEclipse for a few years now and the project is waiting for someone to take the leadership and start coding and improving it.
Thanks
-Vincent
On Mon, Jun 25, 2012 at 4:25 PM, Moritz Hesse (EnergieArchitektur)
<moritz.hesse(a)ea-gmbh.de> wrote:
>>>>> Furthermore, the title of our appw/minutes look extremely disturbing
>>>>> and - to be honest - ugly:
>>>>> "platform.appwithinminutes.appHomePageDescriptionHeading" instead of
>>>>> "Projects". What went wrong?
I don't see what
"platform.appwithinminutes.appHomePageDescriptionHeading" has to do
with the title of your application home page. This translation key was
used to display the heading preceding the application description and
has been removed in
https://github.com/xwiki/xwiki-platform/commit/5ea7f9835fa20ad253552d400320…
and the home page sheet has been updated accordingly. Are you sure you
have imported the new version of AppWithinMinutes.LiveTableViewSheet
page (from the 4.0 XAR)? You can check by editing this page and
looking for this translation key. If you can find the translation key
in its content then it means you don't have the right version.
Hope this helps,
Marius
>>>>
>>>> This looks like missing translations. Did you overwritten
>>>> XWiki.XWikiPreferences page ?
>>>
>>> What you mean by overwritten? We have taken all 4.0 files to replace
>>> 3.5 files. But we have not manually changed them.
>>
>> The translation pages are registred in XWiki.XWikiPreferences page which
>> is one of the page you generally should never ovewrite when upgrading
>> exactly for this kind of issues. See
>>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingwikido
> cuments
>> for more details.
>
> How can I access this page to see if I can fix it there?
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hello community,
I'm stuck on a problem to query average ratings data from pages - I
installed the Ratings plugin, of course.
The following query works as expected, and shows the pages having average
votes, ordered by ratings then date :
#set($xwql = "select doc.fullName, ratings.averagevote from Document doc,
doc.object(XWiki.AverageRatingsClass) as ratings order by
ratings.averagevote desc, doc.date desc")
Of course, it will return only those pages for wich
XWiki.AverageRatingsClass exists.
Of course, what I would like, is this query to return ALL documents ordered
by ratings, considering no rating equals to value 0.
There are two problems that make this impossible to achieve with XWQL (or
I'd better say that I didn't find how) :
- first, to get all documents I would have to perform a LEFT JOIN. I tried
many syntaxes but could not achieve that. Even in pure JPQL I would not be
able to perform the LEFT JOIN and specify an ON clause anyway ...
- second, I planned to use COALESCE(ratings.averagevote, 0), to consider
that no ratings equal to average 0, but this keyword is not recognized by
XWQL
I realize that this is more a JPQL/Database issue than XWiki issue, but
ordering pages by average ratings is a very common and evident use-case as
long as you activate ratings, so I believe there must be a solution to find
... And sorting things in memory is really not a very attractive solution :(
(adding a XWiki.AverageRatingsClass object to all pages would also do the
trick but it seems really expensive ...)
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWQL-and-ratings-tp7505249.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
On Mon, Jun 25, 2012 at 3:28 PM, Moritz Hesse (EnergieArchitektur)
<moritz.hesse(a)ea-gmbh.de> wrote:
>> > {{velocity}}
>> > #if($doc.name=="WebHome")
>> > #set($tree = $xwiki.doctree.getSpaceDocumentTree($doc.web))
>> > #else
>> > #set($tree = $xwiki.doctree.getDocumentTree($doc))
>> > #end
>> > #set($depths=["", "*", "**", "***", "****", "*****", "******",
>> > "*******",
>> > "********"])
>> >
>> > #foreach($leaf in $tree)
>> > #if($leaf.depth <= 8 && ($leaf.depth != 0 || $doc.name=="WebHome"))
>> > $depths.get($leaf.depth)
>> >
>> [[$xwiki.getDocument($leaf.fullName).getDisplayTitle()>>$leaf.fullName
>> > ]]
>> > #end
>> > #end
>> > {{/velocity}}
>>
>> Ok so that's actually a velocity script and not a macro or any kind
>> (the {{velocity}} itself is a macro that you use to write a script) :)
>>
>> Hard to tell you what's exactly wrong, you will have to debug a bit.
>> For example are you sure $xwiki.doctree plugin is still here ? Maybe
>> you forgot to put it in your new instance.
>
> I know that this as is just is a velocity sniplet, but I implemented it as a
> macro: I added a MacroClass to a specific page and I configed it that way
> that I could call it by {{childrenpagetree/}}. But as mentioned, this
> doesn't work anymore. What can I have destroyed while upgrading from 3.5 to
> 4.0?
Did you check that $xwiki.doctree return something as I suggested ?
>
> By the way: Macros in general do work. We have recently developed another
> macro (in 4.0) which also works.
>
> Thanks and best regards,
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
Hello,
we have tried out XEclipse but as it seems to me there is neither auto
completion nor syntax highlighting for groovy (while there is for velocity).
Is there any way that we can activate these features for groovy as well?
Otherwise: Is there a plugin for Netbeans as well, instead of Eclipse?
Thanks and bests,
Moritz
On Thu, Jun 7, 2012 at 10:38 AM, Moritz Hesse (EA GmbH)
<moritz.hesse(a)ea-gmbh.de> wrote:
> Hi Thomas,
>
> thanks for your respond.
>
>>> we were upgrading from XWiki 3.5 to Version 4. After upgrading
> successfully
>>> a self coded macro does not work anymore whereas all relevant files and
>>> contents are at its right place but it simply does not output anything (I
>>> don't know if the macro code runs through but does not output anything or
> if
>>> macro is not even executed).
>>
>> Hard to tell you exactly what is the issue without more informations.
>> First thing what kind of macro are you referring to (Wiki macro, java
>> macro, velocity macro, etc.) ?
>
> This is a regular velocity macro to display subpages as if you click on the
> information tab below the wiki page:
>
> {{velocity}}
> #if($doc.name=="WebHome")
> #set($tree = $xwiki.doctree.getSpaceDocumentTree($doc.web))
> #else
> #set($tree = $xwiki.doctree.getDocumentTree($doc))
> #end
> #set($depths=["", "*", "**", "***", "****", "*****", "******", "*******",
> "********"])
>
> #foreach($leaf in $tree)
> #if($leaf.depth <= 8 && ($leaf.depth != 0 || $doc.name=="WebHome"))
> $depths.get($leaf.depth)
> [[$xwiki.getDocument($leaf.fullName).getDisplayTitle()>>$leaf.fullName]]
> #end
> #end
> {{/velocity}}
Ok so that's actually a velocity script and not a macro or any kind
(the {{velocity}} itself is a macro that you use to write a script) :)
Hard to tell you what's exactly wrong, you will have to debug a bit.
For example are you sure $xwiki.doctree plugin is still here ? Maybe
you forgot to put it in your new instance.
>
> Worked beatifully in 3.5, but does not work anymore with 4.0.
>
>>> Furthermore, the title of our appw/minutes look extremely disturbing and
> -
>>> to be honest - ugly:
>>> "platform.appwithinminutes.appHomePageDescriptionHeading" instead of
>>> "Projects". What went wrong?
>>
>> This looks like missing translations. Did you overwritten
>> XWiki.XWikiPreferences page ?
>
> What you mean by overwritten? We have taken all 4.0 files to replace 3.5
> files. But we have not manually changed them.
The translation pages are registred in XWiki.XWikiPreferences page
which is one of the page you generally should never ovewrite when
upgrading exactly for this kind of issues. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingwikid…
for more details.
>
> Thanks and bests,
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
How do you test a colortheme in colibri skin (the ?... parameter in the url)
How can you change the theme programatically in velocity?
example if browser language = nl set theme to nl
Gerritjan
The XWiki Development team is pleased to announce the 4.1.1 bug fix release.
Download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
And review the release notes here:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
This release fixes the following issues:
* XWIKI-7943 Impossible to save very large pages in jetty
* XWIKI-7940 Conflict reported when same existing document is already in the database and there is no previous official version of the XAR extension
* XWIKI-7939 Merge conflict resolution UI fails when there is no previous version
* XWIKI-7938 Conflict reported when an extension document have attachment when installing a xar
* XE-1190 Add suggest in Debian packages
* XE-1189 Debian package fail to upgrade
* XCOMMONS-201 class java.lang.StackOverflowError in LogQueue.error under some conditions
Thanks to the developers for getting these issues fixed promptly and thanks to the users
for your helpful bug reports and your patience.
Caleb
Thanks a lot, now it works :)
greets,
zae.
>>> Marius Dumitru Florea 21.06.12 16.27 Uhr >>>
Currently the easiest solution is to use a Large String property type
because its content is rendered and so the URL will be transformed in
a link. If you want to keep the Short Text property, you can do like
this:
(1) Edit the application home page in wiki edit mode and make this changes:
- 'shortText1': {'type': 'text', 'size': 10, 'filterable': true,
'sortable': true, 'html': false},
+ 'shortText1': {'type': 'text', 'size': 10, 'filterable': true,
'sortable': true, 'html': true},
(where 'shortText1' is the ID/name of your property holding the URL)
- 'resultPage' : 'AppWithinMinutes.LiveTableGenerator',
+ 'resultPage' : 'MyCustomLiveTableResults',
(2) Create MyCustomLiveTableResults page in the application space with
this wiki content:
----------8<----------
{{include document="XWiki.LiveTableResultsMacros" /}}
{{velocity}}
#if($xcontext.action == 'get' && "$!{request.outputSyntax}" == 'plain')
$response.setContentType('application/json')
#set($map = {})
#gridresult_buildJSON("$!request.classname" $request.collist.split(',') $map)
## Transform the URL property in a link.
#foreach($row in $map.get('rows'))
#set($url = $escapetool.xml($row.get('shortText1_value')))
#set($discard = $row.put('shortText1', "$url"))
#end
#set($json = $jsontool.serialize($map))
## We have to escape the translation key because it appears as JSON
value in the output.
#set($escapedEmptyValueTranslationKey =
$escapetool.javascript("${request.transprefix}emptyvalue"))
$json.replace($escapedEmptyValueTranslationKey, '-')
#end
{{/velocity}}
---------->8----------
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro
for more details.
Hope this helps,
Marius
On Thu, Jun 21, 2012 at 3:05 PM, Account wrote:
> Hi,
> i want to use the AppWithinMinutes-App to build a database of chemicals which we have in our labs. As one column i want to have a link to the wikipedia page of that chemical and i want the link to be displayed and clickable in the table, not only on the page of each entry.
> To do so i added a Short Text - field for this, but when i add an entry, it's only a link when i type it in the form [[http://de.wikipedia.org/wiki/Zinkfluorid]] and this only on the entry page. In the table it's a trimmed version (for example "org/wiki/Zinkfluorid") and it's no link. But when i type in [[Link>>http://de.wikipedia.org/wiki/Zinkfluorid]] it doesn't work, it's no link anymore and the code is not interpreted.
> How can i solve this problem?
> Thanks,
> zae.
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
i want to use the AppWithinMinutes-App to build a database of chemicals which we have in our labs. As one column i want to have a link to the wikipedia page of that chemical and i want the link to be displayed and clickable in the table, not only on the page of each entry.
To do so i added a Short Text - field for this, but when i add an entry, it's only a link when i type it in the form [[http://de.wikipedia.org/wiki/Zinkfluorid]] and this only on the entry page. In the table it's a trimmed version (for example "org/wiki/Zinkfluorid") and it's no link. But when i type in [[Link>>http://de.wikipedia.org/wiki/Zinkfluorid]] it doesn't work, it's no link anymore and the code is not interpreted.
How can i solve this problem?
Thanks,
zae.
I will try to get our Admin to update to the latest version, but the detour with the XWiki.WysiwygEditorConfig page in object mode worked, so thanks a lot!
greets
zae.
>>> Marius Dumitru Florea 21.06.12 15.31 Uhr >>>
What version of XWiki Enterprise are you using? We had
http://jira.xwiki.org/browse/XWIKI-7121 at some point but it should be
fixed in the most recent versions. In any case, you can edit directly
XWiki.WysiwygEditorConfig page in object mode and set the plugin and
tool bar configuration properties.
Hope this helps,
Marius
On Thu, Jun 21, 2012 at 11:12 AM, Account wrote:
> Hi,
> i have the same problem, but it didn't work. In the Administration -> WYSIWYG Editor I added the plugin "color" to the plugins and "forecolor" and "backcolor" to the toolbar, but when i hit the save-button all changes are gone and i don't know why.
> thanks in advance,
> zae.
>
>
>>>> Geo Du 24.05.12 0.58 Uhr >>>
> Ok, worked, great.
>
> Thanks very much.
>
> Dave
>
> On Wed, May 23, 2012 at 3:59 AM, Marius Dumitru Florea <
> mariusdumitru.florea(a)xwiki.com> wrote:
>
>> On Wed, May 23, 2012 at 6:45 AM, Geo Du wrote:
>> > Hi Marius,
>> >
>> > I went to the Administration --> WYSIWYG Editor, from the General
>> settings,
>> > I can see there are sections for Plugins, Menu Bar and Tool Bar, I added
>> > color and font to the Plugins by using the plus icon button, and then
>> saved
>> > the settings from the save button, then I came to a page with the edit
>> > button to load wysiwyg editor, I found neither color nor font shown up, I
>> > did the same thing for Tool Bar, added color and font there, still no
>> color
>> > no font shown up on the wysiwyg editor, I looked the inline editor as
>> well,
>> > they did not show up either.
>> > On the editor, it had both Menu bar with link, image, table, macro and
>> > import, and Tool bar with bold italic ..., but no font no color showing
>> in
>> > the bar, so how can I add color and font into the bar?
>> >
>> > I checked the macros.vm, it loaded colors like that:
>> > #set($ok = $parameters.put('colors', $services.wysiwyg.config.
>> > getColorPalette()))
>> > #set($ok = $parameters.put('colorsPerRow',
>> > $services.wysiwyg.config.getColorsPerRow()))
>> > #set($ok = $parameters.put('fontNames',
>> > $services.wysiwyg.config.getFontNames()))
>> > #set($ok = $parameters.put('fontSizes',
>> > $services.wysiwyg.config.getFontSizes()))
>> > #set($ok = $parameters.put('styleNames',
>> > $services.wysiwyg.config.getStyleNames()))
>> >
>>
>> > Am I missing anything here?
>>
>> Yes, as indicated on
>>
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HPluginsa…
>> each plugin provides some features that you can put on the tool bar or
>> menu. In you case, besides adding 'color' and 'font' to the list of
>> plugins, you also need to specify which of their features should be
>> placed on the tool bar (e.g. forecolor, backcolor, fontname,
>> fontsize).
>>
>> Hope this helps,
>> Marius
>>
>> >
>> > Thanks very much for your help.
>> >
>> > Dave
>> >
>> >
>> > On Mon, May 7, 2012 at 3:22 AM, Marius Dumitru Florea <
>> > mariusdumitru.florea(a)xwiki.com> wrote:
>> >
>> >> On Mon, May 7, 2012 at 10:20 AM, Marius Dumitru Florea
>> >> wrote:
>> >> > Hi Dave,
>> >> >
>> >> > On Sat, May 5, 2012 at 4:14 AM, Geo Du wrote:
>> >> >> Hi, Marius,
>> >> >>
>> >> >> Thanks very much for your help, I checked the link
>> >> >>
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configurationturned on
>> >> >
>> >> >> the full list of toolbars like the following in xwiki.cfg file, then
>> I
>> >> >
>> >> > Where did you read "xwiki.cfg" or "xwiki.properties" on
>> >> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor(the
>> >> > link I gave you) ?
>> >> >
>> >> >> restarted tomcat, checked the page with wysiwyg editor, nothing
>> >> changed, no
>> >> >
>> >> >> subtoolbar, findtoobar or symboltoolbar showed up, and actually I
>> want
>> >> to
>> >> >
>> >> > There's no subtoolbar nor findtoobar.
>> >> >
>> >> > You don't have to change any configuration file nor to restart the
>> >> > server. You just have to go to the Administration, then to the WYSIWYG
>> >> > Editor section (from the left vertical menu) and there you'll be able
>> >> > to add plugins and features on the tool bar, like stated on
>> >> >
>> >>
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfigur…
>> >>
>> >> You should see this
>> >>
>> >>
>> http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWikiEnter…
>> >> .
>> >>
>> >> > .
>> >> >
>> >> > Hope this helps,
>> >> > Marius
>> >> >
>> >> >> add Text Alignment, Fonts, TextSize, colors to the toolbar, I googled
>> >> >> around, could not find a solution, any more clues? I checked
>> >> >> xwiki.properties file as well, nothing there related to wysiwyg
>> editor.
>> >> >>
>> >> >> Thanks again
>> >> >>
>> >> >> Dave
>> >> >>
>> >> >>
>> >> >> #---------------------------------------
>> >> >> # WYSIWYG Editor configuration
>> >> >> #
>> >> >>
>> >> >> #-# You can configure the toolbars you wish to see in the WYSIWYG
>> >> editor by
>> >> >> defining the
>> >> >> #-# xwiki.wysiwyg.toolbars property.
>> >> >> #-# When not defined it defaults to:
>> >> >> xwiki.wysiwyg.toolbars=texttoolbar, listtoolbar, indenttoolbar,
>> >> >> undotoolbar, titletoolbar, \
>> >> >> styletoolbar, horizontaltoolbar,
>> >> >> attachmenttoolbar, macrostoolbar, \
>> >> >> tabletoolbar, tablerowtoolbar,
>> tablecoltoolbar,
>> >> >> linktoolbar, subtoolbar, findtoolbar, symboltoolbar
>> >> >> #-# The full list of toolbars includes the one defined above and the
>> >> >> following ones:
>> >> >> #-# subtoolbar, findtoolbar, symboltoolbar
>> >> >>
>> >> >> Then
>> >> >>
>> >> >> On Wed, May 2, 2012 at 5:27 AM, Marius Dumitru Florea <
>> >> >> mariusdumitru.florea(a)xwiki.com> wrote:
>> >> >>
>> >> >>> Hi Dave,
>> >> >>>
>> >> >>> On Wed, May 2, 2012 at 6:41 AM, Geo Du wrote:
>> >> >>> > Hi, all,
>> >> >>> >
>> >> >>> > I have a problem to add more tools onto the toolbar with xwiki
>> 3.5 I
>> >> am
>> >> >>> > using, I like to add Text Alignment, Fonts, TextSize, colors, but
>> I
>> >> >>> checked
>> >> >>>
>> >> >>> > this link:
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor,
>> >> >>>
>> >> >>> This is the user documentation. It describes the WYSIWYG editor
>> >> >>> features for simple users.
>> >> >>>
>> >> >>> > it is for 2.0, where is the toolbar configuration information
>> about
>> >> the
>> >> >>> 3.5
>> >> >>> > version? I could not find from the admin guide.
>> >> >>>
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ links to
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
>> >> >>> which has a section "Configure the WYSIWYG editor" which points to
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor
>> >> >>>
>> >> >>> > Also from the WYSIWYG editor configuration class,
>> >> >>> > https://sipa.mol.fi/xwiki/bin/view/XWiki/WysiwygEditorConfigClass
>> ,
>> >> it
>> >> >>> does
>> >> >>> > not define all the tool bar items.
>> >> >>>
>> >> >>> You should use the administration section dedicated for the WYSIWYG
>> >> editor.
>> >> >>>
>> >> >>> Hope this helps,
>> >> >>> Marius
>> >> >>>
>> >> >>> >
>> >> >>> > Would you please point me to the right direction to look at?
>> >> >>> >
>> >> >>> > Thanks very much!!
>> >> >>> >
>> >> >>> > Dave
>> >> >>> > _______________________________________________
>> >> >>> > devs mailing list
>> >> >>> > devs(a)xwiki.org
>> >> >>> > http://lists.xwiki.org/mailman/listinfo/devs
>> >> >>> _______________________________________________
>> >> >>> users mailing list
>> >> >>> users(a)xwiki.org
>> >> >>> http://lists.xwiki.org/mailman/listinfo/users
>> >> >>>
>> >> >> _______________________________________________
>> >> >> users mailing list
>> >> >> users(a)xwiki.org
>> >> >> http://lists.xwiki.org/mailman/listinfo/users
>> >> _______________________________________________
>> >> users mailing list
>> >> users(a)xwiki.org
>> >> http://lists.xwiki.org/mailman/listinfo/users
>> >>
>> > _______________________________________________
>> > users mailing list
>> > users(a)xwiki.org
>> > http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello XWiki experts,
in the deployment of our staging environment, we met a strange thing: many exceptions such as:
> Failed to send event [org.xwiki.bridge.event.DocumentCreatedEvent@72dd82d1] to listener [com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl@55b8b91f]
> org.hibernate.MappingException: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl
> at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:693) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
> at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1485) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
[...]
> at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addActivityEvent(ActivityStreamImpl.java:313) ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.jar:na]
> at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:398) ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.j
> ar:na]
> at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:376) ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.j
> ar:na]
> at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.onEvent(ActivityStreamImpl.java:886) ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.jar:na]
> at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:268) [xwiki-commons-observation-local-3.5.jar:na]
> at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:233) [xwiki-commons-observation-local-3.5.jar:na]
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1403) [xwiki-platform-legacy-oldcore-3.5.jar:na]
What's surprising is that the activitystream jar (3.5.1) is there and its hibernate mapping and that no complaint is made about the lack of such.
Also bizarre is that the same webapp (differences in xwiki.cfg and web.xml only) on our development server does not have this issue.
Is there something I've done wrong?
Thanks in advance
Paul
Hi,
i have the same problem, but it didn't work. In the Administration -> WYSIWYG Editor I added the plugin "color" to the plugins and "forecolor" and "backcolor" to the toolbar, but when i hit the save-button all changes are gone and i don't know why.
thanks in advance,
zae.
>>> Geo Du 24.05.12 0.58 Uhr >>>
Ok, worked, great.
Thanks very much.
Dave
On Wed, May 23, 2012 at 3:59 AM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
> On Wed, May 23, 2012 at 6:45 AM, Geo Du wrote:
> > Hi Marius,
> >
> > I went to the Administration --> WYSIWYG Editor, from the General
> settings,
> > I can see there are sections for Plugins, Menu Bar and Tool Bar, I added
> > color and font to the Plugins by using the plus icon button, and then
> saved
> > the settings from the save button, then I came to a page with the edit
> > button to load wysiwyg editor, I found neither color nor font shown up, I
> > did the same thing for Tool Bar, added color and font there, still no
> color
> > no font shown up on the wysiwyg editor, I looked the inline editor as
> well,
> > they did not show up either.
> > On the editor, it had both Menu bar with link, image, table, macro and
> > import, and Tool bar with bold italic ..., but no font no color showing
> in
> > the bar, so how can I add color and font into the bar?
> >
> > I checked the macros.vm, it loaded colors like that:
> > #set($ok = $parameters.put('colors', $services.wysiwyg.config.
> > getColorPalette()))
> > #set($ok = $parameters.put('colorsPerRow',
> > $services.wysiwyg.config.getColorsPerRow()))
> > #set($ok = $parameters.put('fontNames',
> > $services.wysiwyg.config.getFontNames()))
> > #set($ok = $parameters.put('fontSizes',
> > $services.wysiwyg.config.getFontSizes()))
> > #set($ok = $parameters.put('styleNames',
> > $services.wysiwyg.config.getStyleNames()))
> >
>
> > Am I missing anything here?
>
> Yes, as indicated on
>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HPluginsa…
> each plugin provides some features that you can put on the tool bar or
> menu. In you case, besides adding 'color' and 'font' to the list of
> plugins, you also need to specify which of their features should be
> placed on the tool bar (e.g. forecolor, backcolor, fontname,
> fontsize).
>
> Hope this helps,
> Marius
>
> >
> > Thanks very much for your help.
> >
> > Dave
> >
> >
> > On Mon, May 7, 2012 at 3:22 AM, Marius Dumitru Florea <
> > mariusdumitru.florea(a)xwiki.com> wrote:
> >
> >> On Mon, May 7, 2012 at 10:20 AM, Marius Dumitru Florea
> >> wrote:
> >> > Hi Dave,
> >> >
> >> > On Sat, May 5, 2012 at 4:14 AM, Geo Du wrote:
> >> >> Hi, Marius,
> >> >>
> >> >> Thanks very much for your help, I checked the link
> >> >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configurationturned on
> >> >
> >> >> the full list of toolbars like the following in xwiki.cfg file, then
> I
> >> >
> >> > Where did you read "xwiki.cfg" or "xwiki.properties" on
> >> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor(the
> >> > link I gave you) ?
> >> >
> >> >> restarted tomcat, checked the page with wysiwyg editor, nothing
> >> changed, no
> >> >
> >> >> subtoolbar, findtoobar or symboltoolbar showed up, and actually I
> want
> >> to
> >> >
> >> > There's no subtoolbar nor findtoobar.
> >> >
> >> > You don't have to change any configuration file nor to restart the
> >> > server. You just have to go to the Administration, then to the WYSIWYG
> >> > Editor section (from the left vertical menu) and there you'll be able
> >> > to add plugins and features on the tool bar, like stated on
> >> >
> >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfigur…
> >>
> >> You should see this
> >>
> >>
> http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWikiEnter…
> >> .
> >>
> >> > .
> >> >
> >> > Hope this helps,
> >> > Marius
> >> >
> >> >> add Text Alignment, Fonts, TextSize, colors to the toolbar, I googled
> >> >> around, could not find a solution, any more clues? I checked
> >> >> xwiki.properties file as well, nothing there related to wysiwyg
> editor.
> >> >>
> >> >> Thanks again
> >> >>
> >> >> Dave
> >> >>
> >> >>
> >> >> #---------------------------------------
> >> >> # WYSIWYG Editor configuration
> >> >> #
> >> >>
> >> >> #-# You can configure the toolbars you wish to see in the WYSIWYG
> >> editor by
> >> >> defining the
> >> >> #-# xwiki.wysiwyg.toolbars property.
> >> >> #-# When not defined it defaults to:
> >> >> xwiki.wysiwyg.toolbars=texttoolbar, listtoolbar, indenttoolbar,
> >> >> undotoolbar, titletoolbar, \
> >> >> styletoolbar, horizontaltoolbar,
> >> >> attachmenttoolbar, macrostoolbar, \
> >> >> tabletoolbar, tablerowtoolbar,
> tablecoltoolbar,
> >> >> linktoolbar, subtoolbar, findtoolbar, symboltoolbar
> >> >> #-# The full list of toolbars includes the one defined above and the
> >> >> following ones:
> >> >> #-# subtoolbar, findtoolbar, symboltoolbar
> >> >>
> >> >> Then
> >> >>
> >> >> On Wed, May 2, 2012 at 5:27 AM, Marius Dumitru Florea <
> >> >> mariusdumitru.florea(a)xwiki.com> wrote:
> >> >>
> >> >>> Hi Dave,
> >> >>>
> >> >>> On Wed, May 2, 2012 at 6:41 AM, Geo Du wrote:
> >> >>> > Hi, all,
> >> >>> >
> >> >>> > I have a problem to add more tools onto the toolbar with xwiki
> 3.5 I
> >> am
> >> >>> > using, I like to add Text Alignment, Fonts, TextSize, colors, but
> I
> >> >>> checked
> >> >>>
> >> >>> > this link:
> >> >>> http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor,
> >> >>>
> >> >>> This is the user documentation. It describes the WYSIWYG editor
> >> >>> features for simple users.
> >> >>>
> >> >>> > it is for 2.0, where is the toolbar configuration information
> about
> >> the
> >> >>> 3.5
> >> >>> > version? I could not find from the admin guide.
> >> >>>
> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ links to
> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
> >> >>> which has a section "Configure the WYSIWYG editor" which points to
> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor
> >> >>>
> >> >>> > Also from the WYSIWYG editor configuration class,
> >> >>> > https://sipa.mol.fi/xwiki/bin/view/XWiki/WysiwygEditorConfigClass
> ,
> >> it
> >> >>> does
> >> >>> > not define all the tool bar items.
> >> >>>
> >> >>> You should use the administration section dedicated for the WYSIWYG
> >> editor.
> >> >>>
> >> >>> Hope this helps,
> >> >>> Marius
> >> >>>
> >> >>> >
> >> >>> > Would you please point me to the right direction to look at?
> >> >>> >
> >> >>> > Thanks very much!!
> >> >>> >
> >> >>> > Dave
> >> >>> > _______________________________________________
> >> >>> > devs mailing list
> >> >>> > devs(a)xwiki.org
> >> >>> > http://lists.xwiki.org/mailman/listinfo/devs
> >> >>> _______________________________________________
> >> >>> users mailing list
> >> >>> users(a)xwiki.org
> >> >>> http://lists.xwiki.org/mailman/listinfo/users
> >> >>>
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> users(a)xwiki.org
> >> >> http://lists.xwiki.org/mailman/listinfo/users
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
We would like to create a second and third instance of BLOG within the Wiki
This is quite easy to do with the BLOG.Management
But having done that there are two important things which we would like to
see differently
- Categories: Now the categories are shared between the BLOGS. We would
like to have a Category structure per BLOG SPACE
- Panels: We would like to have three side panels (last posts, Posts per
category and Archive) showing only posts of that BLOG SPace
The instruction on XWiki,org do not cover these two things.
Who knows how to do this?
Gerritjan
Please forgive me if this is resolved somewhere else, I've spent countless hours trying to figure it out.
But is there not a way to edit the following snippet to make it list the pages in the given space alphabetically??
{{spaceindex space="<space name here>" /}}
I've tried all kinds of things including the suggestions at http://xwiki.475771.n2.nabble.com/sorting-of-space-index-macro-td7549725.ht… and wasn't able to get it to work.
It seems like it should be something really simple to do, I just can't figure it out.
Or if there's another way to get an ordered list of the REAL pages in the space that would be great. I want to use it on the webhome of the space, so I don't want it cluttered up with everything in the Document Index, just the actual pages.
I can live with it showing web preferences and the webhome pages.
Regards,
Janna Cox
Hello,
I’m using Xwiki enterprise 4.1 with LDAP authentication to an Active Directory server. Authentication works fine, but my group mappings don’t work.
I think the problem is that I’m using sAMAccountName as UID_attr, but the memberfields of my groups contain the full ldap-dn of the user. So this way, they do not match and users are not seen as members in the group.
Is my assumption correct? And is there a solution for this problem?
(I have an other site with an OpenLDAP server which has normal uid’s in the group memberfields. This one works fine!)
Regards,
Mark
The XWiki Development team is proud to announce the second release of the 4.x cycle.
This release brings Extension Manager improvements such as merging of configuration documents during extension upgrade, a more gentle learning curve by hiding internal documents from non-technical users, and lots of goodies for the developers such as easy sharing of variables between scripts in different languages.
Download it hot off the press: http://www.xwiki.org/xwiki/bin/view/Main/Download
Other new and notable features include:
* Message sender macro for allowing users to send to the activity stream from any location.
* Global and per-user timezone settings
* Script access to load dependencies from the core using the Component Manager
* Smarter velocity interpretation converts allows strings to be passed to methods which take enums
* Stop run-away scripts after a configurable timeout
* Shorthand HQL queries in the Query Manager
For a full list with examples and explanations, check out the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks everyone who contributed to make the 4.1 cycle a success.
Caleb
Hello,
I'm trying to retrieve all users of a given group, but maybe there is a
problem with my code.
First, this is my code :
{{velocity}}
#set($users = $xwiki.rightsmanager.usersApi.allUsersNames)
#foreach($user in $users)
$user
#if($user.isUserInGroup('Gestionnaires'))
$user
#end
#end
{{/velocity}}
I have 6 users in my group "Gestionnaires" but none of these users is
displayed with this code.
Do you have an idea of why it doesn't work ? Do I forget something ?
Thank you very much in advance for everyone who will answer me ^^
Thanks,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Retrieve-all-users-of-a-given-group-tp757…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello XWiki admins,
I just upgraded a wiki farm from 2.7 to 3.5. No particular problem encountered.
The only annoyance is the MAIN new menu that appears on the top menu
bar. I prefer to hide it, the time to understand what is "Workspace"
and how it works in a XEM context.
What is the easiest way to disable this extra menu ? Thank for your help.
Maxime
I've created an app with app within minutes.
A normal user gets the following error:
Error
You are not allowed to view this document or perform this action.
What can cause this error, the space has the right rights set. (View, Comment and Edit; no Delete or Admin)
No document level security. Other documents in the space can be seen…
The page CdLSATEPrivat/WebHome is generated by app within minutes, but I have modified the documentsheetbinding
The LiveTableViewSheet has been copied from app within minutes space into CdLSATEPrivat space
Is there any groovy scripts that can not be used by normal users?
Gerritjan
Hi,
I am a physician (with an engineering background) in Seattle, Washington,
USA. I am interested in using myxwiki to develop a personal knowledge
management system, particularly for studying anthroposophic medicine.
my username is drmartin1
I request a myxwiki name of "coalesce".
Thanks,
David Martin
> You sure it's exactly the same ? I don't see how you can get "Binding
> to LDAP server with credentials login=[cn=xwiki]" with this
> configuration. It should indeicate
> "login=[uid=xwiki,ou=People,dc=debuntu,dc=local]".
> Maybe you have some configuration set in XWiki.XWikiPreferences page
> which override what you have in xwiki.cfg, did you tried the LDAP UI
> before seting xwiki.cfg ?
You're right, I've tried the LDAP UI before setting the xwiki.cfg. I
removed it, but it seems that XWiki still stores those settings
somewhere. I uninstalled it earlier in web interface and even removed
directories such as
/var/lib/xwiki/data/extension/repository/org.xwiki.platform%3Axwiki-platform-ldap-ui/
and /var/lib/xwiki/data/extension/repository/org.xwiki.platform%3Axwiki-platform-ldap-api/.
LDAP UI extension disappeared in web administration. But still I could
see in catalina.out that message "Binding to LDAP server with
credentials login=[cn=xwiki]", despite the fact my xwiki.cfg was
different.
I did 'locate ldap | grep xwiki' on serrver to find where it may be.
The only things it found are:
/usr/lib/xwiki/WEB-INF/lib/jldap-4.3.jar
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap/jldap
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap/jldap/4.3
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap/jldap/4.3/_maven.repositories
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap/jldap/4.3/jldap-4.3.pom
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap/jldap/4.3/jldap-4.3.pom.sha1
I have no idea where does LDAP UI store its configuration.
Anyway, after your response, I've tried to install and configure XWiki
UI again (since I'm unable to fully remove its configuration),
according to your proposals. I got different output in catalina.out,
but still no luck:
2012-06-14 14:54:21,163
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] TRACE
u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2012-06-14 14:54:21,173
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConfig - ldap_group_classes: [groupofnames,
groupwisedistributionlist, dynamicgroup, dynamicgroupaux,
groupofuniquenames, group]
2012-06-14 14:54:21,173
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConfig - ldap_group_memberfields: [member,
uniquemember]
2012-06-14 14:54:21,200
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConnection - Connection to LDAP server
[127.0.0.1:389]
2012-06-14 14:54:21,209
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConnection - Binding to LDAP server with
credentials login=[uid=xwiki,ou=People,dc=debuntu,dc=local]
2012-06-14 14:54:21,244
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5:
LDAP bind failed with LDAPException.
Wrapped Exception: Invalid Credentials
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:172)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:101)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
(exception same as before)
2012-06-14 14:54:21,245
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki
DB
2012-06-14 14:54:21,276
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user
[xwiki]
2012-06-14 14:54:21,356
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33
And here's my detailed configuration in XWiki's LDAP UI, as (like I
said) I didn't manage to remove it fully (and use xwiki.cfg instead):
LDAP
Yes
LDAP SERVER ADDRESS
127.0.0.1
LDAP SERVER PORT
389
LDAP LOGIN MATCHING
uid={0},ou=People,dc=debuntu,dc=local
LDAP PASSWORD MATCHING
{1}
RESTRICT TO GROUP
LDAP GROUP TO EXCLUDE
LDAP BASE DN
ou=People,dc=debuntu,dc=local
LDAP UID ATTRIBUTE NAME
uid
TRY LOCAL LOGIN
Yes
UPDATE USER FROM LDAP AFTER LOGIN
Yes
LDAP USER FIELDS MAPPING
name -> uid
last_name -> uid
first_name -> uid
fullname -> uid
LDAP GROUPS MAPPING
LDAP GROUPS CACHE EXPIRATION
WHEN TO SYNCHRONIZE LDAP GROUPS
At each authentication of a user
Is this wrong, or perhaps should I use only xwiki.cfg? If so, do you
know where can I find Xwiki's LDAP UI configuration files?
Thanks
Patricia
Thank you for your rapid reply.
> Seems to me that ut should be "uid" and not "cn" here according to
> what you found in your LDAP server.
I've tried "uid" in this part before, but it didn't help. Changed xwiki.cfg to:
xwiki.authentication.ldap.bind_DN=uid={0},ou=People,dc=debuntu,dc=local
xwiki.authentication.ldap.UID_attr=uid
Checked now again - unfortunately, result is the same.
Patricia
Hello,
I am trying to upgrade an old XEM to 3.5.1.
In this XEM there are some custom panels which have been converted to 2.0
syntax and contain code like this:
{{velocity}}
{{html}}
#panelheader("...")
...
#panelfooter()
{{/html}}
{{/velocity}}
Because since 2.7.2 panel macros were converted to 2.0 syntax, because
panel macros from inside macros.vm were modified by calling {{html}} wiki
macro and because we can't use nested {{html}} macros without wiki="true"
parameter, I don't know how to fix this issue besides modifying panel code.
This XEM has more than 70 wikis and this I can't just modify all custom
(converted to 2.0 syntax) panels manually.
Is there a nice solution to this problem ?
Should I open an issue on Jira ?
Raluca.
Hello,
I'm quite new to XWiki. I have a problem with making its log-in work
with OpenLDAP. I'm running Ubuntu server 11.10, my Xwiki version is
4.0, OpenLDAP (slapd) shows version 2.4.25-1.1ubuntu4.1. I've followed
instructions from XWiki documentation here
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPAut…
I have user named 'xwiki' in ldap. When I try to log in from my Xwiki,
I get the 'Invalid credentials' message. catalina.out shows this
error:
2012-06-14 10:02:16,919
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] TRACE
u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2012-06-14 10:02:16,919
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConfig - ldap_group_classes: [groupofnames,
groupwisedistributionlist, dynamicgroup, dynamicgroupaux,
groupofuniquenames, group]
2012-06-14 10:02:16,919
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConfig - ldap_group_memberfields: [member,
uniquemember]
2012-06-14 10:02:16,919
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConnection - Connection to LDAP server
[127.0.0.1:389]
2012-06-14 10:02:16,925
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConnection - Binding to LDAP server with
credentials login=[cn=xwiki]
2012-06-14 10:02:16,930
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5:
LDAP bind failed with LDAPException.
Wrapped Exception: Invalid Credentials
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:172)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:101)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:129)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:273)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:193)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:175)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:242)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:4070)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:172)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:4083)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:5245)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:179)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
[struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
[struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
[struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
[struts-1.2.9.jar:1.2.9]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[servlet-api-2.5.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[servlet-api-2.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
[xwiki-platform-wysiwyg-server-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:300)
[catalina-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
[tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
[tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:679) [na:1.6.0_23]
Caused by: com.novell.ldap.LDAPException: Invalid Credentials
at com.novell.ldap.LDAPResponse.getResultException(Unknown
Source) ~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.chkResultCode(Unknown
Source) ~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
~[jldap-4.3.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.bind(XWikiLDAPConnection.java:206)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:168)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
... 47 common frames omitted
2012-06-14 10:02:16,931
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki
DB
2012-06-14 10:02:16,938
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user
[xwiki]
2012-06-14 10:02:16,974
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33
Here is my xwiki.cfg with part regarding LDAP:
#-------------------------------------------------------------------------------------
# LDAP
#-------------------------------------------------------------------------------------
#-# LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# - 0: disable
#-# - 1: enable
#-# The default is 1
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
xwiki.authentication.ldap.server=127.0.0.1
xwiki.authentication.ldap.port=389
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the user name, {1} with the password
#xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_DN=cn={0},ou=People,dc=debuntu,dc=local
xwiki.authentication.ldap.bind_pass={1}
#-# The Base DN used in LDAP searches
xwiki.authentication.ldap.base_DN=ou=People,dc=debuntu,dc=local
#-# LDAP query to search the user in the LDAP database (in case a
static admin user is provided in
#-# xwiki.authentication.ldap.bind_DN)
#-# {0} is replaced with the user uid field name and {1} with the user name
#-# The default is ({0}={1})
# xwiki.authentication.ldap.ldap_user_search_fmt=({0}={1})
#-# Only members of the following group will be verified in the LDAP
#-# otherwise only users that are found after searching starting from
the base_DN
# xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
#-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
#-# Only users not member of the following group can autheticate
# xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
#-# Specifies the LDAP attribute containing the identifier to be used
as the XWiki name
#-# The default is cn
xwiki.authentication.ldap.UID_attr=cn
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
# xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the
members. Separated by commas.
# xwiki.authentication.ldap.group_memberfields=member,uniqueMember
#-# retrieve the following fields from LDAP and store them in the
XWiki user object (xwiki-attribute=ldap-attribute)
xwiki.authentication.ldap.fields_mapping=name=uid,last_name=sn,first_name=givenName,fullname=cn,email=mail,ldap_dn=dn
#last_name=sn,first_name=givenName,email=mail
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# On every login update the mapped attributes from LDAP to XWiki
otherwise this happens only once when the XWiki
#-# account is created.
#-# - 0: only when creating user
#-# - 1: at each authentication
#-# The default is 1
xwiki.authentication.ldap.update_user=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# Maps XWiki groups to LDAP groups, separator is "|". The following
kind of groups are supported:
#-# * LDAP static groups (users/subgroups are listed statically in the
group object)
#-# * [Since 3.3M1] LDAP organization units (users/subgroups are sub
object of the provided organization unit)
#-# * [Since 3.3M1] LDAP filter (users/groups are object found in a
search with the provided filter),
#-# | character in the filter need to be escaped with backslash (\).
#-#
#-# Here is an example:
# xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=AdminRole,ou=groups,o=domain,c=com|\
#
XWiki.LDAPUsers=ou=groups,o=domain,c=com|\
# XWiki.Organisation=(cn=testers)
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# Time in s after which the list of members in a group is refreshed from LDAP
#-# The default is 21600 (6 hours)
# xwiki.authentication.ldap.groupcache_expiration=21600
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first created
#-# - always: synchronize on every login
#-# The default is always
# xwiki.authentication.ldap.mode_group_sync=always
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB
authentication with the same credentials
#-# The default is 1
xwiki.authentication.ldap.trylocal=1
#-# The default is 1
xwiki.authentication.ldap.trylocal=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# - 0: normal
#-# - 1: SSL
#-# The default is 0
# xwiki.authentication.ldap.ssl=0
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
# xwiki.authentication.ldap.ssl.keystore=
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The java secure provider used in SSL connection
#-# The default is com.sun.net.ssl.internal.ssl.Provider
# xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
#-# Bypass standard LDAP bind validation by doing a direct password comparison.
#-# If you don't know what you do, don't use that. It's covering very
rare and bad use cases.
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
xwiki.authentication.ldap.validate_password=0
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used
"when xwiki.authentication.ldap.validate_password"
#-# is set to 1
# xwiki.authentication.ldap.password_field=userPassword
I'm familiar neither with LDAP, nor with OpenLDAP, so I've set the
configuration on localhost port 389 as in this tutorial:
http://www.debuntu.org/ldap-server-and-linux-ldap-clients
LDAP seems to recognize 'xwiki' user properly:
ldapsearch -x -b uid=xwiki,ou=people,dc=debuntu,dc=local
# extended LDIF
#
# LDAPv3
# base <uid=xwiki,ou=People,dc=debuntu,dc=local> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# xwiki, People, debuntu.local
dn: uid=xwiki,ou=People,dc=debuntu,dc=local
uid: xwiki
cn: xwiki
objectClass: account
objectClass: posixAccount
objectClass: top
loginShell: /bin/bash
uidNumber: 1000
gidNumber: 1000
homeDirectory: /home/xwiki
gecos: xwiki,,,
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
When I create the 'xwiki' user in Xwiki registration interface, I can
log in as 'xwiki', but in catalina.out I see that LDAP authentication
failed and the XWiki seems to get credentials from its own database:
[exception as before]
2012-06-14 10:48:24,815
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki
DB
2012-06-14 10:48:24,816
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication succeed with
principal [XWiki.xwiki]
I've searched the mailing list and found similar problem in
http://www.mail-archive.com/users@xwiki.org/msg04827.html but it's 4
years old and it didn't help me. I've been trying to solve the problem
with my colleagues, but neither of them could fix it.
I've run out of ideas. Any help would be appreciated.
Patricia
Sorry, more détails here :
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module
Le 13 juin 2012 22:18, "Stéphanie Roulland" <stephanie.roulland(a)gmail.com> a
écrit :
Hello,
Thank you but how can I use the query module ? Is there something special
to do ?
Thanks,
Stéphanie
2012/6/13 Jeremie BOUSQUET <jeremie.bousquet(a)gmail.com>
> Hello,
>
> You can use the query module ...
--
Stéphanie ROULLAND
06.77.99.36.41
-------------------------
Contrat de professionnalisation DCNS
Ingénieur domaine collaboratif
02.29.05.42.23
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwik...
Hello everyone,
I was wondering how I can do that. I want to know all the pages in a certain
space that begin with "123" for exemple.
For exemple, if I have these pages in a space :
- 123456
- abc
- 1245
- 123abc
I only want to have the pages "123456" and "123abc". Does a solution exist
for my problem ?
Thanks,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Does-my-page-s-name-begin-by-tp7579579.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
This is either a feature request or a request for discussing
solutions to the issue of known comment spammers against XWiki
installs.
There's known spammers like davycrokkett(a)hotmail.com (see
http://www.nielsmayer.com/bin/view/XWiki/DavyCrokkett ) which have to
be managed and curtailed for any XWiki install enabling comments.
During registration, it would it be nice to check sites like
http://www.stopforumspam.com/ and prevent registration emails from
going out to known comment spammers.
For example, the aforementioned spammer is listed at
http://www.stopforumspam.com/ipcheck/111.243.227.227
suggesting Current country of origin: Taiwan, Province of China
Date IP Address Username Email
1-Jul-11 07:31 111.243.227.227 coseteene davycrokkett(a)hotmail.com
30-Jun-11 18:29 111.243.227.227 Assusypesound davycrokkett(a)hotmail.com
30-Jun-11 13:43 111.243.227.227 Impuppota davycrokkett(a)hotmail.com
30-Jun-11 11:22 111.243.227.227 Biordaccoma davycrokkett(a)hotmail.com
30-Jun-11 07:01 111.243.227.227 rooviskitte davycrokkett(a)hotmail.com
29-Jun-11 23:59 109.230.222.175 Beethyemegree davycrokkett(a)hotmail.com
29-Jun-11 22:49 111.243.227.227 Kneefshes davycrokkett(a)hotmail.com
29-Jun-11 13:59 111.243.227.227 seltencarne davycrokkett(a)hotmail.com
29-Jun-11 13:31 111.243.227.227 inigneedync davycrokkett(a)hotmail.com
29-Jun-11 11:50 174.142.132.203 Beethyemegree davycrokkett(a)hotmail.com
29-Jun-11 11:50 174.142.132.203 phorilmiplism davycrokkett(a)hotmail.com
29-Jun-11 07:53 111.243.227.227 Agergeevame davycrokkett(a)hotmail.com
29-Jun-11 05:56 111.243.227.227 Atomnegmess davycrokkett(a)hotmail.com
29-Jun-11 05:50 111.243.227.227 Impuppota davycrokkett(a)hotmail.com
It would also be interesting for such flagged users to return a list
of associated IP's (such as above) which could be blacklisted as well.
I guess the correct solution would be to use
http://extensions.xwiki.org/xwiki/bin/view/Extension/Social+Login but
then the spammers would just end up getting twitter, facebook or
foursquare logins and use those instead of hotmail accounts.
-- Niels
http://www.nielsmayer.com
App Within Minutes creates a nice "Add record" button.
After clicking the button a dialog is presented asking for input that is
used to create a new documentname.
This is (more or less, since i modified it slightly) the Java script that
is added to the sheet by the app-within-minutes generator.
My question is due to fact that i'm not a javascript expert, so solution
might be very simple:
I would like to generate the documentname based on user that is clicking
the button
If user in group X then input will be pre populated with 'Full Name" of
that user and popup will not allow user to change this value;
Confirmation would be like "New Question will be made for: [[Gerritjan
Koekkoek]] and user can only proceed or cancel
If user in group y the same behaviour; but now the inputbox would need to
be open for change
Confirmation would be like "New Question will be made for: [[Gerritjan
Koekkoek]] but now user can change the input to 'Andree Benz' meaning that
new question is posted by
Gerritjan Koekkoek on behalf of Andree Benz.
How would you suggest to change below script to get the desired effect?
(see lineindicator ==> of what I thought would be a solution?
var XWiki = (function (XWiki) {
XWiki.EntryNamePopup = Class.create(XWiki.widgets.ModalPopup, {
initialize : function($super, trigger) {
trigger.observe('click', this.showDialog.bindAsEventListener(this));
this.urlTemplate = trigger.up().next('input[type=hidden]').value;
this.input = new Element('input', {type: 'text'});
this.addButton = new Element('input', {type: 'image', src:
'$xwiki.getSkinFile('icons/silk/add.png')', alt:
'$escapetool.javascript($msg.get('cdlsateprivat.CreateNewQuestionAltText'))'});
var container = new Element('div', {id: 'entryNamePopup'});
container.insert(this.input);
container.insert(this.addButton);
$super(container, {
show: {method: this.showDialog, keys: []},
add: {method: this._onAdd, keys: ['Enter']}
}, {
title:
'$escapetool.javascript($msg.get('cdlsateprivat.CreateNewQuestionTitle'))',
verticalPosition: 'top'
});
},
createDialog : function($super, event) {
this.input.observe
this.addButton.observe('click', this._onAdd.bind(this));
$super(event);
},
showDialog : function($super, event) {
$super(event);
==> $this.input.val() == 'Gerritjan Koekkoek' //this line did not work,
how can I get it prepopulated (or suggested) with preferably XWiki variable
this.input.clear().focus();
},
_onAdd : function() {
if (this.input.value != '') {
window.self.location = this.urlTemplate.replace('__entryName__',
encodeURIComponent(this.input.value));
} else {
this.input.focus();
}
}
});
function init() {
var actionBox = $('actionBox');
if(actionBox) {
new XWiki.EntryNamePopup(actionBox.down('.add'));
return true;
}
return false;
}
(XWiki.domIsLoaded && init()) || document.observe('xwiki:dom:loaded', init);
return XWiki;
}(XWiki || {}));
XWiki core development team is proud to announce the availability of XWiki Enterprise 4.1 Release Candidate 1
This is the first and hopefully final release candidate of the 4.1 release cycle. Being a release candidate, this release is sparse on new features concentrating instead on stabilization of the features brought in Milestone 1 and Milestone 2. The 4.1 cycle brings new 3D graphs made with pure XWiki syntax, safer Groovy scripting, and new localization through timezone settings.
Go grab it at http://enterprise.xwiki.org/xwiki/bin/view/Main/Download and let us know what you think.
For more information about the 4.1-rc-1 release, See the Release Notes http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks to everyone who helped out to make this release great.
Caleb
Hello everybody,
I've a simple problem.
I've a text input where people can enter some text.
After, I want to send that text as a param to a javascript function.
However, when user types a quote (simple or double), there is a problem
in my javascript syntax.
I've tred to add backslash but no effect.
Thanks for your help.
Mathieu Canzerini.
Hi XWiki users,
We've prepared a list of the top 10 features we've developed during the ~1 year release cycle for XWiki 3.x (i.e. from 3.0 to 3.5):
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
The XWiki SAS company has also published a blog post about it at:
* English: http://www.xwiki.com/xwiki/bin/view/Blog/10Features3xCycle
* French: http://www.xwiki.com/xwiki/bin/view/BlogFr/10Features3xcycle
As a reminder our main themes for the 3.x cycle were:
* Theme 1: "Building Apps and Distributing them"
• Theme 2: "Polishing"
Note that we've already started the 4.x cycle with the following new themes:
* Theme 1 (top priority): Ease of use
* Theme 2: Quality
So XWiki lovers, WDYT? Was 3.x a good cycle? Do you like what we've achieved during this one year?
Any feedback for us?
Thanks
-Vincent
Hello everybody,
i need to use Ajax but i can not generate XML from a velocity script
page.
Here is a piece of my script :
{{velocity}}
$response.setContentType('application/xml')
#set ($out = $response.getOutputStream())
$out.write("<?xml version='1.0'
encoding='ISO-8859-1'?><test>test</test>")
...
{{/velocity}}
But my responseXML is null.
I suppose that it's not the good way to generate XML from velocity.
Thanks for your help.
M. Canzerini
On Wed, Jun 6, 2012 at 4:38 PM, Moritz Hesse (EA GmbH)
<moritz.hesse(a)ea-gmbh.de> wrote:
> Hello,
>
>
>
> we were upgrading from XWiki 3.5 to Version 4. After upgrading successfully
> a self coded macro does not work anymore whereas all relevant files and
> contents are at its right place but it simply does not output anything (I
> don't know if the macro code runs through but does not output anything or if
> macro is not even executed).
Hard to tell you exactly what is the issue without more informations.
First thing what kind of macro are you referring to (Wiki macro, java
macro, velocity macro, etc.) ?
>
>
>
> Furthermore, the title of our appw/minutes look extremely disturbing and -
> to be honest - ugly:
> "platform.appwithinminutes.appHomePageDescriptionHeading" instead of
> "Projects". What went wrong?
This looks like missing translations. Did you overwritten
XWiki.XWikiPreferences page ?
>
>
>
> Thx and bests,
>
> Moritz
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
Hi,
is it possible to prevent users (including the anonymous user) from deleting comments posted by other users?
kind regards & many thanks
markus
---------------------------------------------------------
Mag. Markus Reis
Abteilung Informationssysteme & Organisation
Allgemeine Bausparkasse reg.Gen.m.b.H.
1090 Wien, Liechtensteinstraße 111 - 115
Telefon +43-50-40046-384, Fax +43-1-3193095-248
http://www.abv.at <http://www.abv.at/> , markus.reis(a)abv.at <mailto:markus.reis@abv.at>
Hello,
we were upgrading from XWiki 3.5 to Version 4. After upgrading successfully
a self coded macro does not work anymore whereas all relevant files and
contents are at its right place but it simply does not output anything (I
don't know if the macro code runs through but does not output anything or if
macro is not even executed).
Furthermore, the title of our appw/minutes look extremely disturbing and -
to be honest - ugly:
"platform.appwithinminutes.appHomePageDescriptionHeading" instead of
"Projects". What went wrong?
Thx and bests,
Moritz
Hello!
I want to set up a table of contents page where each top-level entry in the TOC is the name of another page, and then I want the level1 headings of each page to appear as level 2 items in the master toc page.
Is this very complicated to do? Has anyone done something like this?
It will get rather tedious to maintain the master toc whenever the other documents are changed.
Thanks!
-Inge
Think green - keep it on the screen.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Hello,
I've a table with some fields, and one of its fields is "name". When I load
my livetable, I want to only have the line where the name's value is
"Stephanie" (for example). I don't want to have the others line where the
name's value isn't "Stephanie".
I've tried to play with "extraParams" like that :
#set($options = { "className":"Code.ApplicationClass",
"extraParams":"name=Stéphanie",
"tagCloud":true,
"translationPrefix":"ApplicationsLiveTable.",
"rowCount": 20
})
But this doesn't work. Do you have an idea of how I can do this ?
Thanks,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Filter-a-livetable-tp7579401.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I've a table with some fields, and one of its fields is "name". When I load
my livetable, I want to only have the line where the name's value is
"Stephanie" (for example). I don't want to have the others line where the
name's value isn't "Stephanie".
I've tried to play with "extraParams" like that :
#set($options = { "className":"Code.ApplicationClass",
"extraParams":"name=Stéphanie",
"tagCloud":true,
"translationPrefix":"ApplicationsLiveTable.",
"rowCount": 20
})
But this doesn't work. Do you have an idea of how I can do this ?
Thanks,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Filter-a-livetable-tp7579403.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello everybody,
Here is my problem :
I'm in a workspace.
I've created a class with a database list field.
I've written the HQL query :
-> select obj.name from BaseObject obj where
obj.className='XWiki.XWikiUsers'
And when i'm in edit mode, the suggest says me : "no results !" when
i'm writing a username.
I wonder if this problem is related to the difference between local
users (= workspace users ?) and global users (= wiki users ?).
Thanks for your attention
M.Canzerini
Hi,
I would like I could use Xwiki to create a knowledge base on the operas (especially of the text, some photos), in association with the other amateurs of operas.
Here are the necessary informations :
- Username on myxwiki.org : Fizcus
- server name for the wiki : musicothecaire.myxwiki.org
I thank you for it beforehand and I remain at your disposal if you wish more information.
Best regards,
Fizcus
I'm trying to use the export tool to exporta space in xwiki 3.5.1 on
Glassfish and Oracle. I select the space, select all pages and click the
"Add to my package" button. Then I export. This results in an empty
xar-file. This seems to be the case regardless of which space I'm trying to
export. What do I do wrong?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Export-space-produces-mepty-xar-file-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm currently trying to upgrade a xwiki 3.5.1 (Windows, Glassfish) with an
Oracle 11gR2 database to 4.1. After a while xwiki comes back telling me that
my database needs an upgrade and is insecure to use. The appropriate
parameters in the xwiki.cfg are set to do an automatic upgrade of all
databases. What do I do wrong? Perhaps I need to upgrade to 4.0 first, but
where can I find a 4.0 for download?
/Lars
--
View this message in context: http://xwiki.475771.n2.nabble.com/xwiki-3-5-1-oracle-database-does-not-upgr…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have an issue with the working of API call $isUserInGroup.
Imagine the group Employees consisting of two subgroups: Drones and
Management. Each employee is in one of those groups. When a space has
view rights for Employees, members of both groups have access.
When I check ($xwiki.user.isUserInGroup('XWiki.Employees') however for
a manager, I get a negative response, because the user is not in the
group XWiki.Employees.
My work-around: create a page/space where Employees has access to, and
use this call: $xwiki.hasAccessLevel("view", $context.user,
"Intranet.WebHome")
Hope this helps those who don't understand why the call is giving a
negative result ;)
Kind regards, Joris
Hello list,
In /etc/xwiki/xwiki.cfg I modified
* xwiki.defaultWeb
* xwiki.defaultPage
* and xwiki.showviewaction,
but none of them has been applied after I restarted tomcat?
Anyone else got similar issues on Ubuntu (12.04 LTS)?
Do I have to trigger something else to apply it?
Best regards
Florian
The XWiki Development Team is pleased to announce the release of XWiki Enterprise 4.1 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the second and final milestone of the XWiki Enterprise 4.1 development cycle.
Changes from Milestone 1:
* Extension Manager now handles updates to configuration documents.
* New localization through timezone settings.
* Customization of chart colors.
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks,
The XWiki Development Team
Hi,
I've create a app with the App within Minutes;
The following class model is used:
- Name (name: String)
- E-mail (email: String)
- Subject (subject: String)
- Status (status: String)
- Question (question: TextArea)
- Answer (answer: TextArea)
- Published to Public (generalize: Static List)
So now when user click on 'Add' he/she is requested with document name and
then he/she can fill in the record
Now I would like to modify the behaviour?
1) Click on Add should not ask for new document name but for 'subject',
this should also show on the record prefilled
(I would like to generate a document name base on UserName + Subject)
2) Some fields should be defaulted by code
- name should be username, field should be hidden
- E-mail should be fetched from user record (XWiki.<username>.email)
- Subject (as stated under 1)
- Status should be defaulted to 'created'
- Published to Public should be defaulted to 'no'
How would you advise me to do this, i have modest velocity knowledge, but
no groovy, it looks like the code behind the 'add'-button is 'groovy'
Gerritjan
Uploading of files (XAR-files as well as i.e. JPG files) fails in 3.5 as well
as in 4.0. I try to upload an attachment but nothing happens. Log says:
"WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:XWiki.Import@2,42 ".
I'm staying at 4.0 since 4.1 refuses to upgrade (Oracle 11g) database. I'm
using Glassfish on Windows. I have the same error on 3.5, Glassfish on
Linux. What could possibly be wrong?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Upload-does-not-work-tp7579277.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm wondering if I'm on the good path ...
I'm trying to move out some "old core" api usage, and replace them
using the DocumentAccessBridge (3.5.1), in a java component.
Considering a very simple use-case : setting property value of an
object. Here the document containing object is not in same space as
the class.
1- With old core:
XWikiDocument doc = context.getWiki().getDocument("Prefs.Document", context);
BaseObject obj = serverDoc.getObject("Code.Class");
obj.set("property", value, context);
2- With DAB, using deprecated method:
dab.setProperty("Prefs.Document", "Code.Class", "property", value);
3- With DAB, using non-deprecated methods:
SpaceReference prefsSpaceRef = new SpaceReference(new
EntityReference("Prefs", EntityType.SPACE));
DocumentReference prefsDocRef = new DocumentReference("Document",
prefsSpaceRef);
SpaceReference codeSpaceRef = new SpaceReference(new
EntityReference("Code", EntityType.SPACE));
DocumentReference classDocRef = new DocumentReference("Class",
codeSpaceRef);
dab.setProperty(prefsDocRef, classDocRef, "property", value);
Questions:
a- the code with 3- is, IMO, quite verbose compared to the others. Is
it really the best way to do this ? Of course I could store the
SpaceReference objects to factorize their use and simplify the code.
I'd better be sure before recoding all this ...
b- what's the best practice, for a component, to properly manage the
targeted wiki, in order to be single/multi-wiki/workspaces proof ?
Here I didn't bother specifying the targeted wiki, if I do it will add
more "*Reference" creations.
c- is there any facility method to convert an oldish xwiki document
reference (as "wiki:Space.Page" or "Space.Page") to a
DocumentReference ?
By the way, is the bridge API representative of the future new xwiki
data model that will replace old core, or is it only representative of
the current bridge api ?
Thanks,
Jeremie
Hi!
We do need to organize tasks concerning XWiki in our small group. We have not people expert enough in using XWiki as per trusting them by using Admin rights to edit XWiki users content.
Please, how could be trust edition rights to a small group of users to allow them edit information about users? Perhaps any way of trusting them access only to a given user?
Thanks!
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
Hello everyone,
I'm trying to send an automatic email and this is the idea I have had.
I used the "Groovy Notification Tutorial"
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial)
and instead of writing in a file, I try to send an email.
This is my code (I only copy the method onEvent, I didn't change the rest) :
void onEvent(Event event, Object source, Object data)
{
// Prevent infinite recursion since in this example we log to wiki
page which
// triggers a document change... :)
if (source.fullName != "Main.Logger") {
def sender = context.user.substring(6)
def emailcc = xwiki.null
def emailbcc = xwiki.null
def pageattachments = []
def emailcontent = "Test"
def result = xwiki.mailsender.sendHtmlMessage("${sender}",
"name(a)gmail.com", emailcc, emailbcc, "Test du mail", emailcontent,
document.getContent(), pageattachments)
def document = xwiki.getDocument("Main.Logger")
document.setContent("Sender : ${sender} / Content :
${emailcontent}")
document.save("Logging event", true)
}
}
But when I try this, nothing happened. I don't have any error message so I
don't know if I make something wrong.
Do you have an idea of how doing this ?
Thank you very much for your future answer,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Send-an-email-in-an-event-listener-tp7579…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am writing a macro that performs a relatively expensive calculation
to generate content for display (a PNG image) based on user input. The
basic macro works fine, but I'd like to cache the generated content to
save recalculating it when I don't need to.
My idea is that I generate a SHA1 digest of the macro content, and
persistently cache the output generated for that input. I'm thinking
of using an LRU cache to avoid keeping massive amounts of data that'll
never get used again. The question I have is where I can put the cache
so that it is saved with the page, and I can access and update it from
the macro code. I suspect that the answer is to attach an object to
the page somehow, but I've been looking round the documentation and
can't find any examples of how I might do this (TBH, I'm struggling to
find my way round the documentation, so it may be that I've missed
something obvious - if so, then by all means point me to the right
place :-))
As the object is a PNG image, I'm currently base64-encoding it, and
using a data URL to display it. But if it's possible to cache the data
in such a way that the raw data is (or can be made) directly
addressible via a URL, that would be even better.
Can anyone help?
Thanks,
Paul.
When I try to use Maven as described in the tutorial, I get an error:
PS D:\Data\Java\x> mvn archetype:generate
-DarchetypeArtifactId=xwiki-commons-component-archetype
-DarchetypeGroupId=org.xwiki.commons -DarchetypeVersion=3.3
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.130s
[INFO] Finished at: Mon May 28 16:35:02 BST 2012
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there
is no POM in this directory (D:\Data\Java\x). Please verify you
invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
I'm a little concerned about the "-DarchetypeVersion=3.3" flag. I'm
using XWiki 4.0. Is this page out of date?
Sorry if I haven't given the right details, I haven't used Maven
before so I'm not sure what I should do next.
Paul.
Sorry, but I'm not able to get a query getting this:
All comments added to XWiki users.
Please, could you help me?
Thank you very much,
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
Hi, all,
I am trying to add buttons on the wysiwyg or inline form editor toolbar, I
checked the wysiwyg gwt source code, and the wysiwyg.js file, I am more
toward add javascript code in wysiwyg.js file to add javascript code for
buttons on the toolbar, instead of adding java code for the plugin, any
suggestions?
Thanks in advance
Dave
Hi All,
I want to set the view deny permission on specific page for group
XWikiAllGroup through groovy script. This is my groovy script i tried
Document docSetSearchableRights=xwiki.getDocument("Xwiki.User1")
if(docSetSearchableRights!=null)
{
com.xpn.xwiki.api.Object
rightsToSearchObject=docSetSearchableRights.newObject("XWiki.XWikiRights")
rightsToSearchObject.set("groups", "XWiki.XWikiAllGroup")
rightsToSearchObject.set("levels", "view")
rightsToSearchObject.set("allow", "0") // also tried value 2 but does
not work.
docSetSearchableRights.save()
}
Above i am trying to set view deny permission to group XWiki.XWikiAllGroup
on page Xwiki.User1. But when i go access rights section of User1 page, i
do not see deny permission set on view for group XWikiAllGroup.
For information, The reason i am doing it is i do not want user profiles
visible in serach results. i was able to do it from xwiki ui by edit the
access rights of that page and deny the view permission of that user
profile page to XWikiAllGoup . But in the question, i am trying to do it
from groovy script.
Hi,
I've read this recent thread about how XWD_ID is generated...
http://xwiki.markmail.org/thread/vp7iuwul4oepf5jx
We do need to link a number of external databases containing information on a per user basis. Thus, we do need to add a property/field/independent variable to "remote" database tables to associate information store on that database and on XWiki (until we are able to store all, or at least most, of the information in a XWiki Schema!).
Considering we are still running XWiki Enterprise 2.4.30451 and an update is a must here, if we use the current XWD_ID as "linker", once we update to a, let's say, 4.x XWiki release, could we transform IDs in remote database to the new values XWD_ID will have in newer XWiki releases?
I'm not sure I'm explaining myself here. Even I'm not sure if it is correct to think that XWD_ID will change when we upgrade. Please, your insight will be extremely welcome!
Thanks for your help.
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
I've been having real problems accessing xwiki.org and the API
documentation over the last few days. Proxy timeouts seem to be
happening all the time, and I haven't been able to get at the API docs
most of today. Two questions:
1. Is there an issue?
2. Is there an offline copy of any of the docs (even just the API docs
would be a start) that I can download and use locally?
An export of the XWiki platform wiki, plus a zipped copy of the API
docs, would be ideal. From what I've been able to find on Google, they
don't seem to exist as far as I can tell.
Paul.
Hi Folks,
i want to export the specific space.For this i was suggested
xwiki-importexport-1.3 application at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Import+Export+Applicat….
But as upload this application and go to export page. Then select the space
, no page appears from selected space. Basically on selection of space in
dropdown, nothing happens.
Then i tried to look in to issue and looks like application at above link
does not contain all pages like webhome. Because when go dashboard page , i
see question mark(?) in front
of admin space. Probably this can be the reason that this application is
not working for me.
For your information , after import of xwiki-importexport-1.3 application
, i just see 7 xml files and here are the names:-
1)Export
2)ExportFromDate
3)ExportFromDateGroovy
4)ExportPage
5)ExportPageSuggest
6)ExportSpaceSuggest
7)ImportPage
Let me know if this application contains only 7 pages. If more , can
someone point me to right link for application or send me the application
as attachment.
Hi All,
I created an application using xwiki classes and objects similar like FAQ
application explained in wiki tutorial at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial. I develop it
on my local box. Now i want to take it this complete application to another
instance of wiki on different machine. What should be my next steps. what
are the pages i need to take to another instance(as wiki must be creating
the pages internally also which i may not be aware of ). As during
this application creation process, did various steps which created
different docs,classes and objects in different spaces(i am aware of only
two spaces that contains docs related to this process i.e DataTypes space
which contains the newly created class etc and the space under which i
created my application which contains the templates etc ) If somebody can
explain simply how the FAQ application developed on one wiki instance can
be taken to another wiki instance, it would be great
Can it be done just after importing the newly created space under which
application exists and then amporting it to new wiki instance? if yes how
should i export the specific space. I tried
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Export+Appli…
but
It does not work. I enter any space name even existing space i.e blog,
search button does not seem to be working and does not search any page
inside any space .As i am working on xwiki 3.5 i just downloaded this
application and visited the MultiPageExport.Install page to finish the
install as suugested in doc. Then i navigated to
localhost/wiki/bin/view/Admin/Export but search button does not work.Let
me know if i need to do some other stuff.
Xwiki version is 3.5
Thanks.
Hi XWikiers,
now that AppWithinMinutes<http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+App…>has
been available for a couple releases, I was wondering what you have
been using it for so far.
On my side, I have seen AppWithinMinutes used for:
- Logging safety incidents
- Listing assets managed by a company
- Creating a directory of software applications available to users in a
large organization
- Managing and classifying processes and procedures
- Listing presentations delivered at various conferences for later
reference
I look forward to reading about your own examples.
Thanks,
Guillaume
Hi!
Because of making a lot of settings in the user rights (my company
departments are xwiki.spaces and the user have only rights for their spaces)
I have two questions about the general configuration:
“Subscribe this Space” and “Send this Page by Email to a XWiki user” doesn`t
work. Do I have to open some rights? “Send mail to an extern email” works.
Where can I edit the topmenu? The WIKI Item on top top leads to Main/WebHome
and I like to disable it. The PROFIL Item should be disabled to, because of
everything is managed by the ActiveDirectory.
Thanks very much!
Marc
--
View this message in context: http://xwiki.475771.n2.nabble.com/Edit-top-menu-tp7575047.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
When I tried to track down xwiki 4.1's failure to upgrade the 3.5.1 (Oracle)
database, I discovered that xwiki is trying to use the package SDO_GEOR_DEF.
However, in a normal Oracle database, this package is owned by user/schema
MDSYS and no synonym exists for it. Since xwiki is addressing the package
only as SDO_GEOR_DEF and not MDSYS.SDO_GEOR_DEF, in order to make the call
work, a synonym SDO_GEOR_DEF needs to be defined pointing to
MDSYS.SDO_GEOR_DEF. I can not find this anywhere in the documentation, so I
suggest an update to the documentation or a code change in xwiki.
It should be pointed out, however, that a fix to this did not solve the
original problem.
/Lars
--
View this message in context: http://xwiki.475771.n2.nabble.com/xwiki-on-Oracle-calls-package-SDO-GEOR-DE…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have made some minor changes to the WYSIWYG editor thru the Adminstration
section (loggedin as the administrator), but now I am missing sections!
I can see the "MENU BAR" with the description, but the actual field to "add"
a new menu bar (and the list where you can delete or change the order) are
missing.
The same applies to the "FONT NAMES" section. I used to see the list of
fonts which are available to the WYSIWYG editor, but now that section is
gone too!
I have no clue on how I can get this back, so any help is appreciated!
--
View this message in context: http://xwiki.475771.n2.nabble.com/WYSISYG-Administration-sections-missing-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, all,
I have a problem to add more tools onto the toolbar with xwiki 3.5 I am
using, I like to add Text Alignment, Fonts, TextSize, colors, but I checked
this link:http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor,
it is for 2.0, where is the toolbar configuration information about the 3.5
version? I could not find from the admin guide.
Also from the WYSIWYG editor configuration class,
https://sipa.mol.fi/xwiki/bin/view/XWiki/WysiwygEditorConfigClass, it does
not define all the tool bar items.
Would you please point me to the right direction to look at?
Thanks very much!!
Dave
Could it be the auto-watch feature?
http://extensions.xwiki.org/xwiki/bin/view/Extension/Watchlist+Application#…
Thanks,
Caty
On Wed, May 23, 2012 at 12:42 PM, Moritz Hesse (EA GmbH) <
moritz.hesse(a)ea-gmbh.de> wrote:
> Hi,
>
> > maybe its because of commaas in titles of Documents?
> > I created this Jira-Issue some time ago:
> > http://jira.xwiki.org/browse/XE-1149
>
> no, there are no commas in the doctitles. This problem (watch activated)
> occurs on -every- page.
>
> Bests,
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hi,
there is something wrong in the state of Denmark...: On each page I visit in
our XWiki the watch feature is already activated (yellow star). And if I
manually deactivate it and reactivate then it does not appear in my
watchlist. So I am not at all able to add pages or spaces into my watchlist.
Is this a common bug, or a misconfiguration? I would really appreciate your
help as I urgently need this feature.
Thanks and bests,
Moritz
Hi,
I can't find any information on the relevance scoring/weighting in XWiki's
Lucene Search. Haven't I looked close enough? From what I understand about
Lucene and XWiki, each page and attachment is indexed with several fields,
such as page title, page name, contents, tags, parent, not creator..
The relevance scoring doesn't show how it's computed. I figure the
percentage of hits per field is multiplied with a weight per field (eg: a
hit in the title is scored higher than a hit in the content, and if the
title 100% matches it scores higher than a longer title where the query
only occurs in one of 10 words).
When title or pagename match the search query, the relevance always seems
100%.
Are my assumptions correct?
What fields are taken into account and by what weight?
Between results that have 100% relevance, how is sorting done?
Thanks for explaining!
Joris
Hi,
In XWiki 1.7 the following code was created; it creates a html table with
links generated by #pagedViewLinks()
It now displays the #pagedViewLinks() but no longer the links
What is the current way of doing this (migrated to XWiki 3.5.1)?
<table id="cdlsTable"
class="grid sortable filterable doOddEven"
cellpadding="0"
cellspacing="0"
border="0">
<tr class="sortHeader">
<th>$msg.get('Subject')</th>
<th>$msg.get('lst_modified')</th>
</tr>
#foreach ($faq in $faqlist)
<tr>
#set ($faqdoc = $xwiki.getDocument($faq))
#set ($faqobjs =
$faqdoc.getObjects("CdlsatdCode.CdLS_ATD_PublicFAQClass"))
#foreach ($faqobj in $faqobjs)
#if($faqobj.language == $lang)
<td>[[$faqobj.subject>>$faq]]</td>
<td>$xwiki.formatDate($faqdoc.ContentUpdateDate, "dd/MM/yyyy")</td>
#end
#end
</tr>
#end
</table>
#pagedViewLinks($itemsPerPage $totalPages $crtPageNumber)
Hi,
Because of memory problems with our (small) server, I've decided to
switch from hibernate storage to file storage for attachments.
When I launch the filesystemAttachmentPorterScript-2.0.xwiki20 groovy
script, the script prints :
"This is your storage directory, when filesystem attachments are enabled
you have to back this up as part of your data backup routine.
/usr/apache-tomcat-5.5.25/logs/data/storage"
The value is the result of
"Utils.getComponent(FilesystemStoreTools.class).storageDir.getAbsolutePa
th()" command (tomcat was started from logs directory).
The xwiki doc says :
"The directory in which the attachments are stored in the filesystem is
defined with the parameter xwiki.work.dir in the xwiki.cfg file. "
But the value in my xwiki.cfg is :
xwiki.work.dir=/usr/apache-tomcat-5.5.25/webapps/xem/work
If I try the command below in a groovy script, the value is what I want,
but not the value
"Utils.getComponent(FilesystemStoreTools.class).storageDir.getAbsolutePa
th()" prints :
xwiki.getXWiki().getConfig().getProperty('xwiki.work.dir') =>
/usr/apache-tomcat-5.5.25/webapps/xem/work
It seems to me that the value of xwiki.work.dir is not used, only the
default value.
That's a bug ?
Thank you
Nicolas CG
hi all,
id like to use the Space-Index macro to list all pages on the WebHome page of every Space. With {{spaceindex count="0"/}} i get a list which is sorted by the time the page was created (or last modified?), but i'd like a list which is sorted in alphabetical order. Is that possible?
thanks in advance,
zae.
On 05/21/2012 03:08 AM, Moritz Hesse (EA GmbH) wrote:
> Hi,
>
>
>
> I have created two applications, let's say one for managing clients and one
> for managing projects. How can I fetch the clients name and use it in my
> list of projects?
>
>
>
> To speak in database terms I want my project's table to have a foreign key
> which refers to the client primary key so that I can access all client's
> attributes.
>
>
>
> Would be thankful for inspiration or helpful links to existing(?) tutorials.
>
>
>
> Thanks and bests,
>
Maybe this can help you:
http://www.xwiki.org/xwiki/bin/FAQ/HowToCreateAOneToManyRelationshipInXWiki
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hello,
I received a mail from a xwiki user who request xar of my macro
because it was zero sized in extension page.
After login and updating it, I see in my recent pages there are two
pages for same macro:
- Xslt Macro: http://extensions.xwiki.org/xwiki/bin/view/Extension/Xslt+Macro
- XSLT Macro: http://extensions.xwiki.org/xwiki/bin/view/Extension/XSLT+Macro
I don't remember create it twice, so may be there are some page name
rule apply when migrating to extensions pages and someone duplicated
it.
Which page should I delete?
Regards,
Arnaud.
Hi Moritz,
On Mon, May 21, 2012 at 10:08 AM, Moritz Hesse (EA GmbH)
<moritz.hesse(a)ea-gmbh.de> wrote:
> Hi,
>
>
>
> I have created two applications, let's say one for managing clients and one
> for managing projects. How can I fetch the clients name and use it in my
> list of projects?
>
>
>
> To speak in database terms I want my project's table to have a foreign key
> which refers to the client primary key so that I can access all client's
> attributes.
>
>
>
> Would be thankful for inspiration or helpful links to existing(?) tutorials.
>
Each application has a class that describes the type of data managed
by the application (the client class and the project class in your
case). By default a live table can display information taken from the
instances of a single class. If you want a live table that aggregates
('join' in database language) data from instances of multiple classes
then you have to write a custom live table results page. Live tables
are fed with JSON generated by a wiki page. By default this page is
XWiki.LiveTableResults but you can create your own results page. It's
not trivial though..
Useful links:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macrohttp://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module
Hope this helps,
Marius
>
>
> Thanks and bests,
>
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hello,
On the xwiki 3.2, we have decided to use the virtual xwiki (multi-tenant) feature as it should be better for scalability and performance
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization
"Each wiki has its own database schema, thus allowing for a complete data separation between the different wikis in the same instance.
The main advantage of multi-tenancy is performance optimization."
Problem:
The main wiki has a relative good level of performance - with a response time around 2.5 second to browse a page
So we are in the xwiki database
But when we are in a virtual wiki (another schema ) - the performance are very poor.
The average response time is around 5 seconds per page !!! So at list 2 times slower.
We are using MySQL and glassfish 3.1 - and we have done tuning on the MySQL database and glassfish.
We have used a profiling tool and see that the request send to the virtual environment are raising a big amount of exception ...
The problem is not on the database part (even if they are many SQL calls to visualize only one page)
The problem seems really to be on the virtual environment configuration OR in a file corruption ...
I have attached the exception list . (exception_list.xls)
>From this is it possible to know if we have an installation issue ??
Does someone have experience of very good performance with xwiki ? ( response time #1second per page)
In that case
Best regards,
Olivier
_______________________________________________
Olivier Merlin
RnD Tuning/profiling community Leader
Tel: + 33.4.42.36.59.87
olivier.merlin(a)gemalto.com<mailto:frederic.olier-EXTERNAL@gemalto.com>
_______________________________________________
Hi,
I have created two applications, let's say one for managing clients and one
for managing projects. How can I fetch the clients name and use it in my
list of projects?
To speak in database terms I want my project's table to have a foreign key
which refers to the client primary key so that I can access all client's
attributes.
Would be thankful for inspiration or helpful links to existing(?) tutorials.
Thanks and bests,
Moritz
We have a small Confluence Wiki that is approaching its user limit. We have the option of either purchasing additional licenses or moving to XWiki. One huge advantage of XWiki is that we could vastly increase the number of users with access to our Wiki even if we did not allow those users write access.
In order to make such a conversion feasible, we would first need to import our existing Confluence Wiki. In searching around I have found references to some Google Summer of Code proposals < http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/ImportExportfromanyo…>. I have been less successful in locating implementations.
Is there a (relatively) straightforward way to import my Confluence content into an XWiki? How might I go about doing this?
Thanks
Michael Ottati