Re: [xwiki-users] Import and Export XAR will lost tree hierarchy?

2015-12-11 Thread KirbY ZhoU
Additionally, I can find the correct parent info inside the .xml file It looks like: @?xml version="1.0" encoding="UTF-8"?> xwikidoc> web>前台组/web> name>JSON工具/name> language>/language> defaultLanguage>zh/defaultLanguage> translation>0/translation> parent>前台组.VR开发相关/parent> ... 在 15/12/11

[xwiki-users] Adding users to a user list form a java component

2015-12-11 Thread gervwyk
Good day. I'm trying to add users to a users list within a object. After I have instanciated the object on the document which I want to ammend, how do I "set" and "get" the user list property in a java component? I have: BaseObject domainObject = doc.getXObject(referenceClass);

[xwiki-users] Myxwiki Instance problem

2015-12-11 Thread Gerritjan Koekkoek
Tried To Change skins of Waihonapedia.myxwiki.org. Got a authorization error. Since That the url give white screen? Help... Thanks, Gerritjan Verstuurd vanaf mijn iPhone ___ users mailing list users@xwiki.org

Re: [xwiki-users] Import and Export XAR will lost tree hierarchy?

2015-12-11 Thread vinc...@massol.net
Hi, On 11 Dec 2015 at 11:20:55, KirbY ZhoU (kirbyz...@gmail.com(mailto:kirbyz...@gmail.com)) wrote: > > Import and Export XAR will lost tree hierarchy? > > I used to have a multi level tree hierarchy inside my wiki space. > > But, when I import it, all the pages are flatten as the direct

Re: [xwiki-users] some help needed: short URLs

2015-12-11 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Thanks Paul! Please, read below... On Thu, Dec 10, 2015 at 11:49 AM Paul Libbrecht wrote: > Ricardo, > > are you unable to move the webapp to root? > Nope! I can move XWiki to ROOT in Tomcat by simply renaming the application folder! But I've been asked to not to do that by

Re: [xwiki-users] some help needed: short URLs

2015-12-11 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Thanks! Please, read below! On Fri, Dec 11, 2015 at 12:26 PM Paul Libbrecht wrote: > Can you try: > > ProxyPass / http://localhost:8080/atriumkm/ > > ? > It avoid the loop, but it fails to generate correct URLs: it generates URLs that work fine if accessed directly using

[xwiki-users] Import and Export XAR will lost tree hierarchy?

2015-12-11 Thread KirbY ZhoU
Import and Export XAR will lost tree hierarchy? I used to have a multi level tree hierarchy inside my wiki space. But, when I import it, all the pages are flatten as the direct children of the space WebHome. I use the default export tools to export a large 100M+ xar file under Xwiki-6.3 I use

Re: [xwiki-users] Import and Export XAR will lost tree hierarchy?

2015-12-11 Thread Thomas Mortagne
The hierarchy did not really changed by the breadcrumb is based on different data by default. You should take a look at http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HHidingoftheParent-ChildRelationship to get back previous behavior. On Fri, Dec 11, 2015 at 11:23 AM, KirbY

Re: [xwiki-users] some help needed: short URLs

2015-12-11 Thread Paul Libbrecht
Can you try: ProxyPass / http://localhost:8080/atriumkm/ ? It's the tomcat doing the redirect right now (use firebug, go to net, activate persist, then show the headers: Apache-Coyote/1.1) so maybe that helps things. You might want to keep ProxyPassReverse / http://localhost:8080/atriumkm/

Re: [xwiki-users] Import and Export XAR will lost tree hierarchy?

2015-12-11 Thread KirbY ZhoU
Thanks very much. I set core.hierarchyMode=parentchild now, and I reimport the backups, it seems works now. But the Document Tree Macro's "openTo" attribute still appears incorrectly. I want use it to show a tree of the space {{documentTree hierarchyMode="parentchild" showRoot="true"

Re: [xwiki-users] Adding users to a user list form a java component

2015-12-11 Thread Thomas Mortagne
On Fri, Dec 11, 2015 at 12:55 PM, gervwyk wrote: > Good day. > > I'm trying to add users to a users list within a object. After I have > instanciated the object on the document which I want to ammend, how do I > "set" and "get" the user list property in a java component? I

Re: [xwiki-users] Import and Export XAR will lost tree hierarchy?

2015-12-11 Thread Thomas Mortagne
On Fri, Dec 11, 2015 at 12:48 PM, KirbY ZhoU wrote: > Thanks very much. > I set core.hierarchyMode=parentchild now, and I reimport the backups, it > seems works now. It was not related to the import, it's just a display option. > > > But the Document Tree Macro's "openTo"

Re: [xwiki-users] Search is broken on my Wiki hosted on myxwiki.org

2015-12-11 Thread Thomas Mortagne
On Fri, Dec 11, 2015 at 1:56 PM, xrichard wrote: > Hi, > > Search returns the following error: > "Caused by: org.xwiki.query.QueryException: Solr query require programming > right" > > How can I solve this? You cannot. What was required was to save

Re: [xwiki-users] some help needed: short URLs

2015-12-11 Thread Paul Libbrecht
This is getting more hairy, First, I think that all redirects sent using http-status will be covered by proxyPassReverse. Your next step is to fix any URL produced within the XWiki page. I thought proxyHost would help fixing that (that's part of server.xml, see

Re: [xwiki-users] Myxwiki Instance problem

2015-12-11 Thread Thomas Mortagne
You can force any skin by adding ?skin= to the URL. For example http://http://waihonapedia.myxwiki.org/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin=Presentation=flamingo give you access to your admin with the standard skin flamingo so that you can change the skin to something else.

[xwiki-users] Search is broken on my Wiki hosted on myxwiki.org

2015-12-11 Thread xrichard
Hi, Search returns the following error: "Caused by: org.xwiki.query.QueryException: Solr query require programming right" How can I solve this? Best regards, PS: http://tutos.myxwiki.org -- View this message in context: