Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread Paul Libbrecht
Le 21 sept. 2010 à 00:32, [Ricardo Rodriguez] eBioTIC. a écrit : >> For velocity support you need the Ultimate edition unfortunately. >> But the licenses for open-source projects are still being granted. >> For groovy, the Community edition is enough I believe. >> I don't see XWiki among the proj

[xwiki-users] Document concept

2010-09-20 Thread [Ricardo Rodriguez] eBioTIC.
Hi, Please, as an new XWiki *user* is created as a new instance of XWiki.XWikiUser class, what class is instantiated to create a new XWiki *document*? Thanks! -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems ___

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread [Ricardo Rodriguez] eBioTIC.
Hi! Paul Libbrecht wrote: >> Do you use IntellijIDEA Community Edition or Ultimate Edition? >> > > For velocity support you need the Ultimate edition unfortunately. > But the licenses for open-source projects are still being granted. > For groovy, the Community edition is enough I believe. >

Re: [xwiki-users] Documents and classes design question

2010-09-20 Thread [Ricardo Rodriguez] eBioTIC.
Thanks, Raluca, Raluca Stavro wrote: > On Mon, Sep 20, 2010 at 9:29 AM, Raluca Stavro > wrote: > >> On Sat, Sep 18, 2010 at 12:38 PM, [Ricardo Rodriguez] eBioTIC. >> wrote: >> Hi, >> >> You can use translations (See >> http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingAppli

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread Paul Libbrecht
Le 20 sept. 2010 à 20:33, [Ricardo Rodriguez] eBioTIC. a écrit : >> Of course, this relies on the fact that my IntelliJ has all the necessary >> dependencies (I import the right pom.xml for this). >> I believe it should be possible to get this in Eclipse using the velocity >> mode but a friend

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread [Ricardo Rodriguez] eBioTIC.
Hi! >> ... It's easy to read the properties by using the web >> interface and ?editor=class to the URL of the document holding the class >> definition, but how could I do this programmatically? Of course, it has >> to be the code of that editor. But I'm not able yet of reading and >> Thi

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread [Ricardo Rodriguez] eBioTIC.
Thanks again, Paul, Paul Libbrecht wrote: > I think XEclipse does it pretty well. > But what I prefer to use is my favourite IDE IntelliJ IDEA. > For this, it depends if velocity or groovy. > > - if groovy, I use imports and give types to my variables... this way... > there's a way to "add variab

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread Paul Libbrecht
I think XEclipse does it pretty well. But what I prefer to use is my favourite IDE IntelliJ IDEA. For this, it depends if velocity or groovy. - if groovy, I use imports and give types to my variables... this way... there's a way to "add variables from context" but I was never fully satisfied wi

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread [Ricardo Rodriguez] eBioTIC.
Thanks, Paul! Paul Libbrecht wrote: > $.getClass() > or the failsafe variant: > $!.getClass() > > (which cannot be used as $.class) so as to recognize the class of an > object hence know the available properties. > Of course, the javadoc also helps. > > It seems really useful

Re: [xwiki-users] Migrating Xwiki

2010-09-20 Thread [Ricardo Rodriguez] eBioTIC.
Hi! Kaya Saman wrote: > I can keep the Postgres database that isn't a problem as it's available > on all platforms. However, when you say that Xwiki should be the same > release I was hoping to just copy the webapps/xwiki container as if I'm > not mistaken the xwiki.war file that I'm using gets

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread [Ricardo Rodriguez] eBioTIC.
Thanks! Raluca Stavro wrote: >> Please, as $context is a class and getUser() is a method of that class, >> what is .substring()? >> > > $context.getUser() returns a String representing the full name of the > current user document (ex: "XWiki.RicardoRodriguez"). > This is why, all the String m

Re: [xwiki-users] XWiki RESTful API: TAGS and unicode

2010-09-20 Thread Fabio Mancinelli
On 09/16/2010 10:24 PM, volker wrote: > Hello Fabio& friends, > > i tried to use curl and the RESTful API to > > 1) create a page: ok > 2) upload a file/image: ok > 3) create some TAGS to the page: > > 1) and 2) is working, but 3 is not working. Wh

Re: [xwiki-users] GeoGebra Applet is not working

