Re: [xwiki-users] How to startup XWiki-8.4.2 with Centos-7 and Tomcat-7?

2016-12-14 Thread KirbY ZhoU
I have tried to edit xwiki/WEB-INF/classes/logging.properties   like below

org.apache.catalina.core.ContainerBase.[Catalina].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].handlers = 
java.util.logging.ConsoleHandler

But there come no more log.

I find that, If use my old ‘xwiki permanent directory’,  xwiki can not startup.

environment.permanentDirectory=/search/xwiki/xwiki-work

Does anyone know the directory structure? What can I delete?


在 2016/12/13 下午8:11,“users 代表 Thomas Mortagne”<users-boun...@xwiki.org 代表 
thomas.morta...@xwiki.com> 写入:

On Tue, Dec 13, 2016 at 1:11 PM, Thomas Mortagne
<thomas.morta...@xwiki.com> wrote:
> I don't have much idea of what you could this.

s/what you could this/what could do this/

>
> You don't have any other error before this one ? Maybe try to enable a
> bit more log in Tomcat (see the log setup suggested in
> 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat#HSEVERE:ErrorlistenerStart).
>
> On Tue, Dec 13, 2016 at 12:21 PM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
>>
>>
>>
>> How to startup XWiki-8.4.2 with Centos-7 and Tomcat-7?
>>
>> I downloaded a .WAR version package of XWiki-8.4.2 under Centos-7.
>> And run it with Tomcat-7
>> The servlet always cannot be initialized:
>>
>> Package versions:
>>
>> tomcat-7.0.69-10.el7.noarch
>> java-1.8.0-openjdk-1.8.0.111-1.b15.el7_2.x86_64
>>
>> The error message is below:
>>
>> #] cat localhost.2016-12-13.log
>> Dec 13, 2016 6:59:06 PM org.apache.catalina.core.StandardWrapperValve 
invoke
>> SEVERE: Servlet.service() for servlet [action] in context with path 
[/xwiki] threw exception
>> javax.servlet.UnavailableException: Cannot initialize RequestProcessor 
of class com.xpn.xwiki.web.XWikiRequestProcessor: java.lang.NullPointerException
>> at 
org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:614)
>> at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1910)
>> at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>> 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:112)
>> 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.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> 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 
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)
>

[xwiki-users] How to startup XWiki-8.4.2 with Centos-7 and Tomcat-7?

2016-12-13 Thread KirbY ZhoU
 org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
Dec 13, 2016 6:59:14 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
Dec 13, 2016 7:00:34 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable




-- 
Kirby Zhou  -  分机2557









[xwiki-users] How to deal with a incorrectly moved page?

2016-06-06 Thread KirbY ZhoU
How to deal with a incorrectly moved page?

I modified the parent in rename action, so the page becomes invisible.
I can see it in “Page Index”, but I CAN NOT do open/rename/restore the page now.

In Page Index, it Location is
TCM_Department  TCM_Department.项目组织架构.1\.后端开发组.后端技术文档   
微信绑定手机
And URL encoded as:

http://xwiki.sogou-inc.com/xwiki/bin/view/TCM_Department/TCM_Department.项目组织架构.1%5C.后端开发组.后端技术文档/微信绑定手机/

HTML code is below
TCM_DepartmentTCM_Department.项目组织架构.1\.后端开发组.后端技术文档微信绑定手机
  

How can I fix this problem to get back my page?






___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] The "zh" Chinese support in XWiki-7.3 is very bad.

2016-05-19 Thread KirbY ZhoU
I am sorry.
The problem is that: our admin newly do use Apache/AJP protocol to visit tomcat 
8009 port instead old 1080 http port, 
and the “URIEncoding” is not configured at AJP port.


在 16/5/19 下午4:53,“users 代表 Thomas Mortagne”<users-boun...@xwiki.org 代表 
thomas.morta...@xwiki.com> 写入:

