Hello
I am new on Xwiki. I like to rebuild Xwiki platform or common packages. I fixed all problems related to build. Except one thing if the module has component codes or components.txt I always got build error. Please see the attached error log. I think I missed one thing but I don't know yet. Can you help me on this issue.
Thanks
Ken
Sent from my iPhone
Begin forwarded message:
> From: "LIANG, KEN K (CTR)" <ken.k.liang(a)cbp.dhs.gov>
> Date: April 16, 2015 at 10:13:14 AM EDT
> To: "khjintcorp(a)gmail.com" <khjintcorp(a)gmail.com>
> Subject: Can't build project xwiki-platform-wiki-default
>
>
> [INFO] XWiki Platform - Wiki - Parent POM ................. SUCCESS [ 7.463 s]
> [INFO] XWiki Platform - Wiki - API ........................ SUCCESS [ 8.459 s]
> [INFO] XWiki Platform - Wiki - Default Implementation ..... FAILURE [ 25.449 s]
> [INFO] XWiki Platform - Wiki - REST - Parent POM .......... SKIPPED
> [INFO] XWiki Platform - Wiki - REST - API ................. SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Parent POM ...... SKIPPED
> [INFO] XWiki Platform - Wiki - Template - API ............. SKIPPED
> [INFO] XWiki Platform - Wiki - REST - Default implementation SKIPPED
> [INFO] XWiki Platform - Wiki - Script services ............ SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Default ......... SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Script .......... SKIPPED
> [INFO] XWiki Platform - Wiki - User - Parent POM .......... SKIPPED
> [INFO] XWiki Platform - Wiki - User - API ................. SKIPPED
> [INFO] XWiki Platform - Wiki - User - Default ............. SKIPPED
> [INFO] XWiki Platform - Wiki - User - Script .............. SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Parent POM ............ SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Common ................ SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Main Wiki ............. SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Wiki .................. SKIPPED
> [INFO] XWiki Platform - Wiki - Workspaces Migrator ........ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 43.351 s
> [INFO] Finished at: 2015-04-16T10:11:32-04:00
> [INFO] Final Memory: 72M/912M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project xwiki-platform-wiki-default: Compilation failure: Compilation failure:
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.DefaultWikiCreator] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.builder.DefaultWikiDescriptorBuilder] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.WikiDescriptorCache] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListener] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.DefaultWikiDeleter] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.document.XWikiServerClassDocumentInitializer] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.provisioning.DefaultWikiCopier] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.migrator.WikiDescriptorMigrator] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.configuration.DefaultWikiConfiguration] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.properties.DefaultWikiPropertyGroupManager] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.provisioning.DefaultWikiProvisioningJobExecutor] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.DefaultWikiManager] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] -> [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/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :xwiki-platform-wiki-default
> FATAL ERROR in native method: JDWP on getting class status, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)
> JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): on getting class status [util.c:1283]
>
>
> Ken Liang
> Contractor
> Unisys
> Supporting the Targeting & Analysis Systems Program Directorate
> Office of Information and Technology
> U.S. Customs & Border Protection
> Office: 571-468-2782
>
>
I'll be more than happy to test. Except, maybe I've misunderstood something, but I believe I am running XWiki Enterprise 7.0. So will I have to wait for the next release of the 7.x train?
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 16 April 2015 14:38
To: XWiki Users
Subject: Re: [xwiki-users] User Permissions Issue
On Thu, Apr 16, 2015 at 3:50 PM, Mahomed Hussein
<Mahomed(a)custodiandc.com> wrote:
> Hi Marius
>
> Thank you for responding. This does look like it may be the issue because at some points it works for a bit then it stops working for me. In most cases it's pretty consistent with adding/removing the permissions.
>
> I can replicate the issue pretty consistently and can provide a test case. Would you like me to contribute any info or assist in any testing, or have you got everything you need to resolve this?
A fix has been committed already (thanks to Denis) and will be
included in 6.4.4 to be released in the following days. Would be great
if you can test the fix after the release is available.
Thanks,
Marius
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
> Sent: 16 April 2015 10:00
> To: XWiki Users
> Subject: Re: [xwiki-users] User Permissions Issue
>
> We just added a note to the 6.4.3 RN
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki643
> . Check the text in red. Maybe you are facing the same issue.
>
> On Tue, Apr 14, 2015 at 7:22 PM, mahomed <Mahomed(a)custodiandc.com> wrote:
>> Thanks for still responding Hamster. Am I correct that you are using version
>> 5.4.3 and not version 7? I think it got changed/broken in v6
>>
>>
>>
>> --
>> View this message in context: http://xwiki.475771.n2.nabble.com/User-Permissions-Issue-tp7594486p7594646.…
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>> _______________________________________________
>> 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 Marius
Thank you for responding. This does look like it may be the issue because at some points it works for a bit then it stops working for me. In most cases it's pretty consistent with adding/removing the permissions.
I can replicate the issue pretty consistently and can provide a test case. Would you like me to contribute any info or assist in any testing, or have you got everything you need to resolve this?
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 16 April 2015 10:00
To: XWiki Users
Subject: Re: [xwiki-users] User Permissions Issue
We just added a note to the 6.4.3 RN
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki643
. Check the text in red. Maybe you are facing the same issue.
On Tue, Apr 14, 2015 at 7:22 PM, mahomed <Mahomed(a)custodiandc.com> wrote:
> Thanks for still responding Hamster. Am I correct that you are using version
> 5.4.3 and not version 7? I think it got changed/broken in v6
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/User-Permissions-Issue-tp7594486p7594646.…
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
> >
> > My purpose is to
> display a list of page (with MyClass object): this point is
> working well but ...
> >
>
> > I want that the user
> select in my select list: one page OR nothing.
>
> The HTML select element
> supports either single selection (exactly one
> item selected) or multiple selection (0..*). To
> achieve 0..1 you need
> to have a special item
> "Nothing" with value '' (empty string) and
> in
> order to add this item to a Page
> (actually DatabaseList) property you
> have to
> write a custom displayer. Another solution may be to create
> a
> special page with a MyClass object that
> represents the "nothing" value
> (when selected), but you still need to hack
> something in order to have
> this option
> displayed first.
>
Yes thxs I though about "custom display" field.
Then I can use a String type with "custom display" or perhaps with database list+"custom display" I can catch HTML rendering of select list to add my empty option value line...
Anyway Do you know where is source code of Page type to improve it (IMA view mode must display a link to the target)?
> >
> > Do you have an idea, how can I do that?
> >
>
> > I
> found a issue too: my select list list all page (with
> MyClass object) ... even my Template with MyClass object who
> is hidden.
>
> Does it behave
> the same with a DatabaseList property? The Page
> property is nothing more than a wrapper for the
> DatabaseList property.
Yes it is the same: I just tested. hidden filter is not applied (of course I checked that user preference is "don't show hidden doc")
Do you know where is query to check it?
Hello,
I create MyClass/Sheet/Template and in another AnotherClass I add a Page type property with:
- Display Type : select
- XWiki Class Name: MyClass
- Id Field Name: doc.fullName
- Value Field Name : doc.name
My purpose is to display a list of page (with MyClass object): this point is working well but ...
I want that the user select in my select list: one page OR nothing.
Do you have an idea, how can I do that?
I found a issue too: my select list list all page (with MyClass object) ... even my Template with MyClass object who is hidden.
Thxs.
Pascal B (xWiki 6.4)
In XWiki configuration document extra panel is not shown, therefore one
cannot easily see changes between settings.
What is best/easiest way to enable this (e.g. enable showing document
extra panel, or something other)?
Thanks!
Valdis
I have adjusted maximum upload size in XWikiPreferences to 64MB in the main
wiki and can successfully upload for import a 48MB XAR file.
However, when I tried to upload the same file in a sub wiki, I was
restricted by the default 32MB limit. Realising that the sub wiki would
have its own XWikiPreferences, I eventually figured out how to edit that and
made the same change as for the main wiki.
However, in this case, changing the preference had no effect and uploads are
still restricted to the default 32MB.
What do I need to change to allow sub wiki to upload attachments greater
than 32MB in size?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Maximum-Upload-Size-XWiki-7-sub-wiki-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
When I import ojects from XWIKI 6.4.3 or 5.2.1 I get a NULL POINTER
exception.
I only import selected spaces, all the objects are imported.
I can provide you with a (quite large) XAR backup of one of our system.
5-04-14 19:37:20,613 [http://wiki/xwiki/wiki/icwiki/view/Main/] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 57:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:37:25,365 [http://wiki/xwiki/wiki/icwiki/view/IC+Dashboard/]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 57:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:37:39,406 [http://wiki/xwiki/wiki/icwiki/view/IC+Dashboard/]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 57:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:37:39,429 [http://wiki/xwiki/wiki/icwiki/view/IC+Dashboard/]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 29:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:40:31,721
[http://wiki/xwiki/wiki/icwiki/admin/XWiki/XWikiPreferences] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 32:icwiki:IC Dashboard.Dash
board@1,6
2015-04-14 19:40:36,274
[http://wiki/xwiki/wiki/icwiki/import/XWiki/XWikiPreferences?editor=globalad…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.
get] in 58:icwiki:IC Dashboard.Dashboard@1,6
2015-04-14 19:41:14,748
[http://wiki/xwiki/wiki/icwiki/import/XWiki/XWikiPreferences?editor=globalad…]
WARN c.x.x.w.XWikiAction
- Uncaught exception: Error number 11015 in 11: Error number 11015 in 11:
Exception while importing
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
importing
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:110)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.filter.FilterException: Failed to read XAR package
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.readXAR(XARInputFilterStream.java:111)
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.read(XARInputFilterStream.java:95)
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.read(XARInputFilterStream.java:46)
at
org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)
at
com.xpn.xwiki.web.ImportAction.importPackageFilterStream(ImportAction.java:328)
at com.xpn.xwiki.web.ImportAction.importPackage(ImportAction.java:146)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:107)
... 42 more
Caused by: java.lang.NullPointerException
at
org.xwiki.filter.instance.internal.output.XWikiDocumentOutputFilterStream.endWikiSpace(XWikiDocumentOutputFilterStream.java:238)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at
org.xwiki.filter.internal.CompositeFilter.invoke(CompositeFilter.java:75)
at com.sun.proxy.$Proxy87.endWikiSpace(Unknown Source)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at
org.xwiki.filter.internal.CompositeFilter.invoke(CompositeFilter.java:75)
at com.sun.proxy.$Proxy88.endWikiSpace(Unknown Source)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at
org.xwiki.filter.internal.CompositeFilter.invoke(CompositeFilter.java:75)
at com.sun.proxy.$Proxy89.endWikiSpace(Unknown Source)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:63)
at com.sun.proxy.$Proxy90.endWikiSpace(Unknown Source)
at org.xwiki.filter.xar.internal.input.WikiReader.read(WikiReader.java:99)
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.readXAR(XARInputFilterStream.java:109)
... 48 more
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWIKI-7-0-Admin-IMPORT-fails-with-NULL-PO…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Ricardo
Thanks. I'd already checked the CSS out (I use Chrome's Developer tools but will checkout firebug) and was hoping there was a built in way or a pre-written extension to save some time.
Thanks for the "View Source" tip. I didn't have this option available as I hadn’t registered on xwiki.org yet (didn't have an actual need until now).
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Ricardo.Julio.Rodriguez.Fernandez(a)sergas.es
Sent: 15 April 2015 13:46
To: users(a)xwiki.org
Subject: Re: [xwiki-users] Keyboard icons in XWiki articles
Hi Mahomed!
Once again CSS is king! Install Firebug or Firebug Lite (http://getfirebug.com) or any other software that allow you to inspect the page and you'll see how CSS class key does the trick!
XWiki view source feature is also useful for understanding the whole picture. A XWiki.StyleSheetExtension holds the CSS code rendering this nice key images.
Hope this helps,
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
________________________________________
De: users [users-bounces(a)xwiki.org] en nombre de Mahomed Hussein [Mahomed(a)CustodianDC.com]
Enviado: miércoles, 15 de abril de 2015 14:27
Para: XWiki Users
Asunto: [xwiki-users] Keyboard icons in XWiki articles
Hi
Can anyone please tell me how I can create keyboard icons in my own wiki/document similar to how the icons appear on this page - http://platform.xwiki.org/xwiki/bin/view/Features/KeyboardShortcuts ? Hopefully this is built in ☺
Thanks in advance.
Kind regards,
Mahomed
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
________________________________
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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi
Can anyone please tell me how I can create keyboard icons in my own wiki/document similar to how the icons appear on this page - http://platform.xwiki.org/xwiki/bin/view/Features/KeyboardShortcuts ? Hopefully this is built in ☺
Thanks in advance.
Kind regards,
Mahomed
Hi everybody,
I recently migrated our XWiki Windows Server installation to an Ubuntu
Server 14.10 (x64) setup with XWiki 7, Tomcat 8, Java 8 and Nginx proxy.
All issues that occurred were fixed and everything is running smoothly now
except for one thing.
JPG images don't show up on XWiki, I get the error output appended below.
The crucial line seems to be: "Could not initialize class
com.sun.imageio.plugins.jpeg.JPEGImageReader". I searched on google and
downgraded to JRE 7 but that didn't fix the issue so I re-installed JRE-8
and purged JRE-7 again.
Could someone please point me in the right direction how to fix this?
---[CATALINA LOG OUTPUT]---
WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 0
in 11: Uncaught exception
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:368)
[XWikiAction.class:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
[XWikiAction.class:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
[RequestProcessor.class:1.3.10]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
[RequestProcessor.class:1.3.10]
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
[ActionServlet.class:1.3.10]
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
[ActionServlet.class:1.3.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
[tomcat8-servlet-api-8.0.9.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
[tomcat8-servlet-api-8.0.9.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
[ActionFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
[ConversionFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
[tomcat8-websocket-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[SetHTTPHeaderFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[XWikiDavFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[SavedRequestRestorerFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[SetCharacterEncodingFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
[tomcat8-coyote-8.0.9.jar:8.0.9]
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655)
[tomcat8-coyote-8.0.9.jar:8.0.9]
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
[tomcat8-coyote-8.0.9.jar:8.0.9]
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
[tomcat8-coyote-8.0.9.jar:8.0.9]
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
[tomcat8-coyote-8.0.9.jar:8.0.9]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_40-internal]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_40-internal]
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat8-util-8.0.9.jar:8.0.9]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40-internal]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
com.sun.imageio.plugins.jpeg.JPEGImageReader
at
com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(JPEGImageReaderSpi.java:85)
~[na:1.8.0_40-internal]
at
javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:320)
~[na:1.8.0_40-internal]
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:529)
~[na:1.8.0_40-internal]
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:513)
~[na:1.8.0_40-internal]
at javax.imageio.ImageIO.read(ImageIO.java:1443)
~[na:1.8.0_40-internal]
at javax.imageio.ImageIO.read(ImageIO.java:1352)
~[na:1.8.0_40-internal]
at
com.xpn.xwiki.internal.plugin.image.DefaultImageProcessor.readImage(DefaultImageProcessor.java:58)
~[DefaultImageProcessor.class:na]
at
com.xpn.xwiki.plugin.image.ImagePlugin.shrinkImage(ImagePlugin.java:311)
~[ImagePlugin.class:na]
at
com.xpn.xwiki.plugin.image.ImagePlugin.downloadImageFromCache(ImagePlugin.java:285)
~[ImagePlugin.class:na]
at
com.xpn.xwiki.plugin.image.ImagePlugin.downloadImage(ImagePlugin.java:248)
~[ImagePlugin.class:na]
at
com.xpn.xwiki.plugin.image.ImagePlugin.downloadAttachment(ImagePlugin.java:221)
~[ImagePlugin.class:na]
at
com.xpn.xwiki.plugin.XWikiPluginManager.downloadAttachment(XWikiPluginManager.java:287)
~[XWikiPluginManager.class:na]
at com.xpn.xwiki.web.DownloadAction.render(DownloadAction.java:111)
~[DownloadAction.class:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345)
[XWikiAction.class:na]
... 47 common frames omitted
Thanks in advance,
Dennis
Hello,
I wrote a component in eclipse using maven.
@Inject
private Container container;
....
HttpServletRequest request = (HttpServletRequest) container.getRequest();
String environement = request.getParameter(PARAM_ENVIRONNEMENT);
String referer = request.getHeader(REFERER);
...
And i tried to access this component in an xwiki page by :
def jsonObject = services.jenkinsJobsPresenter.presentJobs(); /*this method returns a jsonNode*/
But i have got this error
org.xwiki.container.servlet.ServletRequest cannot be cast to javax.servlet.ServletRequest
I want to get the HttpServletRequest , to get the parameters and the headers
First, i was trying to get the request from the XwikiContext but i noticed that it was deprecated.
Sincerely,
PS : i'm a junior developper and i have just started using xwiki from 2 weeks for a specific project.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Hello,
I wrote a component in eclipse using maven.
@Inject
private Container container;
....
ServletRequest request = (ServletRequest) container.getRequest();
HttpServletRequest req = (HttpServletRequest) request;
String environement = req.getParameter(PARAM_ENVIRONNEMENT);
String referer = req.getHeader(REFERER);
...
And i tried to access this component in an xwiki page by :
def jsonObject = services.jenkinsJobsPresenter.presentJobs(); /*this method returns a jsonNode*/
But i have got this error
org.xwiki.container.servlet.ServletRequest cannot be cast to javax.servlet.ServletRequest
I want to get the HttpServletRequest , to get the parameters and the headers
First, i was trying to get the request from the XwikiContext but i noticed that it was deprecated.
Sincerely,
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Hi!
In a user profile page with new tabs, I wish div dashboardleft occupy all available width for privateSpacePane.
I'm not able to find the right place to inject a width: 100%; property that is working for me when trying it with Inspector (Mac OS X, Safari)
http://atriumkm.idisantiago.es/bin/download/ICT/CSS/css.OnPrivateSpace02.png
Please, could you point me in the right direction? Must I add a XWiki.StyleSheetExtension object to XWiki.XWikiUserSheet? Must I add it to each user page? Could I use inline code in the concerned div element? I've tried a number of things but failed all and every time!
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
Hello,
My problems:
1. Double button on the top panel (How to switch off this?) (screen shot
is in attachment)
2. How to hide who modified something?
Greetings,
Maciek.
Hi All
I have problem to configure xwiki7
To attach big file to wiki
The steps that I did are:
Size Limit
The maximum size of an attachment is limited by a configuration parameter in the XWikiPreferences document. It is set to about 32MB by default.
To change it follow these steps:
1. Go to http://<yourwiki>/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object<http://%3cyourwiki%3e/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object>
2. Click on the line that says XWikiPreferences 0 (right below the line that says Objects of type XWiki.XWikiPreferences (1))
1. Scroll down to the field that says Maximum Upload Size and change the number to 10737418240 bytes which is 10GB
2. Scroll to the bottom and click "Save"
3. Restarted the tomcat 8
This didn't work:
I am getting message that I can't attach files larger then 32mb
1. I have tried to attach a video file that about 32mb I got those messages:
[Caused by: java.lang.OutOfMemoryError: Java heap space among the long message]
A problem occurred while trying to process your request. Please contact the webmaster if this happens again.
Detailed information:
Error number 0 in 11: Uncaught exception
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:368)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
at java.lang.StringBuffer.append(StringBuffer.java:232)
at org.suigeneris.jrcs.util.ToString.arrayToString(ToString.java:110)
at org.suigeneris.jrcs.rcs.impl.Node.setText(Node.java:349)
at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:243)
at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:214)
at com.xpn.xwiki.doc.XWikiAttachmentArchive.updateArchive(XWikiAttachmentArchive.java:185)
at com.xpn.xwiki.doc.XWikiAttachment.updateContentArchive(XWikiAttachment.java:891)
at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.java:1643)
at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateStore.java:1602)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:543)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1423)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1367)
at com.xpn.xwiki.web.UploadAction.uploadAttachment(UploadAction.java:214)
at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:344)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
2. I have change the attachment location to:
a. To change the storage location do:
[root@ cat /usr/apache-tomcat-8.0.20/webapps/xwiki-enterprise-web-7.0/WEB-INF/xwiki.properties |grep -n environment.permanentDirectory
78:# environment.permanentDirectory=/var/local/xwiki/
b. I will change it to :
environment.permanentDirectory=/usr/apache-tomcat-8.0.20/Attachments
a. c. My vim setenv.sh
JAVA_OPTS="${JAVA_OPTS} -Djava.awt.headless=true"
CATALINA_OPTS="-server -Xms800m -Xmx800m -XX:MaxPermSize=196m -Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC -XX:MaxGCPauseMillis=100"
export JAVA_OPTS CATALINA_OPTS
Please advise how to change the configuration to be able to attach big files to wikis
Thanks
>
> It seems that my livetable working like a charm now. :-)
>
> By the way, it's a shame that boolean property didn't work
> with columnsProperties with this :
> #set ($columnsProperties = {
> 'MyBooleanPropertyField':
> {"type":"list",'class':'xxxxx'},
> It didn't work with text either.
> Then I suppose I must change the property field type in a
> database list or in static list.
Right, I found this issue for that: http://jira.xwiki.org/browse/XWIKI-6118: "Add boolean property support on livetables"
> >
> > You
> > can use https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
> > as an example of a custom results page.
>
> Thanks, I will give a try.
> With ResultPage, I wonder if I could use select list of
> livetable.
>
Hello,
I didn't used ExternalLinksJSON.xml example because I need tag cloud and all nice livetable features :-)
Then I copy/paste XWiki.LiveTableResultsMacros in MyApply.MyResultPage and use this lovetable option:
#set ($options = {
'resultPage':'MyApply.MyResultPage',
'translationPrefix' : 'FormSMQ.livetable.',
In MyApply.MyResultPage, I replace these lines (and add tons of debug code :-)) ):
#set($whereSql = "${whereSql} and ${objectAlias}.name = doc.fullName and ${objectAlias}.className = ?")
#set($discard = $whereParams.add($propClassName))
by
- ## Hack #set($whereSql = "${whereSql} and ${objectAlias}.name = doc.fullName and ${objectAlias}.className = ?")
#set($whereSql = "${whereSql} and ${objectAlias}.name = doc.fullName and ${objectAlias}.className like ? and doc.fullName NOT like 'FormSMQ.%Template'")
#set($discard = $whereParams.add('FormSMQ.%Class'))
and to avoid hidden doc when no filter is applied:
I replace
#set($sql = "$!fromSql $!filterfrom where 1=1 $!whereSql $!filterwhere")
by
#set($sql = "$!fromSql $!filterfrom where 1=1 and doc.hidden=false $!whereSql $!filterwhere")
It seems that my livetable working like a charm now. :-)
By the way, it's a shame that boolean property didn't work with columnsProperties with this :
#set ($columnsProperties = {
'MyBooleanPropertyField': {"type":"list",'class':'xxxxx'},
It didn't work with text either.
Then I suppose I must change the property field type in a database list or in static list.
Thxs for all
Pascal B
Hi,
I'm currently migrating my company's wiki to XWIKI. I've installed version 7.0.
Well, this application rocks but I've got an annoying problem :
- I've downloaded the file manager and tried it on both Firefox and Chrome. When I open the page, I've just got an empty folder. I tried to click, double click, right clic... Nothing happens.
For your information, my xwiki is configured in french, and I'm logged with a superadmin account...
Do you have an idea ? Or a fix to help me ?
Laurent
Hello,
I am trying to connect to an LDAP server using the LDAP Admin
Application and failing. The settings I have configured are as follows:
- LDAP - enabled
- LDAP SERVER ADDRESS - server IP address
- LDAP SERVER PORT - 389
- LDAP LOGIN MATCHING - cn={0},ou=people,dc=info,dc=uaic,dc=ro
- LDAP PASSWORD MATCHING - {1}
- TRY LOCAL LOGIN - yes
- UPDATE USER FROM LDAP AFTER LOGIN - yes
- LDAP USER FIELDS MAPPING - last_name=sn,first_name=givenName,email=mail
Everything else is left blank, and in the xwiki.cfg file, the only
uncommented line is
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
Every time I try to log in using LDAP credentials the attempt fails with
the log entry given at the end of the message. I have also tried the
exact same settings in the xwiki.cfg file, with the same error message.
The server I am using is Tomcat, and the xwiki version is 6.4.
Best regards,
Alex Moruz
2015-04-09 16:28:13,172
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-04-09 16:28:13,185
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We
don't try to authenticate, it probably means the user is in non logged
mode.
2015-04-09 16:28:13,185
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-04-09 16:28:13,229
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
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.
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:197)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:125)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182)
[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:129)
[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3293)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:241)
[xwiki-platform-security-bridge-6.4.jar:na]
at
org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:271)
[xwiki-platform-security-bridge-6.4.jar:na]
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3306)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4299)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:269)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
[struts-core-1.3.10.jar:1.3.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
[xwiki-platform-wysiwyg-server-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[catalina.jar:6.0.43]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[catalina.jar:6.0.43]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
[catalina.jar:6.0.43]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
[tomcat-coyote.jar:6.0.43]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
[tomcat-coyote.jar:6.0.43]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote.jar:6.0.43]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25]
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:231)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:193)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
... 51 common frames omitted
2015-04-09 16:28:13,231
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against
XWiki DB
2015-04-09 16:28:13,237
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for
user [mmoruz]
2015-04-09 16:28:13,558
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/ssx/XWiki/DefaultSkin?la…]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-04-09 16:28:13,558
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/ssx/XWiki/DefaultSkin?la…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We
don't try to authenticate, it probably means the user is in non logged
mode.
description: wiki for managing Oaza's staff
owner name: Konrad Fierek (fiercio)
wiki name: oaza-swanna.myxwiki.org (or staff.oaza-swanna.info if is it possible)
Best regards,
Konrad
Hi,
for one of our projects, we're creating a XWiki component, based upon
this documentation
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents).
In documentation, it is said we can access the XWikiContext, which is
also said to be deprecated.
Considering that, and the fact we're running in XWiki 7.0, what is the
best way to get incoming request parameter ?
Thanks
Hi,
Firstly, I hope I'm sending this to the correct e-mail, if not please tell
me so I can avoid making the same mistake in the future.
Secondly, I would like to create my own personal Wiki. I'm mainly going to
use it for personal use. This will hold a knowledge base for my IT and
Webdesign knowledge to present me this in a structured way. While I'm using
this, I'm also going to evaluate it to use it in an enterprise environment.
Owner name: Daniël Meyfroot
Wiki name: bedar.myxwiki.com (bedar89 is also possible, but I prefer
without numbers)
Thank you in advance,
Daniël Meyfroot
Hi all!
We have successfuly updated our XWiki 6.x installation along the whole 6 cycle, but I'm in troubles with the new 7.0 release. I think that with only the first four lines of the error stack
XWiki initialization failed !
Exception thrown during job execution
class java.lang.AbstractMethodError: null
at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
...
Here you could find all catalina.out logged me after a Tomcat shutdown/start cycle and a call to XWiki in that server...
http://atriumkm.idisantiago.es/bin/download/ICT/XWikiUpgradeIssues/tomcatEr…
XWiki is running in a CentOS box...
[root@idis1 /]# cat /etc/centos-release
CentOS release 6.5 (Final)
With the following XWiki relevant pieces...
[root@idis1 /]# java -version
*java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
... concerning JDBC
Since 1.7 -- new in the JDBC 4.1 API and part of the Java SE platform, version 7
*INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
To the best of my knowledge, compatible with the new Servlet Spec as per...
http://tomcat.apache.org/whichversion.html
... from XWiki 7.0 Release Notes
mysql> status
--------------
*mysql Ver 14.14 Distrib 5.5.38, for Linux (x86_64) using readline 5.1
*mysql-connector-java-5.0.8-bin.jar (2007-10-09)
Well, this piece is a good candidate for being identified as the poblem, but updating it to the last available release...
mysql-connector-java-5.1.35-bin.jar (2015-03-23)
...doesn't solve the issue.
As they are a lot of versions between mysql-connector-java-5.0.8-bin.jar (working for us nicely so far) and the newest mysql-connector-java-5.1.35-bin.jar (failing for us, at least with this combination of Java, Tomcat and MySQL), please, could you tell us if we are in the right direction? Should we update any other component but mysql-connector-java-x.y.z-bin.jar to get XWiki 7.0 working? Should we start trying one by one mysql-connector-java-x.y.z-bin.jar newer releases? Do you know which release introduces JDBC 4.1 support?
Thanks you so much 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
We use the database connector "mysql-connector-java-5.1.24-bin.jar" and are hesitant to proceed with the upgrade until this issue is resolved.
Thanks,
Jeff Anderson
Press F5 to refresh on that page. We had this as well. I think something gets cached in the browser that stops it from loading. I never got to the bottom of it, but it hasn't really happened with V7 actually (and users now know to press F5 before reporting an issue to me :) )
I hope that helps.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Jeff Anderson
Sent: 07 April 2015 15:29
To: users(a)xwiki.org
Cc: # IT
Subject: [xwiki-users] XWiki 6.4.3 - Bug - Stuck Loading Edit Page
After updating the wiki from v6.4.2 to v6.4.3 we have run into an issue.
Upon clicking "edit" button to edit a page the page will get stuck loading the page.
This has been reported to happen on multiple occasions.
Thanks,
Jeff Anderson
ü P.R.I.D.E.<http://pridedallas.com/> IT Analyst
* jeffanderson(a)pridedallas.com
* (214) 420 7818
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
After updating the wiki from v6.4.2 to v6.4.3 we have run into an issue.
Upon clicking "edit" button to edit a page the page will get stuck loading the page.
This has been reported to happen on multiple occasions.
Thanks,
Jeff Anderson
ü P.R.I.D.E.<http://pridedallas.com/> IT Analyst
* jeffanderson(a)pridedallas.com
* (214) 420 7818
Hello,
i like the REST-API and have a library in Java which works perfect. Now i
want to use the RESTful API in Javascript. But i am new to javascript and
tried a lot, but nothing seems to work. Is there a simple example in
javascript with the rest-api?
I don't get what i am doing wrong, because i am not good in javascript.
I tried
require(['jquery'], function ($) {
$.ajax({
accepts: {xml: 'text/xml', text: 'text/plain'},
url: 'http://HOST/xwiki/rest',
type: 'GET',
dataType: 'xml',
contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
converters: {'text xml': jQuery.parseXML},
crossDomain: true,
async: true,
username: 'username',
password: 'apassword',
success: function(data){
alert("Success: "+JSON.stringify(data));
},
error: function(data){
alert("Error: "+ JSON.stringify(data));
}
});
});
Also i tried
var httpRequest = new XMLHttpRequest();
httpRequest.open('PUT', 'http://HOST/xwiki/rest');
httpRequest.setRequestHeader('Accept', 'application/xml');
httpRequest.send( null );
alert( JSON.stringify(httpRequest.responseText) );
httpRequest.onreadystatechange = function(){
if(this.readyState == 4){
if(this.status == 200){
alert(this.responseText);
}
else{
alert(this.statusText);
}
}
}
I recognized a difference in ajax when i switched to jsonp because i tried
on localhost. But anyway my example work when i use my server outside.
Can you help me?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Javascript-RESTful-tp7594084.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'd like to be able to generate pure JSON from a wiki page, to use in other pages via AJAX. To that end I created a page with the following content:
{{velocity wiki="false"}}
$response.setContentType('application/json')
{
"greeting" : "Hello",
"location": "World"
}
{{/velocity}}
Calling this via /xwiki/bin/get/Sandbox/JsonTest I get the following code:
<p><br/>{<br/>"greeting" : "Hello",<br/>"location": "World"<br/>}</p>
I get the same via /xwiki/bin/view/AlertDB/JsonTest?xpage=plain.
If I remove the $response.setContentType('application/json')
https://dev.alertnessdb.net/xwiki/bin/view/AlertDB/JsonTest?xpage=plain
Currently, I'm using something like this to generate a list of pages whose
prefix is "Prefix:" and link to them:
{velocity}} (((
#foreach ($row in $services.query.hql("select doc.name, doc.fullName from
XWikiDocument doc where doc.space.hidden = false and doc.space not in
('XWiki', 'Sandbox', 'Main', 'Macros') and doc.name like
'Prefix:%'").execute())
* **[[$row[0].replaceFirst("Prefix: *", "").replaceAll("~",
"~~~~").replaceAll("[\x20-\x7f&&[^a-zA-Z0-9 ~]]",
"~~$0")>>doc:$row[1].replaceAll("~", "~~").replaceAll("[\x5b\x5d|]", "\\$0
<file:///\\$0> ")]]**
#end
))) {{/velocity}}
I have tested with some heavy test cases like
Prefix:
~~~!!!```@@@$$$%%%^^^&&&***((()))___----+++==={{{}}}[[[]]]\\\|||:::;;;'''"""
???///...>>>,,,<<<
And what I have above works correctly (both showing the title and linking to
the document). I only work on a few hard test cases, though, so I'm not sure
if I missed anything.
Is there a method that does all this automatically? Or is there a better
approach to this?
I have a Groovy script that takes input from a form textarea. I'd like to prevent html (and JS) markup from being submitted and, if HTML is submitted, strip it out. Is there a tool already packaged within XWiki to do this, or should I look to an external package like Jericho?
Thanks,
Bryn
Hello,
I'm looking for advice about a way to add some tags on saved page with class.
What I have:
- a sheet page with an object Class ( with an object class + properties) + a template page
- a velocity code in a page AddMyTag to add some tags on some page with this URL parameters:
$!request.PageSource, $!request.ClassName
What I'm trying to do, is: when a user save a page, a tag is added. The tag to add is coming from a properties value (last character on property name is _Tag).
If I call my 'AddMyTag' page, tags are correctly added on PageSource.
To resume:
- the user save HisPage
- HisPage add tags from a properties value (name xxx_Tag)
My problem is "how can I launch" automaticelly my 'AddMyTag' page when a user record PageSource?
I tried with Ajax with
document.observe("xwiki:actions:save", function(event){ (http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI#HActioneven…) but the problem is: sometime xxx_Tag property value is updated after my AJAX call (and the old tag is attached on page).
A the moment, I'm looking for another way, I read http://extensions.xwiki.org/xwiki/bin/view/Extension/WikiComponent+Module
But documentation indicate: "The goal is to listen ... DocumentUpdatingEvent events (note that these events are fired before the page is saved and thus our code doesn't need to perform the save itself ..."
Then I can not use this method either because I must add tag from new value from my _Tag properties.
How can I launch a velocity script on a document after document is saved (to add some tag from the document itself)?
Thxs for any help
Pascal B
I would like to create a form for a international audience (multi language)
So I created a AppWithinMinutes app.
I would like that my users can Multiselect from a list that is a selection
of objects based on a class.
So i created a class (with AppWithinMinutes:
Class properties
Short Text (shortText1: String)
Long Text (longText1: TextArea)
Long Text (longText2: TextArea)
Database List (databaseList1: Database List)
The databaseList1 has the following properties:
DisplayType: checkbox
Multiple Select: true
XWiki Class Name: XWiki.UIExtensionClass
Id Field Name: name ()
Value Field Name: name
The first issue I get that I get all objects of the class. I hoped to add a
selection by adding this query:
from doc.object(XWiki.UIExtensionClass) as obj where
lower(obj.extensionPointId) like '%cdlsworld.standardized.questionaires%'
and ('wiki' = obj.scope) order by obj.name
But how can I add this?
The second issue that I hoped to be able to use for the option to add the
translated value
$services.localization.get('$value')
I'm sorry but i can't find any option like "icon theme".
Am I in the wrong dialog(see the screenshots in the attachments)?
2015-04-03 12:27 GMT+02:00 Georg Hirn <georg.hirn(a)gmail.com>:
> I'm sorry but i can't find any option like "icon theme".
> Am I in the wrong dialog(see the screenshots in the attachments)?
>
> 2015-04-03 11:32 GMT+02:00 Marius Dumitru Florea <
> mariusdumitru.florea(a)xwiki.com>:
>
>> On Thu, Apr 2, 2015 at 12:12 AM, Georg Hirn <georg.hirn(a)gmail.com> wrote:
>> > Hi,
>> >
>>
>> > I have changed the skin of my xwiki(6.4.3) installation from calibri to
>> > flamingo.
>>
>> Flamingo is the default skin since XWiki 6.2 so why did you have to
>> switch from Colibri? Did you do an upgrade from a previous version (<
>> 6.2)? It's always important to mention if the problem is on a clean
>> install or after an upgrade.
>>
>> Thanks,
>> Marius
>>
>> > When I refreshed the page there were some errors. On some buttons
>> > the icons were drawn multiple, see the picture in the attachment.
>> > I tired to update to the latest stable xwiki version (7.0) but nothing
>> > changed.
>> > Could anybody help me please?
>> >
>> > Thanks,
>> > Georg
>> > _______________________________________________
>> > 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!
I'm trying to use XWIki for purposes for company documentation and data.
My first step is to setup XWiki for HR Department, and for now I have
problems with that.
Can you please help me?
1. How can I make some kind of Address Book? We need a place, where we
can put in all contacts of our current team, their photo, emails, tel.
numbers, skype, etc.
2. Is it possible to place this kind of information on dashboard?
3. Is there any way to place an announcement, so all xwiki users will
see it?
--
*Faithfully yours,Andreev Vladislav*
*Head Project Manager*
*Cleveroad Inc.*
> > I found my
> query, something like this:
> > #set($hql =
> "select obj.name, prop.value from BaseObject obj,
> StringProperty prop where (
> obj.className='FormSMQ.EAClass' or
> obj.className='FormSMQ.PiacJ2Class' ) and
> prop.id.id=obj.id and
> prop.name='TypeFiche_RO'")
> >
>
> > Now
> I need the JSON format of my JSON data provider (resultPage
> parameter: full name of the page to use as a JSON data
> provider for the table)
>
> You
> can use https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
> as an example of a custom results page.
Thanks, I will give a try.
With ResultPage, I wonder if I could use select list of livetable.
Thanks you VERY much to make my week-end busy ;-)
>
> > -
> "search page" searching only Id value and not lib
> value (of course because it is the id value that is stored
> in EAClass object)
> > i.e. I found pages,
> if I search "25_dgec" but not if I search
> "DGEC"
>
> Yes, this
> is 'normal' because ATM only the raw value (id) is
> indexed
> for Database List properties.
>
> > - Result "search
> page" displayed property name (and not the pretty name)
> FAQ have same issue.
> > - my solr facet
> displayed my id value too.
> >
> > Do you know how can I fix this issue (if
> someone understand my problem ;-) )?
>
> > Here I paste a nice screenchot: http://snag.gy/Joa7q.jpg
>
> ATM there's no solution
> for the search results highlights. The
> property name displayed there is part of the
> highlight (the matched
> text) and it cannot
> be parsed (if the property value is large enough
> and the match is somewhere at the end then the
> property name is not
> even included in the
> match).
>
To resolve the problem I use lib column to display correct value (and not the id)
> Regarding the raw
> value (id) displayed in the facet, you can write a
> custom facet that displays the label
> corresponding to the raw value.
>
Yes I manage to did this solution, but I was confronted at multi class problem (again)
Thxs anyway, I store pretty name in my Page with Class.
Hi,
As I tried XWiki, I used my laptop as server with the Windows standalone
install.
Now, I want to have XWiki installed on a standard server with a standard
DB/web server using the XWiki RPM (I guess this RPM will not install
Jetty/SQLite, but Tomcat/??).
But, I would better not have to reinstall the various extensions,
recreate the users (with the same login/passwords) and rewrite the pages
I already have.
Is there any synchronisation mechanism available that would allow me to
give the "official" XWiki my "prototype" one as a kind of upstream
server and make sure their content and config is synchronized ?
Thanks
--
Nicolas Delsaux
We are having an issue where some links that have been created are not opening up in a new tab or window. An unregistered user is prompted to download the linked attached document rather than opening up in a new tab or window, even if the option is set in the link.
If the contributor that created the link does not have program right, we see the above behavior. If the admin account created the link, it works as expected.
We are on version 6.3
Please advise.
This e-mail, and any attachments, is intended only for the use of the
addressee(s) named herein and may contain legally privileged and/or confidential
information. If you are not the intended recipient of this e-mail, you are
hereby notified that any dissemination, distribution or copying of this e-mail,
and any attachments, is strictly prohibited. If you have received this e-mail in
error, please notify me via return e-mail immediately and permanently delete the
original from your computer. Thank you, Mangar Industries Inc.
Hello
I created an application:
- my Class EAClass contain a field DG MOA * : (P1_DgMoa: Database List)
Display Type: select
Sort: Id
XWiki Class Name: FormSMQ.ListeDGClass
Id Field Name: DGId
Value Field Name: DGLib
My Class (source of select list) FormSMQ.ListeDGClass have 2 fields:
DG Id (DGId: String): contain l'Id of my list
DG Lib (DGLib: String): contain lib (pretty name like) who is displayed on my list select.
My data are:
DGId:20_dgaln / DGLib: DGALN
DGId:25_dgec / DGLib: DGEC
DGId:30_dgitm / DGLib: DGITM
...
Everything going well:
-all pages based on EAClass displayed Lib Value in view mode and in edit mode too (the id value is stored in the page)...
Except for search engine: I have some problems:
- "search page" searching only Id value and not lib value (of course because it is the id value that is stored in EAClass object)
i.e. I found pages, if I search "25_dgec" but not if I search "DGEC"
- Result "search page" displayed property name (and not the pretty name) FAQ have same issue.
- my solr facet displayed my id value too.
Do you know how can I fix this issue (if someone understand my problem ;-) )?
Here I paste a nice screenchot: http://snag.gy/Joa7q.jpg
Thanks.
Pascal B
--- En date de : Ven 27.3.15, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
> De: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> Objet: [xwiki-users] livetable with multiple class?
> À: "XWiki Users" <users(a)xwiki.org>
> Date: Vendredi 27 mars 2015, 14h19
> If I understand documentation, to use
> Livetable with multiple Class (with 3 or 4 common
> properties: same name) I must use
> Parameter $options:
> resultPage The full name of the page to
> use as a JSON data provider for the table. This option
> allows to use a different data source than the default one
> (XWiki.LiveTableResults) for specific needs not handled by
> LiveTableResults (for example: complex cross-classes
> queries, external data retrieved with a groovy script,
> etc.).
>
...
> Can I do it with query in one (or two) shots or I must use a
> foreach loop to rendering my JSON data?
I found my query, something like this:
#set($hql = "select obj.name, prop.value from BaseObject obj, StringProperty prop where ( obj.className='FormSMQ.EAClass' or obj.className='FormSMQ.PiacJ2Class' ) and prop.id.id=obj.id and prop.name='TypeFiche_RO'")
Now I need the JSON format of my JSON data provider (resultPage parameter: full name of the page to use as a JSON data provider for the table)
> >
> > A the
> moment, I'm looking for another way, I read http://extensions.xwiki.org/xwiki/bin/view/Extension/WikiComponent+Module
> > But documentation indicate: "The goal
> is to listen ... DocumentUpdatingEvent events (note that
> these events are fired before the page is saved and thus our
> code doesn't need to perform the save itself
> ..."
>
> > Then I can
> not use this method either because I must add tag from new
> value from my _Tag properties.
>
> It doesn't say the document doesn't
> have the changes. But that the
> event is
> fired before the changes are saved. So if you listen to
> this
> event you should be able to get the new
> property value and add the
> tag. Just
> don't call save() in the event handled because this is
> done
> automatically after the event is passed
> to all handlers (including
> yours).
Ok thxs.
Then I must try this method, I must found the way to execute my velocity script to add/remove some tags (all is ready, I need to pass this parameter on my velocity code:
$request.PageSourceTo applyMyTag (and eventually) $!request.MyClassAttachedOnMyPage
but I'm affraid than there will be some conflict (or loop) because my velocity script use $xwiki.tag.addTagToDocument(String tag, String documentName) : this method save document...
Why I don't use full groovy script? Because I know API xwiki with velocity only (it is simple and groovy doc missing)
I admit I didn't initially understand the WAR + UI upgrade relation. But now that it has been explained, I promise to upgrade both when I do my testing and production upgrades :)
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of vincent(a)massol.net
Sent: 03 April 2015 12:39
To: Marius Dumitru Florea; XWiki Users
Subject: Re: [xwiki-users] Advice on upgrade and testing
Indeed not upgrading WAR + UI makes sense. Upgrading only WAR without the UI doesn’t.
We agree :)
Thanks
-Vincent
On 3 Apr 2015 at 13:37:48, Marius Dumitru Florea (mariusdumitru.florea(a)xwiki.com) wrote:
On Fri, Apr 3, 2015 at 2:05 PM, vincent(a)massol.net <vincent(a)massol.net> wrote:
> Hi Mahomed,
>
> 2 things:
>
> 1) if you pressed “later” XWiki will not ask you again until it’s restarted
> 2) if you don’t upgrade now you are going to risk having stuff in your wiki that don’t work so it’s important you upgrade ASAP. Having a reminder at each XWiki restart is a good thing and bypassing that is not such a brilliant idea IMO :)
My comment was about blocking the WAR upgrades not the UI upgrades
(through the DW). When you install XWiki through APT you may get
unwanted WAR uppdates because:
* the system is configured to update automatically
* the list of system updates is large and you don't notice that XWiki
is included in the list
Thanks,
Marius
>
> Thanks
> -Vincent
>
> On 3 Apr 2015 at 13:01:10, Mahomed Hussein (mahomed@custodiandc.com(mailto:mahomed@custodiandc.com)) wrote:
>> Hi
>>
>> This is brilliant and just what I needed. Thank you very much!
>>
>>
>> Kind regards,
>>
>> Mahomed
>>
>>
>>
>>
>> -----Original Message-----
>> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
>> Sent: 03 April 2015 11:37
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Advice on upgrade and testing
>>
>> On Wed, Apr 1, 2015 at 12:50 PM, Thomas Mortagne
>> wrote:
>> > On Wed, Apr 1, 2015 at 11:35 AM, Mahomed Hussein
>> > wrote:
>> >> Hi
>> >>
>> >> I wonder if anyone could be kind enough to provide me with some advice and pointers. I’ve noticed that XWiki runs its distribution upgrade wizard automatically when a new version is detected, but even though I pressed “Later” it still went ahead and upgraded. Or at least it appeared to have upgraded part of the system as the core version at the bottom showed 6.4.3 when the extensions etc. were still for 6.4.2. We started with 6.4.2 (installed using apt-get on Ubuntu 14.04). So, to summarise my questions:
>> >>
>> >>
>> >> · How do I stop Xwiki from automatically upgrading. I just want it to notify me then I can plan the upgrade
>> >
>> > You are mixing two different things. The upgrade wizard is only about
>> > part of XWiki (the standard wiki pages) and it's been triggered
>> > because you upgraded the WAR probably using apt-get upgrade. If you
>> > don't want XWiki to be upgraded by apt-get you need to look at apt-get
>> > configuration.
>>
>> > As far as I know you can indicate a list of packages to
>> > not be taken into account automatically by apt-get upgrade.
>>
>> I successfully 'blocked' upgrades for XWiki by creating the file
>>
>> /etc/apt/preferences.d/xwiki
>>
>> with this content:
>>
>> Package: xwiki-*
>> Pin: version 6.2.7
>> Pin-Priority: 1001
>>
>> See https://help.ubuntu.com/community/PinningHowto
>>
>> Hope this helps,
>> Marius
>>
>> >
>> >>
>> >> · How do you perform a controlled upgrade and test (I appreciate that this is a rather in-depth question)? What I need to be able to do is to do an upgrade and then be able to fairly easily test that the new version doesn’t break any of our documents or functionality that we depend on. Would the only way to do this be to keep a list of my changes and check them with every upgrade?
>> >
>> > The safest for this is usually to have a test server which is a clone
>> > of the production server on which you do the upgrade and test it
>> > before doing it on the production server.
>> >
>> >>
>> >> Thanks in advance for your time and help.
>> >>
>> >>
>> >> Kind regards,
>> >>
>> >>
>> >>
>> >>
>> >> Mahomed Hussein
>> >> Senior NOC Engineer
>> >>
>> >> P.S. We are finalists for Data Centre Colocation Supplier of the year, please help us to win and VOTE for us here
>> >>
>> >> Tel: +44 (0)1622 230382
>> >>
>> >> | Email: Mahomed(a)CustodianDC.com
> _______________________________________________
> 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
This is brilliant and just what I needed. Thank you very much!
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 03 April 2015 11:37
To: XWiki Users
Subject: Re: [xwiki-users] Advice on upgrade and testing
On Wed, Apr 1, 2015 at 12:50 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
> On Wed, Apr 1, 2015 at 11:35 AM, Mahomed Hussein
> <Mahomed(a)custodiandc.com> wrote:
>> Hi
>>
>> I wonder if anyone could be kind enough to provide me with some advice and pointers. I’ve noticed that XWiki runs its distribution upgrade wizard automatically when a new version is detected, but even though I pressed “Later” it still went ahead and upgraded. Or at least it appeared to have upgraded part of the system as the core version at the bottom showed 6.4.3 when the extensions etc. were still for 6.4.2. We started with 6.4.2 (installed using apt-get on Ubuntu 14.04). So, to summarise my questions:
>>
>>
>> · How do I stop Xwiki from automatically upgrading. I just want it to notify me then I can plan the upgrade
>
> You are mixing two different things. The upgrade wizard is only about
> part of XWiki (the standard wiki pages) and it's been triggered
> because you upgraded the WAR probably using apt-get upgrade. If you
> don't want XWiki to be upgraded by apt-get you need to look at apt-get
> configuration.
> As far as I know you can indicate a list of packages to
> not be taken into account automatically by apt-get upgrade.
I successfully 'blocked' upgrades for XWiki by creating the file
/etc/apt/preferences.d/xwiki
with this content:
Package: xwiki-*
Pin: version 6.2.7
Pin-Priority: 1001
See https://help.ubuntu.com/community/PinningHowto
Hope this helps,
Marius
>
>>
>> · How do you perform a controlled upgrade and test (I appreciate that this is a rather in-depth question)? What I need to be able to do is to do an upgrade and then be able to fairly easily test that the new version doesn’t break any of our documents or functionality that we depend on. Would the only way to do this be to keep a list of my changes and check them with every upgrade?
>
> The safest for this is usually to have a test server which is a clone
> of the production server on which you do the upgrade and test it
> before doing it on the production server.
>
>>
>> Thanks in advance for your time and help.
>>
>>
>> Kind regards,
>>
>>
>>
>>
>> Mahomed Hussein
>> Senior NOC Engineer
>>
>> P.S. We are finalists for Data Centre Colocation Supplier of the year, please help us to win and VOTE<http://www.dcsawards.com/voting.php> for us here<http://www.dcsawards.com/voting.php>
>>
>> Tel: +44 (0)1622 230382
>>
>> | Email: Mahomed(a)CustodianDC.com
>>
>>
>> | Web: www.CustodianDC.com<http://www.CustodianDC.com>
>>
>>
>> | Info: info.CustodianDC.com<http://info.CustodianDC.com>
>>
>>
>> [Custodian Data Centres]<http://www.CustodianDC.com>
>> [ISO 27001 IS:567248]
>>
>> Click to VOTE<http://www.dcsawards.com/voting.php> for Custodian! [DCS Awards Finalist]
>>
>>
>> [Like us on Facebook!][Follow us on Twitter][See us on YouTube!]
>> [Link to us!][Google Plus!]
>>
>>
>> Click here to view our email disclaimer<http://www.custodiandc.com/disclaimer.txt>
>> Registered Office: Maidstone TV Studios, Vinters Park, Maidstone, Kent ME14 5NZ. Company Number: 07878023
>>
>>
>>
>>
>> _______________________________________________
>> 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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi
I wonder if anyone could be kind enough to provide me with some advice and pointers. I’ve noticed that XWiki runs its distribution upgrade wizard automatically when a new version is detected, but even though I pressed “Later” it still went ahead and upgraded. Or at least it appeared to have upgraded part of the system as the core version at the bottom showed 6.4.3 when the extensions etc. were still for 6.4.2. We started with 6.4.2 (installed using apt-get on Ubuntu 14.04). So, to summarise my questions:
· How do I stop Xwiki from automatically upgrading. I just want it to notify me then I can plan the upgrade
· How do you perform a controlled upgrade and test (I appreciate that this is a rather in-depth question)? What I need to be able to do is to do an upgrade and then be able to fairly easily test that the new version doesn’t break any of our documents or functionality that we depend on. Would the only way to do this be to keep a list of my changes and check them with every upgrade?
Thanks in advance for your time and help.
Kind regards,
Mahomed Hussein
Senior NOC Engineer
P.S. We are finalists for Data Centre Colocation Supplier of the year, please help us to win and VOTE<http://www.dcsawards.com/voting.php> for us here<http://www.dcsawards.com/voting.php>
Tel: +44 (0)1622 230382
| Email: Mahomed(a)CustodianDC.com
| Web: www.CustodianDC.com<http://www.CustodianDC.com>
| Info: info.CustodianDC.com<http://info.CustodianDC.com>
[Custodian Data Centres]<http://www.CustodianDC.com>
[ISO 27001 IS:567248]
Click to VOTE<http://www.dcsawards.com/voting.php> for Custodian! [DCS Awards Finalist]
[Like us on Facebook!][Follow us on Twitter][See us on YouTube!]
[Link to us!][Google Plus!]
Click here to view our email disclaimer<http://www.custodiandc.com/disclaimer.txt>
Registered Office: Maidstone TV Studios, Vinters Park, Maidstone, Kent ME14 5NZ. Company Number: 07878023
Hi all,
since I wanted to better understand how Docker works, as an evening
project I created a Dockerfile for packaging an image that can be used
to run an XWiki container.
It also supports data persistence, so that you don't lose your data
when you shut down the container.
You can find it here: https://github.com/fmancinelli/docker-xwiki
Enjoy,
Fabio
Hi,
I have changed the skin of my xwiki(6.4.3) installation from calibri to
flamingo. When I refreshed the page there were some errors. On some buttons
the icons were drawn multiple, see the picture in the attachment.
I tired to update to the latest stable xwiki version (7.0) but nothing
changed.
Could anybody help me please?
Thanks,
Georg
Hello,
I have a Class with multiple properties. In my velocity script I can loop over all properties to get their name and pretty name.
I have some properties with "Database List" type and I want to get:
- especially XWiki Class Name
- Id Field Name
- and Value Field Name
Is it possible?
I didn't found documentation section.
Thxs
Pascal BASTIEN
Je serai absent(e) à partir du 03/04/2015 de retour le 07/04/2015.
je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
Hello there,
I am maybe asking a stupid question, but I am the administrator of an old xwiki that have to be updated.
My current users has done lots of documentation on this xWiki, and we would like to find a way to explode some parts of our xwiki without using too mutch the rights systems.
The fact :
- We are a software development company and we put allmost everything on the xwiki
- Some of our customers has right to see "customer's" pages uppon rights they currently have
- I (maybe I am not really up to date with xwiki) cannot figure what pages can be accesseed by each users (if someone can tell me how to find that I will be pleased to pay him/her a pint of Guinness).
- We are on xwiki 2.1.1 and all trys to upgrade to 6.x have fail on randoms parts (mostly rights that has been exploded, eg. everybody can see anything), or some pages being broken (people that hack too mutch groovy, they should not).
So to avoid issues with rights, we have an idea to split our xwiki into 2 servers :
- one for internal, if this too mutch rights this is not an issue
- one for external users (customers !), with only the pages that should be online for users, with reset of user's list and clean rights management.
Now I want to find a way to automaticaly sync some spaces between our master xwiki and some slave xwiki... Any good pointers?
Regards,
Xavier
--
Xavier Beaudouin - Senior Network and System Administrator
Infrastructure and network director
Horizon Software - http://www.hsoftware.com/
13 rue La Fayette - 75009 PARIS - France
Phone: +33 (0)1 4260 9490 Fax: +33 (0)1 44 56 97 01
Hello!
I'm having difficulties setting up a tree for my wiki. I'm using
DocumntTree. The tree starts off with the only space (Revit Mechanical) and
not open node to show the pages. I believe I have syntax errors but can't
quite fix it
Code:
{{documentTree showWikis="true" showSpaces="true" showTranslations="false"
showAttachments="false" showChildDocuments="true"
root="space:xwiki:Revit Mechanical" openTo="space:xwiki:Revit Mechanical"/}}
Here is a screenshot of how it opens up:
<http://xwiki.475771.n2.nabble.com/file/n7594472/DocumentTree.png>
Here is how I want it to open up:
<http://xwiki.475771.n2.nabble.com/file/n7594472/TreeCorrect.png>
Sorry for asking so many questions, I'm not good at this.
Regards,
Michael
--
View this message in context: http://xwiki.475771.n2.nabble.com/DocumentTree-doesn-t-open-to-a-node-tp759…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello!
I'm using xwiki 6.3 version and I can't update it. I created a panel display
tree (using documentTree) on the left of my wiki pages to display the
content with opening/closing branches and links to the pages on click.
However the order of the tree is messed up because it uses some kind of
sorting. I would like to change the order to my liking.
Some things that I already did:
-I've tried using File Manager and few other extensions but it doesn't
display anything or doesn't have some dependencies. I'm guessing it is
because of the old version I have.
-Also tried Hierarchy Macro with editing option but it seems to not move
anything.
-Lastly I've tried to edit some of the macros, ended up screwing all of the
macros and had to restore the wiki with backup.
I'm guessing there is a way to hard code all of this but that's the last
option I want to take because every time a new page is added I would have to
edit the tree.
Regards,
Michael
--
View this message in context: http://xwiki.475771.n2.nabble.com/Editing-pages-and-index-view-tp7594388.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of XWiki
7.0.
This is the first release of the 7.x cycle. It features many improvements
for extensions, a simplified Wiki Creation Wizard, improved differences
view, integration of a new Tree Widget with the WYSIWYG editor and Index
Application, etc.
Regarding extensions, we now have the ability to organize and filter
extensions by category in the Extension Repository, the install date and
the user that performed the install are now available in the extension
details, the extensions that were installed explicitly are now displayed
distinctly, etc.
We improved the difference views for document history and extension upgrade
process, by showing a difference summary between the two versions, detailed
changes to objects definitions, etc.
Developers may enjoy a new application to edit wiki Skins, a new Finder
Plugin for the Tree Widget and API improvements to the Mail Sender and
Extension Manager modules.
The Watchlist module has a new component based implementation and also
there is an experimental Realtime Watchlist Notification feature.
XWiki also moved to Servlet 3.0.1 which means various old application
servers versions are not supported anymore and the old Lucene search module
was finally retired to Contrib.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70
Thanks
-The XWiki dev team
If I understand documentation, to use Livetable with multiple Class (with 3 or 4 common properties: same name) I must use
Parameter $options:
resultPage The full name of the page to use as a JSON data provider for the table. This option allows to use a different data source than the default one (XWiki.LiveTableResults) for specific needs not handled by LiveTableResults (for example: complex cross-classes queries, external data retrieved with a groovy script, etc.).
with an HQL query like this one (for 2 class: FormSMQ.EAClass and FormSMQ.PiacJ2Class ):
#set($hqlstatement=", BaseObject as obj where (doc.fullName = obj.name and obj.className = 'FormSMQ.EAClass') or (doc.fullName = obj.name and obj.className = 'FormSMQ.PiacJ2Class')")
$services.query.hql($hqlstatement).execute()
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module)
My query list all documents with my 2 Class. To provide JSON source of LiveTable, I must displayed all my column.
Can I do it with query in one (or two) shots or I must use a foreach loop to rendering my JSON data?
Thxs
--------------------------------------------
En date de : Mer 25.2.15, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
Objet: [xwiki-users] livetable with multiple class?
À: "XWiki Users" <users(a)xwiki.org>
Date: Mercredi 25 février 2015, 16h20
Hello,
Livetable is somehow magic but ... (there are always a
'but') is it possible to use multiple Class?
I read XWiki.LiveTableResultsMacros
"#macro(gridresultwithfilter_buildQuery $className ...
#set($class =
$xwiki.getDocument($className).getxWikiClass())"
=> livetable use getxWikiClass method (and not
getxWikiClasses :-( )
Here my problem in my nice xwiki 6.4.0 application:
I created some Class/Sheet/Template with 2 common
properties/field: I mean on each document Class I created
this common property (same name, same source): this one by
example
- Name:P1_DgMoa_req Type: Database List
- XWiki Class Name: FormSMQ.ListeDGClass
- Id Field: Name DGId
- Value Field: Name DGLib
On my WebHome I paste this livetable:
#set ($columnsProperties = {
'TypeFiche_RO': {"type":"list","size":10},
'P1_DgMoa_req': {"type":"list","size":10},
'doc.name': {"type":"text","size":10,"link":"view"},
'doc.date': {"type":"text","size":10},
'doc.creator':
{"type":"text","size":10,"link":"creator"},
'_actions':
{"sortable":false,"filterable":false,"html":true,"actions":["edit"]}
})
#set ($options = {
'className': 'MySpace.MyClass',
'translationPrefix' : 'FormSMQ.livetable.',
'tagCloud': true,
'rowCount': 15,
'maxPages': 10,
'selectedColumn': 'doc.name',
'defaultOrder': 'asc',
'extraParams': "&space=${doc.space}"
})
With one class ( 'className': 'MySpace.MyClass',) my
livetable work perfectly but display only documents 'linked'
with this class (doc with 'MySpace.MyClass' object)
If I use 'className': '' (empty), livetable show all
document on the space but my select list are not filled.
I tried 'TypeFiche_RO':
{"type":"list","size":10,'class': 'MySpace.MyClass' } with
empty 'classname', but if I select a value in my select
list, only document 'linked' with this class are
displayed.
I tried topFilters options (HTML fragment
that will be placed in a "top filter" area in the same
fashion as the Tag Cloud filter) 'topFilters': '<input
type="text" size="15" name="doc.name" value="">', but no
document will displayed. I didn't managed either (I don't
know how to choose the field who is filtered by the new
input tag)
I don't know if someone understand my problem ( livetable
with multiple class source), but every magics tricks are
welcome to help me.
Thxs.
Pascal B
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
I have just upgraded our xWiki from 6.4.2 to 6.4.3 and noticed a change in
how group rights are handled. We have a main wiki with 6 subwikis. All
users are members of the main wiki. In order to allow users rights to a
subwiki, we add them into a group in the main wiki and then give that group
access on the subwiki. This worked great in 6.4.2, however with the upgrade
to 6.4.3, we get the following error when a user logs into a subwiki, even
though the user is in a group that has access to the subwiki.
(I have truncated the error message since it is long, but if you need more
of it I can include it)
Failed to execute the [include] macro. Click on this message for details.
org.xwiki.rendering.macro.MacroExecutionException: Current user
[xwiki:XWiki.TestUser] doesn't have view rights on document
[test:WikiManager.Dashboard]
at
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro
.java:151)
at
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro
.java:55)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transf
orm(MacroTransformation.java:252)
at
org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transfor
mInContext(DefaultRenderingContext.java:183)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.per
formTransformations(DefaultTransformationManager.java:94)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentD
isplayer.java:252)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentD
isplayer.java:125)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentD
isplayer.java:55)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentD
isplayer.java:96)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentD
isplayer.java:39)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplay
er.java:113).
Attempting to access a page within the subwiki gives this error:
Error
You are not allowed to view this document or perform this action.
Is the use of groups to give access to subwikis no longer allowed, or is
this an issue with 6.4.3? In our test environment, I took our 6.4.3 XWiki
and switched back to the 6.4.2 deployment and things worked as expected,
however that really isn't an option as all of the extensions have been
upgraded to 6.4.3.
If this isn't an issue with 6.4.3, then what is the best way to handle
delegating rights for users in our setup?
Thanks!
Charlie
---------- Forwarded message ----------
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Date: Wed, Mar 25, 2015 at 10:49 AM
Subject: Re: Fw : [xwiki-users] Fw : Re: ajax example
To: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
On Tue, Mar 24, 2015 at 7:34 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
>
>> > For step 1: Don't print
>> > the JSON directly. You'll have escaping
>> > issues. In order to ensure the generated JSON
>> > is valid you should
>> > build the JSON in memory
>> > (using Velocity/Java maps, arrays and basic
>> > types) and then serialize it:
>> >
>> > $jsontool.serialize({
>> > "greeting": "Hello",
>> > "location": "World"
>> > })
>>
>> I agree but one* purpose was to use Vincent example on
>> this page: http://extensions.xwiki.org/xwiki/bin/view/Extension/Output+JSON
>> Perhaps we (who?) need to modify both pages?
>
> Anyway, do you prefer this code?
>
> {{velocity wiki="false"}}
> ## If AJAX call
> #if("$!request.outputSyntax" != '')
> $response.setContentType('application/json')
> #end
> #set($MyJsonData = {'greeting': 'Hello', 'location': 'World'})
> $jsontool.serialize($MyJsonData)
>
> {{/velocity}}
Definitely.
Thanks,
Marius
>
>
>>
>>
>> >
>> > For step 4:
>> > Don't hard-code the page URL and use the 'get'
>> > action
>> > instead of 'view' to avoid
>> > adding view statistics entries.
>> >
>> > var url = new
>> > XWiki.Document('JsonHello',
>> > 'Sandbox').getURL('get');
>>
>> Thxs I was too lazy to take too long time to find JS
>> function. :-)
>>
>> >
>> > Also, to avoid the need to
>> > URL-encode the request parameters you
>> > should
>> > pass them using an object not a string.
>> >
>> > var params = {
>> >
>> > 'xpage': 'plain',
>> >
>> > 'outputSyntax': 'plain'
>> > };
>> > $.get(url, params,
>> > function(data) {
>> > ...
>> > });
>>
>> Yes thxs you
>> => I uploaded/update my page
>>
>> (The worst is that I hate JS) :-)
>>
>>
>>
>> Pascal B
>>
>> >
>> > Hope this
>> > helps,
>> > Marius
>> >
>> >
>> > On Fri, Mar 20, 2015 at 8:26 PM, Pascal BASTIEN
>> > <pbasnews-xwiki(a)yahoo.fr>
>> > wrote:
>> > > Hello,
>> > >
>> > > Here, I provided an simple Ajax example to
>> > use in xwiki application:
>> > > http://extensions.xwiki.org/xwiki/bin/view/Extension/AJAX+example#Attachmen…
>> > > This mail on this list to validate that
>> > what I wrote is the best way (like suggest Vincent)
>> > >
>> > > Thxs.
>> > >
>> > > Pascal
>> > BASTIEN
>> > >
>> > >
>> > _______________________________________________
>> > > 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
> > Do you mean $xwiki.activitystream. API is
> broken?
>
> I don't
> remember talking about the activity stream API :) I
probably because you didn't talk about it :-))
> don't
> really know it well enough to give
> advices on it.
Finally, I used another method who's working like I want:
{{velocity}}
#set ($MonStream=$xwiki.activitystream.getStreamName("Sandbox"))
##foreach ($MonEvent in $xwiki.activitystream.getEventsForUser("XWiki.Admin", false, 1500, 0))
#foreach ($MonEvent in $xwiki.activitystream.getEvents($MonStream, false, 1500, 0))
1. $MonEvent.getPage() - $MonEvent.getDisplayDate() - $MonEvent.getDate() - $MonEvent.getType() - $MonEvent.getPriority()
#if ($MonEvent.getPage() == "Sandbox.test3")
* Je supprime l'event
$xwiki.activitystream.deleteActivityEvent($MonEvent)
#end
#end
{{/velocity}}
Like I chatted with Vincent I know groovy is powerfull (except the fact that "With great power comes great responsibility" ;-) ), full example application in groovy missing (because required PR) and templates contains tons of nice velocity code. :-)
Thxs for your help / works :-)
> > For step 1: Don't print
> > the JSON directly. You'll have escaping
> > issues. In order to ensure the generated JSON
> > is valid you should
> > build the JSON in memory
> > (using Velocity/Java maps, arrays and basic
> > types) and then serialize it:
> >
> > $jsontool.serialize({
> > "greeting": "Hello",
> > "location": "World"
> > })
>
> I agree but one* purpose was to use Vincent example on
> this page: http://extensions.xwiki.org/xwiki/bin/view/Extension/Output+JSON
> Perhaps we (who?) need to modify both pages?
Anyway, do you prefer this code?
{{velocity wiki="false"}}
## If AJAX call
#if("$!request.outputSyntax" != '')
$response.setContentType('application/json')
#end
#set($MyJsonData = {'greeting': 'Hello', 'location': 'World'})
$jsontool.serialize($MyJsonData)
{{/velocity}}
>
>
> >
> > For step 4:
> > Don't hard-code the page URL and use the 'get'
> > action
> > instead of 'view' to avoid
> > adding view statistics entries.
> >
> > var url = new
> > XWiki.Document('JsonHello',
> > 'Sandbox').getURL('get');
>
> Thxs I was too lazy to take too long time to find JS
> function. :-)
>
> >
> > Also, to avoid the need to
> > URL-encode the request parameters you
> > should
> > pass them using an object not a string.
> >
> > var params = {
> >
> > 'xpage': 'plain',
> >
> > 'outputSyntax': 'plain'
> > };
> > $.get(url, params,
> > function(data) {
> > ...
> > });
>
> Yes thxs you
> => I uploaded/update my page
>
> (The worst is that I hate JS) :-)
>
>
>
> Pascal B
>
> >
> > Hope this
> > helps,
> > Marius
> >
> >
> > On Fri, Mar 20, 2015 at 8:26 PM, Pascal BASTIEN
> > <pbasnews-xwiki(a)yahoo.fr>
> > wrote:
> > > Hello,
> > >
> > > Here, I provided an simple Ajax example to
> > use in xwiki application:
> > > http://extensions.xwiki.org/xwiki/bin/view/Extension/AJAX+example#Attachmen…
> > > This mail on this list to validate that
> > what I wrote is the best way (like suggest Vincent)
> > >
> > > Thxs.
> > >
> > > Pascal
> > BASTIEN
> > >
> > >
> > _______________________________________________
> > > 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
> Some comments:
Thxs
>
> For step 1: Don't print
> the JSON directly. You'll have escaping
> issues. In order to ensure the generated JSON
> is valid you should
> build the JSON in memory
> (using Velocity/Java maps, arrays and basic
> types) and then serialize it:
>
> $jsontool.serialize({
> "greeting": "Hello",
> "location": "World"
> })
I agree but the purpose was to use Vincent example on this page: http://extensions.xwiki.org/xwiki/bin/view/Extension/Output+JSON
Perhaps we (who?) need to modify both pages?
>
> For step 4:
> Don't hard-code the page URL and use the 'get'
> action
> instead of 'view' to avoid
> adding view statistics entries.
>
> var url = new
> XWiki.Document('JsonHello',
> 'Sandbox').getURL('get');
Thxs I was too lazy to take too long time to find JS function. :-)
>
> Also, to avoid the need to
> URL-encode the request parameters you
> should
> pass them using an object not a string.
>
> var params = {
>
> 'xpage': 'plain',
>
> 'outputSyntax': 'plain'
> };
> $.get(url, params,
> function(data) {
> ...
> });
Yes thxs you
=> I uploaded/update my page
(The worst is that I hate JS) :-)
Pascal B
>
> Hope this
> helps,
> Marius
>
>
> On Fri, Mar 20, 2015 at 8:26 PM, Pascal BASTIEN
> <pbasnews-xwiki(a)yahoo.fr>
> wrote:
> > Hello,
> >
> > Here, I provided an simple Ajax example to
> use in xwiki application:
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/AJAX+example#Attachmen…
> > This mail on this list to validate that
> what I wrote is the best way (like suggest Vincent)
> >
> > Thxs.
> >
> > Pascal
> BASTIEN
> >
> >
> _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
Hello,
A user want to rename lot of page in Xwiki and I don't want this op displayed on WebHome Activity Stream.
Then, I found these API to use:
http://tiny.cc/2fb0vx
public void deleteActivityEvent(ActivityEvent event)
Delete the passed event form the database.
and
http://tiny.cc/gkb0vx
public List<ActivityEvent> getEventsForUser(String streamName,
String user,
boolean filter,
int nb,
int start)
throws ActivityStreamException
Return the latest events recorded for the given stream name and the given user.
Unfortunaly, my code return only old activity events (probably some old events before my Xwiki upgrade ... I guess?). I obtain this
XWiki.MyUser - 2014/09/24 13:27 - 2014-09-24 13:27:44.0 - update - 20
MySpace.MyPage - 2014/09/22 17:14 - 2014-09-22 17:14:17.0 - deleteAttachment - 20
BacASable.Tableau filtré - 2014/09/19 15:37 - 2014-09-19 15:37:31.0 - update - 20
Here my code:
{{velocity}}
#set ($MonStream=$xwiki.activitystream.getStreamName("Encyclopédie"))
#foreach ($MonEvent in $xwiki.activitystream.getEventsForUser($MonStream, "XWiki.christianchambon", false, 1500, 0))
1. $MonEvent.getPage() - $MonEvent.getDisplayDate() - $MonEvent.getDate() - $MonEvent.getType() - $MonEvent.getPriority()
#end
{{/velocity}}
With this, it is the same thing :#foreach ($MonEvent in $xwiki.activitystream.getEventsForUser("XWiki.christianchambon", false, 1500, 0)): only old events :-(
Activity stream working well on my Xwiki WebHome
Thxs for any helps
Pascal B
The XWiki development team is proud to announce the availability of
XWiki 7.0 Release Candidate 1.
The version is mostly about stabilization before 7.0 final. It
contains diff UI improvements, Extension Repository improvements, a
new component based watchlist module, a new application to edit wiki
skins. XWiki also moved to Servlet 3.0.1 which means various old
application servers versions are not supported anymore.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70RC1
Thanks
-The XWiki dev team
I would like to create a Javascript application in XWiki.
My precise goal is to go get some content from Jenkins (build status)
and render it over a static image using d3.js or any other rich
rendering framework.
I suppose the only way to implement that is to write my webpage as HTML.
But, then, how will I use external frameworks ? (typically d3.js)
Thanks
--
Nicolas Delsaux
Hi,
I'm in organization where we have 3 unsynchronized wikis, implemented
using the software named in subject (ie JSPWiki/DokuWiki/mediawiki).
I would like to merge their content in one unique wiki, obviously
implemented using XWiki (due to the excellent interview Vincent Massol
and Ludovic Dubost gave to the castcodeurs podcast).
I have seen there are extensions to have content of those legacy wiki
imported into XWiki.
However, i'm not sure I understand how they work.
1 - JSPWiki to XWiki
There seems to be an old (?) extension at
http://extensions.xwiki.org/xwiki/bin/view/Extension/JSPWiki+To+XWiki+Conve…,
documented by Vincent Massol. From what I understand, the Java code in
this extension has to be compiled independently, and run as a
stand-alone program on the machine hosting the JSPWiki server. It will
generate a XAR that can be injected into XWiki. Am I right ? If so, it
is hardly an extension of XWiki, but rather a companion program (but I'm
nitpicking). However, as a stand-alone program, isn't it available as an
executable JAR somewhere ?
2 - Dokuwiki to XWiki
This time, it's a valid XWiki extension :
http://extensions.xwiki.org/xwiki/bin/view/Extension/Import+DokuWiki+into+X…
which is easily installable using Extension manager (cool !). However, I
wonder how it will work with XWiki 6.4.2 ...
3 - mediawiki to XWiki
This time ... it seems like there is no extension. or is it ?
bonus - xwiki-OLD to xwiki
We also have some content in an old (5.0.1) version of XWiki. How do I
migrate ?
Conclusion - cheers
I must confess I had never tried before XWiki, and my first impression
is that it's a robust and perfectly usable wiki solution. The XWiki team
did a really impressive work.
--
Nicolas Delsaux
Hello,
we are a groupe of four students and we are actually working on a XWiki
extension.
This extension will be a modern photo gallery which allows users to
organise and publish photos.
For now, our planned features are the followings:
-Thumbnails display
-Responsive display
-Autoplay (diaporama)
-Nice transitions
-Intuitive configuration page included drag and drop function to upload
images
Do you have another ideas or suggestions to improve our extension ?
Thank you in advance.
Best regards,
CRAY team
According to XWiki documentation, "all non Velocity scripting languages
are only allowed to be used by sers having the programming rights".
Does it means a groovy macro can only be used if I have the programming
role ?
If so, is it possible to have all users granted those rights automatically ?
--
Nicolas Delsaux
Hi
On that same tab you are looking at (Base colors) scroll down and change the value for @headings-color. This will allow you to change all the titles and headings. I hope that helps.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of MishaK
Sent: 13 March 2015 14:45
To: users(a)xwiki.org
Subject: Re: [xwiki-users] Globally changing font, headers and title in XWiki
Okay, I changed the font thank you for that!
I don't know how to change the default *Title *and *Headings* colour.
I can only see colour modification for all text, backgrounds and so on.
Here is a picture:
<http://xwiki.475771.n2.nabble.com/file/n7594315/Color_Theme.png>
--
View this message in context: http://xwiki.475771.n2.nabble.com/Globally-changing-font-headers-and-title-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
I am looking for a solution for the following situation.
I have 2 wiki's. The fist one (ref: MD) contains "Master Data". The
second one (ref: UD) contains "User Data". I have Classes in UD that use
data from the MD. The way to connect them is using DBList. I am however
not able to compose a HQL query that enables me to select a different
Wiki to run the query on. I know it is possible to select the Wiki in
Velocity but until now, that didn't help me. In the Github code (the
getDBList method in the DBListClass.java) a comment is included just
before a statement:
// The DBlist may come from an other wiki
StringwikiName =getReference().extractReference(EntityType.WIKI).getName();
This might indicate that selecting a wiki might be an option when
getting a DBList.
Anybody knows how to solve this problem (without replicating the data
from MD in UD ;-))? Any additional suggestions are welcome.
Thanks,
Peter
Looks like I'm keeping the mailing list server busy today :)
I have managed to hide the Admin rights/objects/classes part of the edit button by modifying line 9 of menus_content.vm (and attached it to my custom skin)
Changed it from:
#if($isAdvancedUser)
To:
#if($isAdvancedUser && $hasAdmin)
Now I just need to work-out how to remove that from the document index and if the user tries to go to the link directly.
I also need to then workout how to stop advanced users from being able to create their own skins.
Hmmm. Time to take a break I think.
Kind regards,
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 14 March 2015 16:57
To: XWiki Users
Subject: [xwiki-users] Restrict Access Rights to Admin Users only
Hi
I have been doing a bit more reading and digging as I was hoping to be able to solve this in the skin but I've come across two issues
1) This doesn't appear to be implemented in the skin
2) It appears end users can create their own skins so doing it in the skin is not the right way.
I've come across this link but there doesn't appear to be a definitive solution in it - http://xwiki.475771.n2.nabble.com/Access-rights-management-bug-td6803183.ht…
I have done the following test:
1. TestDoc created in TestSpace by User1
2. User2 only has read and comment rights in TestSpace. Confirmed User2 cannot edit document or change rights.
3. User2 is given read, comment and edit rights in TestSpace
4. User2 refreshes TestDoc and now can edit the document.
5. User2 looks at TestSpace document index and sees that he cannot delete the document.
6. User2 edits access rights for TestDoc and gives himself delete permission on the document
7. User2 refreshes TestSpace document index and he now can delete TestDoc.
Am I the only one who sees this as a problem?
Read/Write/Modify should not allow you to then change permissions on the document. Is there any robust way without having to write Java to fix it? I'm afraid my skills fall short of Java editing.
Kind regards,
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 14 March 2015 15:07
To: XWiki Users
Subject: [xwiki-users] Restrict Access Rights to Admin Users only
Hi
I’ve noticed that users with edit permissions can also modify access rights on any document. Ideally what we need is that only users with Admin rights can modify document Access Rights in their space. The reason for this is that we only want to allow department heads to be able to make a document visible to other users/spaces, but we want everyone to be able to contribute to the articles.
I am slowly trying to learn the power of XWiki and am loving it so far. Any help with this would be greatly appreciated. Thanks in advance for your time.
Kind regards,
Mahomed
_______________________________________________
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 have been doing a bit more reading and digging as I was hoping to be able to solve this in the skin but I've come across two issues
1) This doesn't appear to be implemented in the skin
2) It appears end users can create their own skins so doing it in the skin is not the right way.
I've come across this link but there doesn't appear to be a definitive solution in it - http://xwiki.475771.n2.nabble.com/Access-rights-management-bug-td6803183.ht…
I have done the following test:
1. TestDoc created in TestSpace by User1
2. User2 only has read and comment rights in TestSpace. Confirmed User2 cannot edit document or change rights.
3. User2 is given read, comment and edit rights in TestSpace
4. User2 refreshes TestDoc and now can edit the document.
5. User2 looks at TestSpace document index and sees that he cannot delete the document.
6. User2 edits access rights for TestDoc and gives himself delete permission on the document
7. User2 refreshes TestSpace document index and he now can delete TestDoc.
Am I the only one who sees this as a problem?
Read/Write/Modify should not allow you to then change permissions on the document. Is there any robust way without having to write Java to fix it? I'm afraid my skills fall short of Java editing.
Kind regards,
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 14 March 2015 15:07
To: XWiki Users
Subject: [xwiki-users] Restrict Access Rights to Admin Users only
Hi
I’ve noticed that users with edit permissions can also modify access rights on any document. Ideally what we need is that only users with Admin rights can modify document Access Rights in their space. The reason for this is that we only want to allow department heads to be able to make a document visible to other users/spaces, but we want everyone to be able to contribute to the articles.
I am slowly trying to learn the power of XWiki and am loving it so far. Any help with this would be greatly appreciated. Thanks in advance for your time.
Kind regards,
Mahomed
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi
I’ve noticed that users with edit permissions can also modify access rights on any document. Ideally what we need is that only users with Admin rights can modify document Access Rights in their space. The reason for this is that we only want to allow department heads to be able to make a document visible to other users/spaces, but we want everyone to be able to contribute to the articles.
I am slowly trying to learn the power of XWiki and am loving it so far. Any help with this would be greatly appreciated. Thanks in advance for your time.
Kind regards,
Mahomed
Sorry I thought I was subscribed remade the post
Hello,
I'm using flamingo skin for my xwiki. Trying to make change my default font,
as well as header and title colour so it effects every space and page on
Wiki. I have tried to find this in administrator settings on wiki but no
luck.
Looked up the guides and found a way to change it through file system but I
don't have access to that.
Can I do my task through online xwiki? If there is a way to do this with
classes, can you please explain how? There are lose extensions and
application maybe those can help?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Globally-changing-font-headers-and-title-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All
Just a brief update. Our XWiki has been running fine for the last few days with at least 3 people using it. Hopefully it stays that way.
One thing I noticed is that it just "magically" started responding faster the next day. The other thing that I found was that I had missed out configuring the dns servers when I configured the static IP (it was a long day). So it is quite possible that the background process that Marius suggested may have had something to do with a site lookup or name resolution or update (this is purely speculation on my part - but hopefully it helps someone).
Thanks again for this great system. Lots to learn still :)
Kind regards,
-----Original Message-----
From: Mahomed Hussein
Sent: 10 March 2015 16:42
To: XWiki Users
Subject: [nosig] RE: [xwiki-users] Performance Frustrations
Hi
Thanks for the responses. Page you mention below just loaded a blank page (I assume that's the intention). CPU jumped to about 80% for that one request.
That being said, performance has been a bit better today for some reason. There are a couple of extra tweaks I did this morning were:
1. Limited the activity plugin on the dashboard to only show the last 10 changes with 2 changes.
2. Disabled the image for one of the user's avatar.
I have been happily adding documents today and it has been fairly acceptable. But that's just one active user. We'll see how it behaves when it has 10 users on at the same time. I might come back with more questions.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 10 March 2015 09:47
To: XWiki Users
Subject: Re: [xwiki-users] Performance Frustrations
I would also check the speed of retrieving a simple/plain wiki page
without the surrounding UI elements:
/xwiki/bin/get/Space/Page
If this is still slow then the reason must be a background task as
Thomas suggested. If it's fast then it means some of the UI elements
slow down the view mode. It may be a panel for instance.
Hope this helps,
Marius
On Tue, Mar 10, 2015 at 10:47 AM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
> Would need more detail on what exactly you call a simple page, you
> should create a new page with empty content. Is the proc OK when
> nobody access XWiki, if not it might mean you have some bakground task
> running and slowing down the instance (a few things I can think of are
> SOLR indexing, Watchlist generating a mail when there is a lot of
> users, first login when you use LDAP with a lots if groups/users, some
> other extension you would have installed) ?
>
> I guess you looked at other stuff in
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances. If
> you are using MySQL and have some unused memory one other thing I
> notice that can improve a lot the performances is tweak a bit MySQL
> configuration and especially things like innodb_buffer_pool_size which
> can more or less make MySQL behave like a in-memory database if big
> enough (and there is probably many other things but I'm not so much of
> a MySQL expert).
>
> On Mon, Mar 9, 2015 at 11:31 PM, Mahomed Hussein
> <Mahomed(a)custodiandc.com> wrote:
>> Hi
>>
>> We were chugging along quite happily with XWiki then we started to notice a slowdown. Simple pages (like the space webhome page) were taking 3 – 4 seconds to load. This is with only 1 user testing it and about 5 articles in the whole system. Using htop, we can see that the tomcat process are being created and the CPU is going to over 150% - 400% (total across several cores). I have tried modifying the JAVA_OPTS in /etc/default/tomcat7 with little to no effect what so ever. I have tried googling it and almost everyone says to change those options and I’ve tried basing it on the recommendation in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory and my current line reads:
>>
>> JAVA_OPTS="-Djava.awt.headless=true -Xmx800m -XX:MaxPermSize=196m -XX:+UseConcMarkSweepGC"
>>
>> We are running XWiki 6.4.2
>> xwiki-enterprise-tomcat7-mysql package installed using apt-get.
>> OS: Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-46-generic x86_64)
>> RAM: 4096
>> vCPU: 12
>> Hypervisor: Hyper-v
>>
>> There aren’t any IO or memory issues that we can see. I don’t see any immediate errors in the logs either.
>>
>> To be honest the high CPU isn’t that much of an issue. The problem is that it’s using high CPU and STILL has slow performance. If I compare the response of loading a 75 line article to loading http://extensions.xwiki.org/xwiki/bin/view/ExtensionCode/ExtensionSearch?sp…, the extension page loads about 3 times faster (not scientifically accurate timing but it’s different enough to notice consistently).
>>
>> Any help would be greatly appreciated because no matter how great XWiki is, if I can’t get it to perform quickly enough, users will avoid using it.
>>
>> Thanks again for your time and any help.
>>
>>
>> Kind regards,
>>
>> Mahomed
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
I am starting up Xwiki 6.4.2 in JBoss EAP 6.3 (running jdk1.7.0_51_x64).
During startup I get below stacktrace in the server.log. I grepped through
all jar files in the WEB-INF/lib directory but cannot find a class by that
name. Infact, sisu-guice-3.2.4-no_aop.jar contains the com.google.inject
package, but only the subpackages binder, internal, matcher, name, spi and
util. The "servlet" subpackage is absent but appears to be required.
The application doesn't complain any further. It creates its database
tables and I can launch the Distribution Wizard (though that gives me a
different kind of issue as per my other mail).
What can I do to make my Xwiki install happy?
2015-03-12 18:56:21,287 -0500 WARN [org.jboss.modules] (ServerService
Thread Pool -- 61) Failed to define class
org.eclipse.sisu.inject.DefaultRankingFunction$ServletVisitor
in Module "deployment.xwiki.war:main" from Service Module Loader:
java.lang.LinkageError: Failed to link
org/eclipse/sisu/inject/DefaultRankingFunction$ServletVisitor (Module
"deployment.xwiki.war:main" from Service Module Loader)
at
org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at org.jboss.modules.Module.loadModuleClass(Module.java:568)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.eclipse.sisu.inject.DefaultRankingFunction.<clinit>(DefaultRankingFunction.java:40)
[org.eclipse.sisu.inject-0.2.1.jar:]
at
org.codehaus.plexus.DefaultPlexusContainer$DefaultsModule.configure(DefaultPlexusContainer.java:856)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:253)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.spi.Elements.getElements(Elements.java:108)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.spi.Elements.getElements(Elements.java:99)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at org.eclipse.sisu.wire.WireModule.configure(WireModule.java:75)
[org.eclipse.sisu.inject-0.2.1.jar:]
at
com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:253)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.spi.Elements.getElements(Elements.java:108)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at
com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:135)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.Guice.createInjector(Guice.java:96)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.Guice.createInjector(Guice.java:73)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.Guice.createInjector(Guice.java:62)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at
org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:479)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:205)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:168)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
org.xwiki.extension.repository.aether.internal.components.PlexusContainerProvider.initialize(PlexusContainerProvider.java:63)
[xwiki-commons-extension-repository-ma
ven-6.4.2.jar:]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:334)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.addRepository(DefaultExtensionRepositoryManager.java:125)
[xwiki-commons-extension-api-6.4.2.jar:]
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.initialize(DefaultExtensionRepositoryManager.java:103)
[xwiki-commons-extension-api-6.4.2.jar:]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:344)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:344)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:344)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:344)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164)
[xwiki-commons-observation-local-6.4.2.jar:]
at
org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131)
[xwiki-commons-observation-local-6.4.2.jar:]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267)
[xwiki-commons-observation-local-6.4.2.jar:]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321)
[xwiki-commons-observation-local-6.4.2.jar:]
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118)
[xwiki-platform-container-servlet-6.4.2.jar:]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3777)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at
org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)
[jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at
org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:59)
[jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at
org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:94)
[jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_51]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
[rt.jar:1.7.0_51]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_51]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: java.lang.NoClassDefFoundError:
com/google/inject/servlet/ServletModuleTargetVisitor
at java.lang.ClassLoader.defineClass1(Native Method)
[rt.jar:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
[rt.jar:1.7.0_51]
at
org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)
[jboss-modules.jar:1.3.3.Final-redhat-1]
... 73 more
Caused by: java.lang.ClassNotFoundException:
com.google.inject.servlet.ServletModuleTargetVisitor from [Module
"deployment.xwiki.war:main" from Service Module Loader]
at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
[jboss-modules.jar:1.3.3.Final-redhat-1]
... 77 more
I would like to use this wiki for a personal knowledgebase.
Ownername: peterschussheim
Wiki name: peter
Thank you
This e-mail and any file transmitted with it is for the sole use of the intended recipient and may contain material that is confidential. If you are not the intended recipient of this e-mail, please notify us immediately by reply e-mail or by telephone and then delete this message and any file attached from your system. You should not copy or use it for any purpose, disclose the contents of the same to any other person or forward it without express permission.
Hi xwikiers,
I finally started an extension that I want to start since a very long
time now: an extension where to put extensions related tricks that are
either not polished enough or too dangerous to put in the standard
Extension Manager UI.
You can find it on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Tweak
and you can installed it with Extension Manager of course ;) I tested
it mostly on 6.4.2 but it's using APIs that are supposed to exist
since 4.0.
It does not contain much yet but I will put more things I have in mind
when I have some time and don't hesitate to add scripts you made for
your needs here and there.
--
Thomas Mortagne
I am using the Extension Updater to upgrade our XWiki instance from 6.3 to
6.4.2 Whenever I try to upgrade the 'XWiki Enterprise - UI - Main Wiki All'
package, I get the following error:
* An extension with feature
[org.xwiki.platform:xwiki-platform-appwithinminutes-ui] is already installed
on root namespace
([org.xwiki.platform:xwiki-platform-appwithinminutes-ui-6.3])
class org.xwiki.extension.InstallException: Failed to resolve extension at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(Abs
tractInstallPlanJob.java:770) at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(Abs
tractInstallPlanJob.java:393) at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(Abs
tractInstallPlanJob.java:290) at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstal
lPlanJob.java:220) at
org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.j
ava:88) at
org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209) at
org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)
I have tried to upgrade from 6.3 to 6.4.1 first and then upgrade from 6.4.1
to 6.4.2, but I still get the same issue when going from 6.4.1 to 6.4.2.
Going from 6.3 to 6.4.1 works fine.
Are there any workarounds to get Enterprise UI package to upgrade, or will
this be something that is fixed in next release?
Thank you,
Charlie
Seem to have vanished, is there as way to bring them back ?
I'm loving the copy and paste from Excel to create a table, but I
would love to see the cell borders, it makes it much easier when
navigating a larger table.
Cheers
Hi
Thanks for the responses. Page you mention below just loaded a blank page (I assume that's the intention). CPU jumped to about 80% for that one request.
That being said, performance has been a bit better today for some reason. There are a couple of extra tweaks I did this morning were:
1. Limited the activity plugin on the dashboard to only show the last 10 changes with 2 changes.
2. Disabled the image for one of the user's avatar.
I have been happily adding documents today and it has been fairly acceptable. But that's just one active user. We'll see how it behaves when it has 10 users on at the same time. I might come back with more questions.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 10 March 2015 09:47
To: XWiki Users
Subject: Re: [xwiki-users] Performance Frustrations
I would also check the speed of retrieving a simple/plain wiki page
without the surrounding UI elements:
/xwiki/bin/get/Space/Page
If this is still slow then the reason must be a background task as
Thomas suggested. If it's fast then it means some of the UI elements
slow down the view mode. It may be a panel for instance.
Hope this helps,
Marius
On Tue, Mar 10, 2015 at 10:47 AM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
> Would need more detail on what exactly you call a simple page, you
> should create a new page with empty content. Is the proc OK when
> nobody access XWiki, if not it might mean you have some bakground task
> running and slowing down the instance (a few things I can think of are
> SOLR indexing, Watchlist generating a mail when there is a lot of
> users, first login when you use LDAP with a lots if groups/users, some
> other extension you would have installed) ?
>
> I guess you looked at other stuff in
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances. If
> you are using MySQL and have some unused memory one other thing I
> notice that can improve a lot the performances is tweak a bit MySQL
> configuration and especially things like innodb_buffer_pool_size which
> can more or less make MySQL behave like a in-memory database if big
> enough (and there is probably many other things but I'm not so much of
> a MySQL expert).
>
> On Mon, Mar 9, 2015 at 11:31 PM, Mahomed Hussein
> <Mahomed(a)custodiandc.com> wrote:
>> Hi
>>
>> We were chugging along quite happily with XWiki then we started to notice a slowdown. Simple pages (like the space webhome page) were taking 3 – 4 seconds to load. This is with only 1 user testing it and about 5 articles in the whole system. Using htop, we can see that the tomcat process are being created and the CPU is going to over 150% - 400% (total across several cores). I have tried modifying the JAVA_OPTS in /etc/default/tomcat7 with little to no effect what so ever. I have tried googling it and almost everyone says to change those options and I’ve tried basing it on the recommendation in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory and my current line reads:
>>
>> JAVA_OPTS="-Djava.awt.headless=true -Xmx800m -XX:MaxPermSize=196m -XX:+UseConcMarkSweepGC"
>>
>> We are running XWiki 6.4.2
>> xwiki-enterprise-tomcat7-mysql package installed using apt-get.
>> OS: Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-46-generic x86_64)
>> RAM: 4096
>> vCPU: 12
>> Hypervisor: Hyper-v
>>
>> There aren’t any IO or memory issues that we can see. I don’t see any immediate errors in the logs either.
>>
>> To be honest the high CPU isn’t that much of an issue. The problem is that it’s using high CPU and STILL has slow performance. If I compare the response of loading a 75 line article to loading http://extensions.xwiki.org/xwiki/bin/view/ExtensionCode/ExtensionSearch?sp…, the extension page loads about 3 times faster (not scientifically accurate timing but it’s different enough to notice consistently).
>>
>> Any help would be greatly appreciated because no matter how great XWiki is, if I can’t get it to perform quickly enough, users will avoid using it.
>>
>> Thanks again for your time and any help.
>>
>>
>> Kind regards,
>>
>> Mahomed
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
I have a wiki in which several spaces have pages with the same name, like
so:
Space 1
|_ MyPage
Space 2
|_ MyPage
I would like for the "MyPage" in each space to list its child documents.
When I use the Document Tree macro for this, it lists the subpages of every
page named MyPage, irrespective of what space it's in.
This happens even when I specify the full "document:wiki:Space.Path" in the
"root" setting.
If I rename the pages as "MyPage - Space 1" and "MyPage - Space 2" for
example, this doesn't happen.
Is this the normal behavior when 2 or more spaces have pages with identical
names?
Thanks,
J
--
View this message in context: http://xwiki.475771.n2.nabble.com/Document-tree-macro-including-pages-from-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
We were chugging along quite happily with XWiki then we started to notice a slowdown. Simple pages (like the space webhome page) were taking 3 – 4 seconds to load. This is with only 1 user testing it and about 5 articles in the whole system. Using htop, we can see that the tomcat process are being created and the CPU is going to over 150% - 400% (total across several cores). I have tried modifying the JAVA_OPTS in /etc/default/tomcat7 with little to no effect what so ever. I have tried googling it and almost everyone says to change those options and I’ve tried basing it on the recommendation in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory and my current line reads:
JAVA_OPTS="-Djava.awt.headless=true -Xmx800m -XX:MaxPermSize=196m -XX:+UseConcMarkSweepGC"
We are running XWiki 6.4.2
xwiki-enterprise-tomcat7-mysql package installed using apt-get.
OS: Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-46-generic x86_64)
RAM: 4096
vCPU: 12
Hypervisor: Hyper-v
There aren’t any IO or memory issues that we can see. I don’t see any immediate errors in the logs either.
To be honest the high CPU isn’t that much of an issue. The problem is that it’s using high CPU and STILL has slow performance. If I compare the response of loading a 75 line article to loading http://extensions.xwiki.org/xwiki/bin/view/ExtensionCode/ExtensionSearch?sp…, the extension page loads about 3 times faster (not scientifically accurate timing but it’s different enough to notice consistently).
Any help would be greatly appreciated because no matter how great XWiki is, if I can’t get it to perform quickly enough, users will avoid using it.
Thanks again for your time and any help.
Kind regards,
Mahomed
Hi
Thank you both for the responses. I am going to opt instead to get users to put a comment once they've read the document (This is a requirement for one of our certifications - that users confirm they've read a document). This is probably a better and simpler option anyway.
Thank you again for your help. I am loving XWiki!!
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 09 March 2015 14:26
To: XWiki Users
Subject: Re: [xwiki-users] Readers type extension or feature
On Mon, Mar 9, 2015 at 11:13 AM, Guillaume Lerouge <guillaume(a)xwiki.com> wrote:
> Hi Mahomed,
>
> this is doable if you activate the statistics module:
Unfortunately the statistics module stores only aggregated data. You
can see how many users have viewed a particular page and how many
pages a particular user has seen. But the way it works right now, you
cannot see which users (i.e. an enumeration of user names) have seen a
specific page or which pages have been seen by a specific user.
Hope this helps,
Marius
>
> -
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Statistics+Application
>
> First you need to activate it in the xwiki.cfg file:
>
> -
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#%23HEnabl…
>
> Once the statistics are activated, every "view" action by every user is
> recorded. Now all you need to do is write the code to retrieve the stats
> about the specific page you're looking at, and put in in a panel.
>
> You can find inspiration for this in the following extensions:
>
> -
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Recently+Visited+Pages
> -
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Most+Viewed+Articles
> -
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Number+Of+Active+Users…
>
> Best,
>
> Guillaume
>
> On Sun, Mar 8, 2015 at 10:36 PM, Mahomed Hussein <Mahomed(a)custodiandc.com>
> wrote:
>
>> Hi
>>
>> I’m a new user to XWiki here. Running 6.4.2. We recently setup mediawiki
>> but due to some limitations (and then finding XWiki), we’ve decided to move
>> to XWiki. One feature that we would REALLY love to have similar to
>> mediawiki is the "readers" feature. It shows which registered users have
>> viewed a page. I have done some Google searching and I have looked through
>> the extensions but I cannot find anything. The closest extension I found is
>> one that shows how to run a query to display the editors, but I couldn’t
>> see a way to modify that to show the readers. This makes me think it might
>> not be possible, but I know very little about the way the system works so I
>> hope someone can help.
>>
>> Thanks in advance for your help and time.
>>
>> Kind regards,
>>
>> Mahomed
>> _______________________________________________
>> 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,
In my XWiki application, I have a Sheet + Class with a property with textArea/wysiwyg type.
I use public String display(String fieldname, String mode)
http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Docu…
Unfortunaly in view mode all values are rendering between <strong> </strong>.
How can I remove them?
An example, in edit mode, in my textArea/wysiwyg, I have
-----------------
Some text bold
1. first
2. second
-----------------
In view mode I obtein:
Some text bold
2. first
3. second
(I must reinit counter list too)
HTML code:
<strong></strong>
<p>
<strong>
Some text
<strong>bold</strong>
</strong>
</p>
<ol>
<li style="list-style-type: none">
<strong></strong>
</li>
<li>
<strong>first</strong>
</li>
<li>
</ol>
Of course i cannot remove <strong></strong> or modify style because I want to keep this one: <strong>bold</strong>
Thxs for any help
Pascal B
Trying to upgrade from 6.4.1 to 6.4.2 and in the upgrade wizard I get this
message "Installed version 6.4.1 is not valid" when upgrading the "XWiki
Enterprise - UI - Main wiki"
>From there on nothing moves forward, no "Later", no "Never"
How can I get passed this.
I installed cleanly 6.4.1 a few days ago. And I hope that some of the link
issues and the categories in the blog are fixed.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Installed-version-6-4-1-is-not-valid-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I’m a new user to XWiki here. Running 6.4.2. We recently setup mediawiki but due to some limitations (and then finding XWiki), we’ve decided to move to XWiki. One feature that we would REALLY love to have similar to mediawiki is the "readers" feature. It shows which registered users have viewed a page. I have done some Google searching and I have looked through the extensions but I cannot find anything. The closest extension I found is one that shows how to run a query to display the editors, but I couldn’t see a way to modify that to show the readers. This makes me think it might not be possible, but I know very little about the way the system works so I hope someone can help.
Thanks in advance for your help and time.
Kind regards,
Mahomed
Hello Community,
we use xWiki Enterprise 6.3. at work and I need some help to manage it.
I have two questions:
-How can it be that the user's photos are always pixelated when I upload it?
For example, I would like to add a photo to my xWiki profile but no matter
how good the quality of the picture is, you always see a pixelated little
avatar.
Are there a trick to get the image as good as the original?
-At the main page, I usually see "my last changes", but how is it possible
to see what other user's changes were?
For example, I change a document and then I see it at the main page. But my
other colleague didn't see that change at the main page. How can I manage
it, that if a document were changed by someone, everyone see's it at the
main page?
I hope you understand my questions :-)
If not, don't hesitate to contact me.
I'm looking forward to hear from you.
Kind regards from Germany!
Luba
--
View this message in context: http://xwiki.475771.n2.nabble.com/Need-help-with-xWiki-Enterprise-6-3-tp759…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
It looks like that we can not use the macro AVATAR in a wiki on this farm?
{{useravatar username="<username>" /}}
Then I added the extension:
{{userprofile username="XWiki.Admin" /}}
But both give error: unknown user?
Gerritjan
I have a page hierarchy of the following form:
+ Parent1----- Child1----- Child2----- Child2
Where one parent page has three children pages.
I would like to move this entire hierarchy rooted at Parent1 to another space. If I rename Parent1, then only Parent1 gets moved to the new space, and not its children.
Is there a way to move the entire hierarchy of pages (parent page and all its child pages) to another space?
Hello,
(warning n00b question ahead)
I would like to fetch external data, in xml (say for example https://raw.githubusercontent.com/xwiki/xwiki-commons/master/pom.xml) and use it in a XWiki page : filter tokens, display node contents, etc. At this stage I don’t envision populating a custom class.
Would you guys have pointers/examples of such xwiki page?
Thank you in advance!
Sylvain
Je serai absent(e) à partir du 06/03/2015 de retour le 09/03/2015.
je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
Hi All,
i am trying to get into javascript, prototype and restlet-Framework. The
"GET" Response is smoothly working [see (1) below]. But i now want to write
back a property to a object. It seems that prototype is not great for
Restless Requests (see 2). But on (2) i found a possible solution. Now i
tried an example (3), but it not seems to work. Did someone have a working
PUT-Example?
PS: I used the restlet-framework also from java and there everything works,
so at the moment i can't tell what is the mistake. I put the error from the
console to (4).
Sorry for this long post, but i like to share what i found so far. Maybe
later on someone need something similar.
Regards,
Matthias
___________________
(1)
{{velocity}}
{{html}}
{{/html}}
{{velocity}}
(2)
http://stackoverflow.com/questions/4476810/is-it-really-possible-to-call-ht…
(3)
{{velocity}}
{{html}}
{{/html}}
(4)
Request-URL:
http://refidim:8082/xwiki/rest/wikis/xwiki/spaces/PrayHour/pages/MON09/obje…
Request-Methode: PUT
Status-Code: HTTP/1.1 500 Server Error
Request-Header 21:57:55.000
X-Requested-With: XMLHttpRequest
X-Prototype-Version: 1.7.1
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101
Firefox/36.0
Referer: http://refidim:8082/xwiki/bin/view/Main/AjaxRequestPUT
Host: refidim:8082
Content-Length: 0
Connection: keep-alive
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/javascript, text/html, application/xml, text/xml, */*
Gesendetes Cookie
validation: "3bd2fdf8f9a05ba614cf37e91b1028b7"
username: "obD1aIklU0E_"
rememberme: "false"
password: "GvlF1PXlVNhGHYktowzcuA__"
language: de
JSESSIONID: oih8bz5oa3d5qax4v8dnfs72
Response-Header Δ30ms
XWiki-Version: 6.3
XWiki-User: XWiki.Admin
Server: Restlet-Framework/2.0.14
Date: Thu, 05 Mar 2015 20:57:55 GMT
Content-Type: text/html; charset=UTF-8
Content-Script-Type: text/javascript
--
View this message in context: http://xwiki.475771.n2.nabble.com/Ajax-PUT-Request-to-Restlet-Framework-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, All!
XWiki 6.4.2 clean installation. Extension http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro is installed.
Space with several pages. On Space.WebHome I put
{{velocity}}
{{documentTree showSpaces="true" readOnly="false" root="document:$doc.space.$doc.name"/}}
{{/velocity}}
Works fine. I have a tree. If I change page order in the Tree - it also works fine. On page reload Tree has initial page order. Am I doing anything wrong or this is the case to "jira" the bug?
Is it possible to open all branches of the tree somehow?
Kind regards,
Dmitry