2010-09-20 Thread Erica Usui
Ok! Thank you! Erica. 2010/9/20 Paul Libbrecht > Erica, > > this has nothing to do with XWiki. > > (geogebra.org is also not xwiki) > > It has to do with the installation of java on that linux box. > I would recommend you re-install java. > > paul > > > Le 20 sept. 2010 à 17:17, Erica Usui a éc

Re: [xwiki-users] GeoGebra Applet is not working

2010-09-20 Thread Paul Libbrecht
Erica, this has nothing to do with XWiki. (geogebra.org is also not xwiki) It has to do with the installation of java on that linux box. I would recommend you re-install java. paul Le 20 sept. 2010 à 17:17, Erica Usui a écrit : > "about:plugins"? Where do i find it? > > On linux evironment

Re: [xwiki-users] GeoGebra Applet is not working

2010-09-20 Thread Erica Usui
"about:plugins"? Where do i find it? On linux evironment the online geogebra doesn't work: http://www.geogebra.org/webstart/geogebra.html So i guess there isn't much i can do to make it work on xwiki when using linux. =\ 2010/9/17 Paul Libbrecht

Re: [xwiki-users] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-20 Thread Thomas Mortagne
I think i found what is wrong. I just created http://jira.xwiki.org/jira/browse/XWIKI-5511 and trying to find a clean fix. On Mon, Sep 20, 2010 at 13:00, Thomas Mortagne wrote: > On Mon, Sep 20, 2010 at 12:07, Maxime Mathieu > wrote: >> The template wiki does NOT contain the XWikiUsers, XWikiRig

[xwiki-users] [myxwiki] new wiki request

2010-09-20 Thread Norman Rides
Dear Colleagues, I am requesting assistance with setting up an xwiki to create a learning environment for a project I manage. Within the xwiki there will be eight Business Development Managers from small charitable organisations who provide Community Transport. The aim is to share learning thro

Re: [xwiki-users] XWiki users visibility

2010-09-20 Thread Guillaume Lerouge
Hi, yes, it's a known issue, it's because of the configuration of hidden spaces. There's a way to override them on a page locally, I just don't remember it. You can look in xwikivars.vm for hiddenSpaces to find out more about that. Maybe you can set the variable so as not to include the XWiki spa

[xwiki-users] XWiki users visibility

2010-09-20 Thread Andrea Belli
Hi all, I missed something about XWiki users object visibility. I put in a wiki page the velocity script for implementing the Live table sample with XWikiUser objects. It works if I log in with Admin rights. If I log in with a user without Admin rights (Programming rights are ok) the live table

Re: [xwiki-users] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-20 Thread Thomas Mortagne
On Mon, Sep 20, 2010 at 12:07, Maxime Mathieu wrote: > The template wiki does NOT contain the XWikiUsers, XWikiRights, XWikiGroups > classes. > > What you should really test is if you have a class XWiki/XWikiUsers >> since that's the real issue. >> >> > >> > If you want, I can send you the whole x

Re: [xwiki-users] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-20 Thread Maxime Mathieu
The template wiki does NOT contain the XWikiUsers, XWikiRights, XWikiGroups classes. What you should really test is if you have a class XWiki/XWikiUsers > since that's the real issue. > > > > > If you want, I can send you the whole xwiki.log. > > Yes that would be nice. > > I will send it to you a

Re: [xwiki-users] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-20 Thread Thomas Mortagne
On Mon, Sep 20, 2010 at 11:10, Maxime Mathieu wrote: > Trying to reproduce the issue encountered last week. > > The steps I follow : > Fresh MySQL DB with max_allowed_packet=64M. > Creation of the xwiki database and the xwiki user with the right privileges. > 2.4 SNAPSHOT replace the xwiki directo

Re: [xwiki-users] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-20 Thread Maxime Mathieu
Trying to reproduce the issue encountered last week. The steps I follow : Fresh MySQL DB with max_allowed_packet=64M. Creation of the xwiki database and the xwiki user with the right privileges. 2.4 SNAPSHOT replace the xwiki directory of the default installation (xwiki-enterprise-manager-mysql-2.

Re: [xwiki-users] Migrating Xwiki

2010-09-20 Thread Kaya Saman
Many thanks for the response Ricardo :-) On 19/09/2010 00:30, [Ricardo Rodriguez] eBioTIC. wrote: > Hi Kaya, > > Kaya Saman wrote: > >> [...] >> > Yes, I think it is possible to perform a migration, even thought I've > never done that. But, yes, I've moved XWiki installations from one >