>I don't understand, you said in your previous mail that it was a setup
>issue on your side and that you had fixed it.
>
>On Thu, May 19, 2016 at 10:41 AM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
>> After I upgrade to XWiki-7.4.3, the search feature is still broken.
>> How can I set the encoding correctly?
>>
>> “Search: 中文”
>>
>>
>>
>> 在 15/12/4 下午5:41,“users 代表 Thomas Mortagne”<users-boun...@xwiki.org 代表 
>> thomas.morta...@xwiki.com> 写入:
>>
>>>On Fri, Dec 4, 2015 at 9:28 AM, Thomas Mortagne
>>><thomas.morta...@xwiki.com> wrote:
>>>> From what I saw in your other mail it looks like you have some
>>>> encoding setup issue which may also be the cause here.
>>>>
>>>> On Fri, Dec 4, 2015 at 5:07 AM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
>>>>> 1. The "tags" feature display a lot of jumbled text.
>>>>> For example:
>>>>> "运营" displays as "è¿ è ¥", if I click "è¿ è ¥", it becomes "è¿ è 
>>>>> ¥", much worse.
>>>>>
>>>>> 2. The "Solr Search" feature display a log of jumbled text.
>>>>> For example:
>>>>> "表格" displays as "表格" in the search result page.
>>>>> And of couse, it returns no hitted page, but it is actually appeared in 
>>>>> the default "Sandbox" chinese page.
>>>>>
>>>>> For example:
>>>
>>>Search look ok to me, for example
>>>http://tuska.myxwiki.org/xwiki/bin/view/Main/Search?r=1=%E8%BF%90%E8%90%A5
>>>
>>>Probably an encoding issue in your setup like for the tag.
>>>
>>>>>
>>>>> 3. The Chinese Sandbox, incorrectly use "" instead of ">" in wiki 
>>>>> source text.
>>>>>
>>>>> For example:
>>>>> [[沙箱测试页面1Sandbox.TestPage1]]
>>>>> Should be:
>>>>> [[沙箱测试页面1>>Sandbox.TestPage1]]
>>>
>>>This one is indeed a real mistake. I could fix it but I believe the
>>>best would be for you to create an account on http://l10n.xwiki.org
>>>and directly fix the issue on
>>>http://l10n.xwiki.org/xwiki/bin/view/Platform/SandboxWebHome?action=viewall=zh
>>>so that you are credited as the author of the fix.
>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> users mailing list
>>>>> users@xwiki.org
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>> --
>>>> Thomas Mortagne
>>>
>>>
>>>
>>>--
>>>Thomas Mortagne
>>>___
>>>users mailing list
>>>users@xwiki.org
>>>http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>-- 
>Thomas Mortagne
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] The "zh" Chinese support in XWiki-7.3 is very bad.

2016-05-19 Thread KirbY ZhoU
Yes, I had resovled the problem by change settings in tomcat in the last year.



But after I upgrade to 7.4.3, the problem appears again, it seems very strange.


在 16/5/19 下午4:53,“users 代表 Thomas Mortagne”<users-boun...@xwiki.org 代表 
thomas.morta...@xwiki.com> 写入:

>I don't understand, you said in your previous mail that it was a setup
>issue on your side and that you had fixed it.
>
>On Thu, May 19, 2016 at 10:41 AM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
>> After I upgrade to XWiki-7.4.3, the search feature is still broken.
>> How can I set the encoding correctly?
>>
>> “Search: 中文”
>>
>>
>>
>> 在 15/12/4 下午5:41,“users 代表 Thomas Mortagne”<users-boun...@xwiki.org 代表 
>> thomas.morta...@xwiki.com> 写入:
>>
>>>On Fri, Dec 4, 2015 at 9:28 AM, Thomas Mortagne
>>><thomas.morta...@xwiki.com> wrote:
>>>> From what I saw in your other mail it looks like you have some
>>>> encoding setup issue which may also be the cause here.
>>>>
>>>> On Fri, Dec 4, 2015 at 5:07 AM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
>>>>> 1. The "tags" feature display a lot of jumbled text.
>>>>> For example:
>>>>> "运营" displays as "è¿ è ¥", if I click "è¿ è ¥", it becomes "è¿ è 
>>>>> ¥", much worse.
>>>>>
>>>>> 2. The "Solr Search" feature display a log of jumbled text.
>>>>> For example:
>>>>> "表格" displays as "表格" in the search result page.
>>>>> And of couse, it returns no hitted page, but it is actually appeared in 
>>>>> the default "Sandbox" chinese page.
>>>>>
>>>>> For example:
>>>
>>>Search look ok to me, for example
>>>http://tuska.myxwiki.org/xwiki/bin/view/Main/Search?r=1=%E8%BF%90%E8%90%A5
>>>
>>>Probably an encoding issue in your setup like for the tag.
>>>
>>>>>
>>>>> 3. The Chinese Sandbox, incorrectly use "" instead of ">" in wiki 
>>>>> source text.
>>>>>
>>>>> For example:
>>>>> [[沙箱测试页面1Sandbox.TestPage1]]
>>>>> Should be:
>>>>> [[沙箱测试页面1>>Sandbox.TestPage1]]
>>>
>>>This one is indeed a real mistake. I could fix it but I believe the
>>>best would be for you to create an account on http://l10n.xwiki.org
>>>and directly fix the issue on
>>>http://l10n.xwiki.org/xwiki/bin/view/Platform/SandboxWebHome?action=viewall=zh
>>>so that you are credited as the author of the fix.
>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> users mailing list
>>>>> users@xwiki.org
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>> --
>>>> Thomas Mortagne
>>>
>>>
>>>
>>>--
>>>Thomas Mortagne
>>>___
>>>users mailing list
>>>users@xwiki.org
>>>http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>-- 
>Thomas Mortagne
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How the page title of 'Administrator Page' to be decided?

