[xwiki-users] XWiki in Japanese

2009-12-03 Thread Jim Grisanzio
Hi ... We use XWiki 1.8 (yes, we're updating soon) for OpenSolaris, and we have a large and active community in Japan. In fact, Japan is the #1 non-English language driving traffic to our site. I notice that Japanese is not supported but these 21 languages are:

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread EBIHARA, Yuichiro
Hello from Tokyo. As far as I know, XWiki is not so popular in Japan and there is little information written in Japanese about XWiki on the Internet. I could find something if someone were working on Japanese localization. Thanks, ebi 2009/12/3 Jim Grisanzio jim.grisan...@sun.com: Hi ... We

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread Vincent Massol
Hi Jim, On Dec 3, 2009, at 9:15 AM, Jim Grisanzio wrote: Hi ... We use XWiki 1.8 (yes, we're updating soon) for OpenSolaris, and we have a large and active community in Japan. In fact, Japan is the #1 non-English language driving traffic to our site. I notice that Japanese is not

[xwiki-users] simple declare a list in velocity

2009-12-03 Thread Bubulina
hello this is by far the most easiest thing ... but i have some data that i want to simple add in a list #set($dateList = new ArrayList() ) $dateList.add($dateD) whyyy is this wrong? how do i else declare a list ? cause it does not work thank you -- View this message in context:

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread Jim Grisanzio
EBIHARA, Yuichiro wrote: Hello from Tokyo. As far as I know, XWiki is not so popular in Japan It will be. :) and there is little information written in Japanese about XWiki on the Internet. I've been asking around and realize that now. So we have to change that situation, right? For

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread Jim Grisanzio
Vincent Massol wrote: On Dec 3, 2009, at 9:15 AM, Jim Grisanzio wrote: We use XWiki 1.8 (yes, we're updating soon) for OpenSolaris, and we have a large and active community in Japan. In fact, Japan is the #1 non-English language driving traffic to our site. I notice that Japanese is

Re: [xwiki-users] simple declare a list in velocity

2009-12-03 Thread Flavius Olaru
In velocity you don't have the keywork *new*. You should use the variable $util to declare a list. #set($dateList = $util.arrayList) $dateList.add($dateD) And on operations with lists you use $listttool. $listtool.size($dateList) Best regards, Flavius Olaru On Thu, Dec 3, 2009 at 10:50 AM,

Re: [xwiki-users] simple declare a list in velocity

2009-12-03 Thread Vincent Massol
On Dec 3, 2009, at 10:02 AM, Flavius Olaru wrote: In velocity you don't have the keywork *new*. You should use the variable $util to declare a list. $util is deprecated and yes indeed you should use the $listtool. Doc is here:

Re: [xwiki-users] simple declare a list in velocity

2009-12-03 Thread Vincent Massol
On Dec 3, 2009, at 10:20 AM, Ludovic Dubost wrote: To add some information to this. The reason why there is no direct way to create a object from velocity is for security reasons. So we provide util functions for creating java objects we have audited to be secure (not allow to access

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread Jim Grisanzio
Vincent Massol wrote That's great. On our side, we'll upgrade l10n.xwiki.org to a more recent version (it's on XE 1.6.x now) and fix the error there's now to make it nicer and more appealing. Ok, thanks. I'll send some mail to our g11n-ja lists tomorrow and see what they say. Jim

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread EBIHARA, Yuichiro
Jim, I totally agree with you. My XWiki system that I'm currenty working on will go live early next year and I thought I had to localize it to Japanese myself. Please feel free to contact me if there is anything that I can help. Thanks, ebi 2009/12/3 Jim Grisanzio jim.grisan...@sun.com:

Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Vincent Gerris
Hi all, I just did something like this recently and think I can explain it briefly. It's a bit of work and I get some errors I do not understand, but it works. Here's how I did it: 1. Make a complete export of the Wiki in the admin backend. 2. Extract the XAR you have. 3. Edit package.xml :

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread Jim Grisanzio
EBIHARA, Yuichiro wrote: Jim, I totally agree with you. My XWiki system that I'm currenty working on will go live early next year and I thought I had to localize it to Japanese myself. yah, we were going to do the same thing but then we'd have to maintain a fork. And that just gets

Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Vincent Massol
Hi Vincent, On Dec 3, 2009, at 11:14 AM, Vincent Gerris wrote: Hi all, I just did something like this recently and think I can explain it briefly. It's a bit of work and I get some errors I do not understand, but it works. Here's how I did it: 1. Make a complete export of the Wiki

Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Guillaume Lerouge
Hi Vincent, On Thu, Dec 3, 2009 at 11:14 AM, Vincent Gerris v.j.ger...@hhs.nl wrote: Hi all, I just did something like this recently and think I can explain it briefly. It's a bit of work and I get some errors I do not understand, but it works. Here's how I did it: 1. Make a complete

Re: [xwiki-users] simple declare a list in velocity

2009-12-03 Thread Thomas Mortagne
On Thu, Dec 3, 2009 at 10:41, Vincent Massol vinc...@massol.net wrote: On Dec 3, 2009, at 10:20 AM, Ludovic Dubost wrote: To add some information to this. The reason why there is no direct way to create a object from velocity is for security reasons. So we provide util functions for creating

Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Guillaume Lerouge
Hi Vincent, can you try this next time you need to create a new blog in your wiki: http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis and tell me how it goes? Guillaume On Thu, Dec 3, 2009 at 11:42 AM, Guillaume Lerouge guilla...@xwiki.comwrote: Hi

Re: [xwiki-users] How to specify mime-type for MSOffice-2007 document attachments

2009-12-03 Thread Sergiu Dumitriu
On 12/03/2009 12:09 AM, Milind Kamble wrote: Hi. I am test driving XWiki Enterprise for my group at work. Kudos and thanks to the developers for putting together this fabulous app. I am having trouble with MSOffice-2007 documents attached to pages in the wiki. The content-type header

Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Sergiu Dumitriu
On 12/03/2009 01:01 PM, Guillaume Lerouge wrote: Hi Vincent, can you try this next time you need to create a new blog in your wiki: http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis and tell me how it goes? Guillaume This is still too

Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Guillaume Lerouge
Hi, On Thu, Dec 3, 2009 at 1:52 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 12/03/2009 01:01 PM, Guillaume Lerouge wrote: Hi Vincent, can you try this next time you need to create a new blog in your wiki:

Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Vincent Massol
On Dec 3, 2009, at 2:15 PM, Guillaume Lerouge wrote: Hi, On Thu, Dec 3, 2009 at 1:52 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 12/03/2009 01:01 PM, Guillaume Lerouge wrote: Hi Vincent, can you try this next time you need to create a new blog in your wiki:

Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Guillaume Lerouge
Hi, On Thu, Dec 3, 2009 at 2:28 PM, Vincent Massol vinc...@massol.net wrote: On Dec 3, 2009, at 2:15 PM, Guillaume Lerouge wrote: Hi, On Thu, Dec 3, 2009 at 1:52 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 12/03/2009 01:01 PM, Guillaume Lerouge wrote: Hi Vincent, can you

[xwiki-users] Probaly cracked Xwiki

2009-12-03 Thread Valdis Vītoliņš
Hello, I'd just like to wan you that it seems my Xwiki site has been cracked few hours ago. One notable change is that copyright string now is Copyright 2004-2007 (c) XPertNet and Contributing Authors I'm still investigating, reason, but please be watchful you also. Valdis

[xwiki-users] sort problem or missunderstanding of tool?

2009-12-03 Thread Bubulina
Hello, So only by using the tools i can use lists and sort right? this code should work: $dateList.add($date) //it populates $sorter.sort($dateList,[${date}:asc]) //does not sort ##Collections.sort($dateList) or maybe $dateList.sort() //does not work -- View this message in context:

Re: [xwiki-users] sort problem or missunderstanding of tool?

2009-12-03 Thread Vincent Massol
On Dec 3, 2009, at 2:54 PM, Bubulina wrote: Hello, So only by using the tools i can use lists and sort right? this code should work: Show us the full code. We can't see how you've initialized the dateList array. $dateList.add($date) //it populates

Re: [xwiki-users] sort problem or missunderstanding of tool?

2009-12-03 Thread Bubulina
#foreach($subdoc in $allPages) #set($suffix = $subdoc.substring(0,3)) #if($suffix == stge) tr #set($rcDoc = $xwiki.getDocument($subdoc)) #set($rcDt =

Re: [xwiki-users] sort problem or missunderstanding of tool?

2009-12-03 Thread Bubulina
this works: #foreach ($d in $xwiki.sort($dateList)) td$d/td #end Bubulina wrote: #foreach($subdoc in $allPages) #set($suffix = $subdoc.substring(0,3)) #if($suffix == stge) tr

Re: [xwiki-users] Xwiki 2.0.3 : Questions, Problems and Feedback

2009-12-03 Thread PERINAUD Christophe
Hi Yes, you can configure it to display those buttons. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor I tried and it works great. Thank you. I changed the XWikiPreferences to override values for the wysiwyg editor but i will modify the vm file because the class takes

Re: [xwiki-users] sort problem or missunderstanding of tool?

2009-12-03 Thread Josh
Check out $util, it has a lot of useful methods. http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D2.1%2Dmilestone%2D1%2Djavadoc.jar/com/xpn/xwiki/api/Util.html -Joshua Bubulina wrote: this works: #foreach ($d in $xwiki.sort($dateList)) td$d/td #end Bubulina

Re: [xwiki-users] Xwiki 2.0.3 : Questions, Problems and Feedback

2009-12-03 Thread PERINAUD Christophe
Thank you Asiri, i will ask the support to update the value and i will test it again. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Asiri Rathnayake Envoyé : jeudi 3 décembre 2009 15:53 À : XWiki Users Objet : Re: [xwiki-users]

[xwiki-users] get something with indexOf

2009-12-03 Thread Bubulina
#set($count = 0) #foreach ($d in $xwiki.sort($dateList)) tr td$d /td td $pageList.indexOf[$count] $pageList.indexOf[$count] /td tddelete/td /tr #set($count = $count +1) #end just want to get the something from a list on the

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread Vincent Massol
Hi Jim, On Dec 3, 2009, at 10:36 AM, Vincent Massol wrote: On Dec 3, 2009, at 10:06 AM, Jim Grisanzio wrote: Vincent Massol wrote: On Dec 3, 2009, at 9:15 AM, Jim Grisanzio wrote: We use XWiki 1.8 (yes, we're updating soon) for OpenSolaris, and we have a large and active community in

Re: [xwiki-users] Components from the wiki

2009-12-03 Thread Lewis Denizen
Thanks Vincent! That's exactly what I needed :-) Just one more question, though.. Is it possible to inject dependencies by using the attributes defined within the class then? Right now, using the DefaultComponentDescriptor, I can inject dependencies using:

Re: [xwiki-users] Edit bug?

2009-12-03 Thread Lewis Denizen
Thanks for the tip Joshua and Thomas! Raised a JIRA though: http://jira.xwiki.org/jira/browse/XWIKI-4643 Appreciate the hard work on XWiki! On Wed, Dec 2, 2009 at 3:19 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: Hi, On Tue, Dec 1, 2009 at 18:51, Lewis Denizen orang...@gmail.com

Re: [xwiki-users] Probaly cracked Xwiki

2009-12-03 Thread Valdis Vītoliņš
After investigation I found that somebody somehow deleted /xwiki/bin/admin/XWiki/XWikiPreferences object. So here is question: how can I find, which xwiki document was deleted? (It is easy to find which document was added or modified, but not so about deleted ones). Valdis Hello, I'd just like

Re: [xwiki-users] Probaly cracked Xwiki

2009-12-03 Thread Vincent Massol
Hi Valdis, On Dec 3, 2009, at 4:56 PM, Valdis Vītoliņš wrote: After investigation I found that somebody somehow deleted /xwiki/bin/admin/XWiki/XWikiPreferences object. So here is question: how can I find, which xwiki document was deleted? (It is easy to find which document was added or

Re: [xwiki-users] Components from the wiki

2009-12-03 Thread Lewis Denizen
Actually... seems like componentDescriptor.addComponentDependency() doesn't add the dependency either :-( Just ends up being null when retrieving it. Is there something that needs to be done before injection happens on these objects? On Fri, Dec 4, 2009 at 12:34 AM, Lewis Denizen

Re: [xwiki-users] Components from the wiki

2009-12-03 Thread Vincent Massol
On Dec 3, 2009, at 4:34 PM, Lewis Denizen wrote: Thanks Vincent! That's exactly what I needed :-) Just one more question, though.. Is it possible to inject dependencies by using the attributes defined within the class then? Right now, using the DefaultComponentDescriptor, I can

Re: [xwiki-users] Components from the wiki

2009-12-03 Thread Vincent Massol
On Dec 3, 2009, at 5:14 PM, Lewis Denizen wrote: Actually... seems like componentDescriptor.addComponentDependency() doesn't add the dependency either :-( Just ends up being null when retrieving it. Is there something that needs to be done before injection happens on these

Re: [xwiki-users] get something with indexOf

2009-12-03 Thread Asiri Rathnayake
Hi, On Thu, Dec 3, 2009 at 8:49 PM, Bubulina nohin...@yahoo.com wrote: #set($count = 0) #foreach ($d in $xwiki.sort($dateList)) tr td$d /td td $pageList.indexOf[$count] $pageList.indexOf[$count] /td tddelete/td /tr

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread Jim Grisanzio
Vincent Massol wrote: That's great. On our side, we'll upgrade l10n.xwiki.org to a more recent version (it's on XE 1.6.x now) and fix the error there's now to make it nicer and more appealing. Done thanks to Thomas and Jean-Vincent. Wow. It`s beautiful. :) Jim

Re: [xwiki-users] get something with indexOf

2009-12-03 Thread Bubulina
evening, out of curiosity, is it possible to make something, to write a line of code without the #set( but to not show the result on the page? for instance: - if i #set($list = $util.arrayList) and then $list.add($x) -just add x to the list, but in the same time shows true printed on the page. i

[xwiki-users] printing something or using it in a logic flow

2009-12-03 Thread Bubulina
evening, out of curiosity, is it possible to make something, to write a line of code without the #set( but to not show the result on the page? for instance: - if i #set($list = $util.arrayList) and then $list.add($x) -just add x to the list, but in the same time shows true printed on the page. i

[xwiki-users] Google wave and Xwiki integration == solve comment issues in Xwiki?

2009-12-03 Thread Niels Mayer
I just got my Google Wavehttp://mashable.com/2009/05/28/google-wave-guide/invite and have been trying to understand how I can use it with my Xwiki http://xwiki.org-based application (soon launching on http://trainspodder.com see example-screenhttp://nielsmayer.com/prototype-11-17-2009.jpg: my

[xwiki-users] Nice to Meet You!

2009-12-03 Thread Reiko Saito
Hi all, Nice to meet you! I am Reiko Saito from OpenSolaris.org JA community. I manages OpenSolaris.org JA site, as one of the leaders. http://hub.opensolaris.org/bin/view/User+Group+tsug/ http://hub.opensolaris.org/bin/view/Community+Group+int_localization/ja_group I've just joined this

Re: [xwiki-users] office importer vs graphics

2009-12-03 Thread Peter Lees
Asiri Rathnayake wrote: Hi, On Fri, Nov 27, 2009 at 11:45 AM, Peter Lees p...@yseda.com wrote: hi folks i am having lots of trouble importing documents with graphics in them. even a doc with 1 or 2 small graphics is running past the timeout period (even though i've set timeout to

Re: [xwiki-users] office importer vs graphics

2009-12-03 Thread Asiri Rathnayake
Hi, Can anyone confirm whether they can import documents with images with: - linux 2.6(.18) - openoffice.org 3.1.1 - xwiki (standalone) 2.0.3 I'm downloading XE 2.0.3 now. Will let you know soon. However, since you said you are on a VMWare platform, make sure that your OpenOffice

Re: [xwiki-users] office importer vs graphics

2009-12-03 Thread Asiri Rathnayake
Hi again, - linux 2.6(.18) - openoffice.org 3.1.1 - xwiki (standalone) 2.0.3 I'm downloading XE 2.0.3 now. Will let you know soon. However, since you said you are on a VMWare platform, make sure that your OpenOffice server is actually listening in port 8100 (configurable). Can you

Re: [xwiki-users] Nice to Meet You!

2009-12-03 Thread Vincent Massol
Hi Reiko, On Dec 4, 2009, at 6:04 AM, Reiko Saito wrote: Hi all, Nice to meet you! I am Reiko Saito from OpenSolaris.org JA community. I manages OpenSolaris.org JA site, as one of the leaders. http://hub.opensolaris.org/bin/view/User+Group+tsug/

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread Jim Grisanzio
Jim Grisanzio wrote: Vincent Massol wrote That's great. On our side, we'll upgrade l10n.xwiki.org to a more recent version (it's on XE 1.6.x now) and fix the error there's now to make it nicer and more appealing. Ok, thanks. I'll send some mail to our g11n-ja lists tomorrow and

Re: [xwiki-users] Nice to Meet You!

2009-12-03 Thread Jim Grisanzio
Reiko Saito wrote: Hi all, Nice to meet you! I am Reiko Saito from OpenSolaris.org JA community. I manages OpenSolaris.org JA site, as one of the leaders. http://hub.opensolaris.org/bin/view/User+Group+tsug/ http://hub.opensolaris.org/bin/view/Community+Group+int_localization/ja_group

Re: [xwiki-users] XWiki in Japanese

2009-12-03 Thread Vincent Massol
On Dec 4, 2009, at 7:52 AM, Jim Grisanzio wrote: Jim Grisanzio wrote: Vincent Massol wrote That's great. On our side, we'll upgrade l10n.xwiki.org to a more recent version (it's on XE 1.6.x now) and fix the error there's now to make it nicer and more appealing. Ok, thanks. I'll send