2016-05-19 Thread KirbY ZhoU
For example, I have a page called “基础品质及小垂直团队”
The URL is ‘http://mysite/xwiki/bin/view/web_product/基础品质及小垂直团队/’
In the “Rename” Action, I can see both “Title” and “Page Name” is “基础品质及小垂直团队”

But, In the “Administrator Page”, its location shows: “EVA小组(评估、分析、垂直等)/ 
Preferences”, 
and title is “Administration: web_product.基础品质及小垂直团队”
and URL is “…/xwiki/bin/admin/web_product/基础品质及小垂直团队/WebPreferences”


“EVA小组(评估、分析、垂直等)” is the old name of this page, I donot know why it is still 
here.



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] The "zh" Chinese support in XWiki-7.3 is very bad.

2016-05-19 Thread KirbY ZhoU
After I upgrade to XWiki-7.4.3, the search feature is still broken.
How can I set the encoding correctly?

“Search: 中文”



在 15/12/4 下午5:41,“users 代表 Thomas Mortagne”<users-boun...@xwiki.org 代表 
thomas.morta...@xwiki.com> 写入:

>On Fri, Dec 4, 2015 at 9:28 AM, Thomas Mortagne
><thomas.morta...@xwiki.com> wrote:
>> From what I saw in your other mail it looks like you have some
>> encoding setup issue which may also be the cause here.
>>
>> On Fri, Dec 4, 2015 at 5:07 AM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
>>> 1. The "tags" feature display a lot of jumbled text.
>>> For example:
>>> "运营" displays as "è¿ è ¥", if I click "è¿ è ¥", it becomes "è¿ è ¥", 
>>> much worse.
>>>
>>> 2. The "Solr Search" feature display a log of jumbled text.
>>> For example:
>>> "表格" displays as "表格" in the search result page.
>>> And of couse, it returns no hitted page, but it is actually appeared in the 
>>> default "Sandbox" chinese page.
>>>
>>> For example:
>
>Search look ok to me, for example
>http://tuska.myxwiki.org/xwiki/bin/view/Main/Search?r=1=%E8%BF%90%E8%90%A5
>
>Probably an encoding issue in your setup like for the tag.
>
>>>
>>> 3. The Chinese Sandbox, incorrectly use "" instead of ">" in wiki 
>>> source text.
>>>
>>> For example:
>>> [[沙箱测试页面1Sandbox.TestPage1]]
>>> Should be:
>>> [[沙箱测试页面1>>Sandbox.TestPage1]]
>
>This one is indeed a real mistake. I could fix it but I believe the
>best would be for you to create an account on http://l10n.xwiki.org
>and directly fix the issue on
>http://l10n.xwiki.org/xwiki/bin/view/Platform/SandboxWebHome?action=viewall=zh
>so that you are credited as the author of the fix.
>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>
>> --
>> Thomas Mortagne
>
>
>
>-- 
>Thomas Mortagne
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] A encoding bug of page administration page.

2016-05-19 Thread KirbY ZhoU
 

 

Version: XWiki-7.4.3, Mac Safari 9.1.1, Firefox 38.7.1esr

A encoding bug of page administration page.

 

When I do administrator a Chinese title page, click any label  twice, the page 
would jump to a invalid page.

For example:

 

At beginning:

You can see: there is no left panel.

 

First Click at “Rights: Page”

It seems OK, and left panel appears:

 

Second Click at “Rights: Page”

It jumps to a invalid page with invalid title.

 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to avoid nested space?

2016-04-28 Thread KirbY ZhoU
Sorry for trouble again, I have upgrade to 7.4.3 now.
But I still cannot see "limit" option in "Add Gadget" dialog / "Page Tree" 
macro.
How can I add the option into this dialog?




在 16/1/6 下午2:08,“users 代表 Marius Dumitru Florea”<users-boun...@xwiki.org 代表 
mariusdumitru.flo...@xwiki.com> 写入:

>On Tue, Jan 5, 2016 at 4:45 PM, Zhou Tianling <kirbyz...@gmail.com> wrote:
>
>> I have tried this below on 7.3-release.
>> {{documentTree compact="true" showTranslations="false"
>> showAttachments="false" root="wiki:xwiki" limit="200" /}}
>> But “limit” do not works.
>>
>
>Indeed, I just tested on 7.3, but you can quickly fix it by editing the
>XWiki.DocumentTreeConfig page with the wiki editor and replace
>
>  'showRoot': false
>
>with
>
>  'showRoot': false,
>  'limit': 15
>
>(i.e. declare de 'limit' configuration parameter and its default value)
>
>Hope this helps,
>Marius
>
>
>>
>>
>>
>> 在 16/1/5 下午9:35,“users 代表 Marius Dumitru Florea”<users-boun...@xwiki.org
>> 代表 mariusdumitru.flo...@xwiki.com> 写入:
>>
>> >On Tue, Jan 5, 2016 at 3:33 PM, vinc...@massol.net <vinc...@massol.net>
>> >wrote:
>> >
>> >>
>> >>
>> >> On 5 Jan 2016 at 14:29:11, Marius Dumitru Florea (
>> >> mariusdumitru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com))
>> >> wrote:
>> >>
>> >> > On Tue, Jan 5, 2016 at 2:35 PM, vinc...@massol.net
>> >> > wrote:
>> >> >
>> >> > > Hi,
>> >> > >
>> >> > > On 5 Jan 2016 at 10:09:27, KirbY ZhoU (kirbyz...@gmail.com(mailto:
>> >> > > kirbyz...@gmail.com)) wrote:
>> >> > >
>> >> > > > Sorry for reply so later, I have taken a vacation for days.
>> >> > >
>> >> > > Hope you had some nice holidays! :)
>> >> > >
>> >> > > > Actually, I modified Dashboard.WebHome after upgrade, and use
>> >> {{spaces}}
>> >> > > macro which comes from 7.3 release.
>> >> > > > Now I replace {{spaces}} with {{documentTree}}, but I have some
>> >> little
>> >> > > problem.
>> >> > > > 1. I want to avoid "xxx more", but limit=100 do not work.
>> >> > > > 2. I want to limit the tree level, but I have no idea.
>> >> > >
>> >> > > All documentation for the tree macro can be found at
>> >> > >
>> >>
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro
>> >> > >
>> >> > >
>> >> >
>> >> > > AFAIK there’s currently no way to configure how many items to
>> display
>> >> > > before “xxx more” appears. @Marius: is that correct? It seems it
>> would
>> >> be
>> >> > > useful to have this in the future if that’s the case. WDYT? Do we
>> have
>> >> a
>> >> > > jira issue about it already?
>> >> > >
>> >> >
>> >> > There is an internal "limit" parameter available since 7.3RC1, as I
>> >> > mentioned on
>> >> > http://lists.xwiki.org/pipermail/users/2015-December/031746.html . It
>> >> > doesn't appear in the documentation because I haven't made it public
>> yet
>> >> > (with a XWiki.WikiMacroParameterClass object) but it can be used.
>> >> >
>> >> > {{documentTree limit="3" /}}
>> >>
>> >>
>> >
>> >> ok thanks I had forgotten. However KirbY mentioned that it didn’t work
>> >> when he tried it.
>> >>
>> >
>> >I just tried on 8.0-SNAPSHOT and it woks for me.
>> >
>> >
>> >>
>> >> @KirbY: have you used it in the way Marius described above?
>> >>
>> >> Thanks
>> >> -Vincent
>> >>
>> >> > > I’m not sure what’s your use case for point 2. I guess you mean
>> limit
>> >> the
>> >> > > hierarchy but it seems it would prevent users from navigating
>> >> correctly so
>> >> > > I’m not sure what’s the use case.
>> >> > >
>> >> > > Thanks
>> >> > > -Vincent
>> >> > >
>> >> > > > 发件人: Vincent Massol 代表 "vi

[xwiki-users] How to avoid nested space?

2015-12-22 Thread KirbY ZhoU
How to avoid nested space?

Since the new nested space feature, a lot of nested space such as "XXX.YYY" 
appears in the "Space List" in my home page.
If I want to create a sub page, a new nested space created silently. It becomes 
more and more, and bothers our users. 

I want keep the original simple one level space and documents tree model 
instead of the new nested space model. How can I get it?



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] openTo attr of documentTree macro DO NOT work

2015-12-22 Thread KirbY ZhoU
Thanks very much.
It works for me now!





在 15/12/15 上午12:35,“users 代表 Marius Dumitru Florea”<users-boun...@xwiki.org 代表 
mariusdumitru.flo...@xwiki.com> 写入:

>This works for me:
>
>{{documentTree hierarchyMode="parentchild" showTranslations="false"
>root="document:xwiki:Sandbox.WebHome" openTo="document:Sandbox.SubPage2" /}}
>
>This too:
>
>{{documentTree hierarchyMode="parentchild" showTranslations="false"
>showSpaces="true" root="space:xwiki:Sandbox"
>openTo="document:Sandbox.SubPage2" /}}
>
>Note that the root must be specified as absolute reference for now, see
>http://jira.xwiki.org/browse/XWIKI-12909 . As for the value of openTo, you
>need to check what is the actual reference of the "SubPage2". It depends on
>how you created it. Check the path in the URL, after the /view/ segment.
>You may have to suffix ".WebHome" if you create SubPage2 as non-terminal
>page (default behaviour in XWiki 7.2+).
>
>Hope this helps,
>Marius
>
>On Mon, Dec 14, 2015 at 5:12 AM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
>
>> Xwiki-7.3
>>
>> For example:
>> My page hierarchy looks like:
>>
>> Sandbox.WebHome
>> TestPage1
>> TestPage2
>> TestPage3
>> SubPage1
>> SubPage2
>> SubPage3
>> SubPage3-1
>>
>> I want to create a tree open to 'SubPage2'
>>
>> So the tree should like:
>> *Sandbox.WebHome
>> ** TestPage1
>> ** TestPage2
>> ** TestPage3
>> *** SubPage1
>> *** SubPage2
>> *** SubPage3
>>
>>
>>
>> I have a lot of code such like:
>>
>> {{documentTree root="space:Sandbox" showRoot="false"
>> showTranslations="false" hierarchyMode="parentchild"
>> openTo="document:Sandbox.SubPage1"/}}
>>
>> {{documentTree root="space:Sandbox" showRoot="false"
>> showTranslations="false" hierarchyMode="parentchild"
>> openTo="document:Sandbox.TestPage3.SubPage1"/}}
>>
>>
>> But none of it works; the tree view user seen is always NOT expanded! It
>> has just one level:
>>
>> *Sandbox.WebHome
>>
>>
>> My user have to expand the tree hand by hand.
>>
>> Anyone can help me?
>>
>>
>>
>>
>>
>>
>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Is there a simple way to create a document tree default expand to 3 levels?

2015-12-22 Thread KirbY ZhoU





在 15/12/15 上午12:46,“users 代表 Marius Dumitru Florea”<users-boun...@xwiki.org 代表 
mariusdumitru.flo...@xwiki.com> 写入:

>On Mon, Dec 14, 2015 at 5:28 AM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
>
>> Is there a simple way to create a document tree default expand to 3 levels?
>>
>
>No.
>
>
>>
>> For example:
>> * Level 1
>> ** Level 2
>>
>> *** Level 3
>> *** Level 3
>> ** Level 2
>>
>> *** Level 3
>> ** Level 2
>> *** Level 3
>>
>>
>>
>> And, DO NOT use "see more" button to hide items.
>>
>
>Yes, limit="someBigNumber"
>

Excuse me, is it a new feature in Xwiki-7.4+?
>
>>
>>
>> DocumentTree macro seems do not work for this situation.
>>
>>
>>
>>
>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] openTo attr of documentTree macro DO NOT work

2015-12-13 Thread KirbY ZhoU
Xwiki-7.3

For example:
My page hierarchy looks like:

Sandbox.WebHome
TestPage1
TestPage2
TestPage3
SubPage1
SubPage2
SubPage3
SubPage3-1

I want to create a tree open to 'SubPage2'

So the tree should like:
*Sandbox.WebHome
** TestPage1
** TestPage2
** TestPage3
*** SubPage1
*** SubPage2
*** SubPage3



I have a lot of code such like:

{{documentTree root="space:Sandbox" showRoot="false" showTranslations="false" 
hierarchyMode="parentchild" openTo="document:Sandbox.SubPage1"/}}

{{documentTree root="space:Sandbox" showRoot="false" showTranslations="false" 
hierarchyMode="parentchild" openTo="document:Sandbox.TestPage3.SubPage1"/}}


But none of it works; the tree view user seen is always NOT expanded! It has 
just one level:

*Sandbox.WebHome


My user have to expand the tree hand by hand.

Anyone can help me?








___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Is there a simple way to create a document tree default expand to 3 levels?

2015-12-13 Thread KirbY ZhoU
Is there a simple way to create a document tree default expand to 3 levels?

For example:
* Level 1
** Level 2

*** Level 3
*** Level 3
** Level 2

*** Level 3
** Level 2
*** Level 3



And, DO NOT use "see more" button to hide items.


DocumentTree macro seems do not work for this situation.






___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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 下午6:21,“KirbY ZhoU”<kirbyz...@gmail.com> 写入:

>
>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 "Admin Tools" application to import large xar file under Xwiki-7.3.
>Is it incompatible with tree hierarchy?
>
>
>

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[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 "Admin Tools" application to import large xar file under Xwiki-7.3.
Is it incompatible with tree hierarchy?



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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" showSpaces="true" 
root="document:spaceX.page1" openTo="document:spaceX.page1.page2"/}}

But it never open to page2 on default, I must manually expand the tree.




在 15/12/11 下午6:30,“users 代表 Thomas Mortagne”<users-boun...@xwiki.org 代表 
thomas.morta...@xwiki.com> 写入:

>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 ZhoU <kirbyz...@gmail.com> wrote:
>> 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 下午6:21,“KirbY ZhoU”<kirbyz...@gmail.com> 写入:
>>
>>>
>>>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 "Admin Tools" application to import large xar file under Xwiki-7.3.
>>>Is it incompatible with tree hierarchy?
>>>
>>>
>>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>-- 
>Thomas Mortagne
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Cannot deal with Chinese tags on XWiki-7.3

2015-12-04 Thread KirbY ZhoU

Thanks very much, I checked my configuration.
Set URIEncoding="UTF-8" in /etc/tomcat/server.xml
Everything goes well now.



在 15/12/4 下午4:31,“users 代表 Paul Libbrecht” 写入:

>One relevant element may be the use of a proxy in the front of your
>wiki, are you using that?
>Also, did you set-up anything like the default charset of URLs in the
>servlet container?
>
>paul
>
>> Thomas Mortagne 
>> 4 décembre 2015 09:24
>> From what I understand you get a badly generated URL somewhere but
>> it's not clear to me where exactly you get this. The link generated in
>> the bottom of the page is ok for me as you can see on
>> http://tuska.myxwiki.org/xwiki/bin/view/Main/TestChineseTag/.
>>
>> It usually mean you have something wrong in your setup. You should
>> probably take a look at
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding.
>>
>>
>>
>
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] The "zh" Chinese support in XWiki-7.3 is very bad.

2015-12-04 Thread KirbY ZhoU
Thanks all.
The problem 1 and 2 has been solved since I set URIEncoding="UTF-8" in 
/etc/tomcat/server.xml.

I will try to fix problem 3 soon.




在 15/12/4 下午5:41,“users 代表 Thomas Mortagne”<users-boun...@xwiki.org 代表 
thomas.morta...@xwiki.com> 写入:

>On Fri, Dec 4, 2015 at 9:28 AM, Thomas Mortagne
><thomas.morta...@xwiki.com> wrote:
>> From what I saw in your other mail it looks like you have some
>> encoding setup issue which may also be the cause here.
>>
>> On Fri, Dec 4, 2015 at 5:07 AM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
>>> 1. The "tags" feature display a lot of jumbled text.
>>> For example:
>>> "运营" displays as "è¿ è ¥", if I click "è¿ è ¥", it becomes "è¿ è ¥", 
>>> much worse.
>>>
>>> 2. The "Solr Search" feature display a log of jumbled text.
>>> For example:
>>> "表格" displays as "表格" in the search result page.
>>> And of couse, it returns no hitted page, but it is actually appeared in the 
>>> default "Sandbox" chinese page.
>>>
>>> For example:
>
>Search look ok to me, for example
>http://tuska.myxwiki.org/xwiki/bin/view/Main/Search?r=1=%E8%BF%90%E8%90%A5
>
>Probably an encoding issue in your setup like for the tag.
>
>>>
>>> 3. The Chinese Sandbox, incorrectly use "" instead of ">" in wiki 
>>> source text.
>>>
>>> For example:
>>> [[沙箱测试页面1Sandbox.TestPage1]]
>>> Should be:
>>> [[沙箱测试页面1>>Sandbox.TestPage1]]
>
>This one is indeed a real mistake. I could fix it but I believe the
>best would be for you to create an account on http://l10n.xwiki.org
>and directly fix the issue on
>http://l10n.xwiki.org/xwiki/bin/view/Platform/SandboxWebHome?action=viewall=zh
>so that you are credited as the author of the fix.
>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>
>> --
>> Thomas Mortagne
>
>
>
>-- 
>Thomas Mortagne
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] The "zh" Chinese support in XWiki-7.3 is very bad.

2015-12-03 Thread KirbY ZhoU
1. The "tags" feature display a lot of jumbled text.
For example:
"运营" displays as "运营", if I click "运营", it becomes "运营", much 
worse.

2. The "Solr Search" feature display a log of jumbled text.
For example:
"表格" displays as "表格" in the search result page.
And of couse, it returns no hitted page, but it is actually appeared in the 
default "Sandbox" chinese page.

For example:

3. The Chinese Sandbox, incorrectly use "" instead of ">" in wiki source 
text.

For example:
[[沙箱测试页面1Sandbox.TestPage1]]
Should be:
[[沙箱测试页面1>>Sandbox.TestPage1]]








___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Cannot deal with Chinese tags on XWiki-7.3

2015-12-03 Thread KirbY ZhoU
I create a new tag named "运营”
But, it displays just like rubbish, And I can not remove it nor rename it.

I think the problem is in "tag=è¿%C2%90è%C2%90¥" encodings.
If I manually input the URL with "tag=运营", the actions goes well, but display 
still be bad.

…/xwiki/bin/view/Main/Tags?do=viewTag=è¿%C2%90è%C2%90¥

…/xwiki/bin/view/Main/Tags?do=viewTag=运营

The expected display should be like below:

My browser is Safara 9.0.1 under Mac.








___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to remove obsolete Application from Administrator Panal?

2015-10-30 Thread KirbY ZhoU
Thanks, but there is nothing in the list of 'installed as extension”
I forget how it is got here.





在 15/10/30 下午6:39,“users 代表 Thomas Mortagne” 写入:

>It depends how it got there. If it's been installed as extension
>(alone or as dependency of XWiki Enterprise) you just need to go to
>"installed extension" and search for wiki manager application/plugin.
>
>On Fri, Oct 30, 2015 at 11:34 AM, kirbyzhou  wrote:
>> How to remove obsolete Application from Administrator Panel?
>>
>> The "Wikis" application is obsolete, but I donot know how to remove it.
>>
>>
>>
>>
>>
>> --
>> View this message in context: 
>> http://xwiki.475771.n2.nabble.com/How-to-remove-obsolete-Application-from-Administrator-Panal-tp7596673.html
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>-- 
>Thomas Mortagne
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users