[xwiki-users] RES: Could not initialize main XWiki context - Xwiki 2.4

2010-08-26 Thread Ramon Gomes Brandão - SERINT
Travis, It seems that your line in the default database config jdbc:myql://localhost/xwiki is misspelled in the "jdbc:myql" part. Isn't it "jdbc:mysql"? That would justify the "error in your Hibernate config file" exception message. Regards, Ramon Gomes Brandão -Mensagem original-

[xwiki-users] Could not initialize main XWiki context - Xwiki 2.4

2010-08-26 Thread Travis Riggs
I recently switched to a new server and upgraded to the Xwiki Enterprise 2.4. I was able to get the installation working, but after an update to Tomcat6 from the Ubuntu repository, Xwiki stopped working. (I'm not completely sure that the tomcat update was the problem) I tried re-installing Xwiki

[xwiki-users] TAG Application with international characters

2010-08-26 Thread Ramon Gomes Brandão - SERINT
Hi, In the Tags Application at the bottom of Main.WebHome, all the assigned tags are displayed correctly with international characters (like í, ç, ô á etc). When Ii click on one of them to present the tagged documents, the tag appears all messed up due to the intl chars (such as "Ã" in place

[xwiki-users] Calendar Application on XE 2.4 - i18n characters and others

2010-08-26 Thread Ramon Gomes Brandão - SERINT
Hi Raluca/Lockie/XWiki Users, I have 3 questions: 1) How can I convert the XWiki.CalendarSheet from XWiki 1.0 to XWiki 2.0 syntax, so I can use Annotations on it? 2) Why international characters (like ç, õ, ã) are not displayed correctly only on the event title, both on the events list as wel

Re: [xwiki-users] Enable wysiwyg editor for dynamically createdobjects

2010-08-26 Thread Matthew Hildebrand
Marius, Thanks for the info. That got me pointed in the correct direction, and I've got the wysiwyg editor appearing. However there are a few weirdness issues... 1) Some of the CSS stylings are not being attached to the wysiwyg editor (the specific one that I have noticed is that tables no longer

Re: [xwiki-users] How do I for receive a very long string as a parameter in a funtion?

2010-08-26 Thread Raluca Stavro
Hello, What you should do is to escape the URL using the Velocity escaping tool (http://velocity.apache.org/tools/devel/generic/EscapeTool.html) : #set($url = $escapetool.url('http://testforge.int-evry.fr/d2r-server/snorql/?query=%09%09SELECT+DISTINCT++%3Fname+%3Fpackage+WHERE+%7B%0D%0A%09%09%7B

Re: [xwiki-users] Permissions for the bottom Xwiki panel??

2010-08-26 Thread Kaya Saman
Thanks very much Caleb and Raluca, I used the: #if($displayDocExtra&& !$isGuest) #template("docextra.vm") #end method in 'docextra.vm' template and now things are working fine :-) Also the link that was given states how to change the background image as well which am going to attempt s

Re: [xwiki-users] How can I get the name and last name from the current user in a different variables?

2010-08-26 Thread abrante
Thanks a lot, works perfect :) -- View this message in context: http://xwiki.475771.n2.nabble.com/How-can-I-get-the-name-and-last-name-from-the-current-user-in-a-different-variables-tp5464729p5464941.html Sent from the XWiki- Users mailing list archive at Nabble.com.

Re: [xwiki-users] How can I get the name and last name from the current user in a different variables?

2010-08-26 Thread Guillaume Lerouge
Hi, On Thu, Aug 26, 2010 at 10:28, Francis Abrante wrote: > How can I get the name and last name from the current user in a different > variables? > Until now I obtain the current user with $context.user but I need the name > separated from the last name. > Thanks > You could try: {{velocity}}

Re: [xwiki-users] How can I get the name and last name from the current user in a different variables?

2010-08-26 Thread Elena-Oana Tabaranu
Hi, You can use the following code snippet: $!xwiki.getUserName($context.user, "$first_name", false) $!xwiki.getUserName($context.user, "$last_name", false) I hope this helps, Oana abrante wrote: > How can I get the name and last name from the current user in a different > variables? > Until now

[xwiki-users] Showing edit comments in Recent Changes (Xwiki 2.3.1)

2010-08-26 Thread West, Graeme
Hello all, I was wondering if there's a way to change the Velocity macro which generates the Recent Changes list on my Xwiki's dashboard to show the comment associated with a change, underneath each change? I found this thread [1] but it doesn't seem to be relevant to more recent versions of Xw

Re: [xwiki-users] Alphabetical sorting of spaces in the panel

2010-08-26 Thread Guillaume Lerouge
Hi Pierre, On Thu, Aug 26, 2010 at 10:23, Dalluege, Pierre (extern) < p.dallu...@external.telekom.de> wrote: > Hi Xwiki users, > > I am pretty sure, there is already a solution out there... > > There is a panel availiable for showing the spaces for navigation purposes. > Due to right management i

Re: [xwiki-users] How can I get the name and last name from the current user in a different variables?

2010-08-26 Thread Marius Dumitru Florea
If you edit your profile with the object editor you'll see there is an object of class XWiki.XWikiUsers attach to it. Use http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage to access that object and to query its properties. Hope this helps, Marius On 08/26/2010 1

Re: [xwiki-users] Alphabetical sorting of spaces in the panel

2010-08-26 Thread Marius Dumitru Florea
Hi Pierre, On 08/26/2010 11:23 AM, Dalluege, Pierre (extern) wrote: > Hi Xwiki users, > > I am pretty sure, there is already a solution out there... > > There is a panel availiable for showing the spaces for navigation purposes. > Due to right management issues I have a few and I need to sort the

[xwiki-users] How can I get the name and last name from the current user in a different variables?

2010-08-26 Thread abrante
How can I get the name and last name from the current user in a different variables? Until now I obtain the current user with $context.user but I need the name separated from the last name. Thanks -- View this message in context: http://xwiki.475771.n2.nabble.com/How-can-I-get-the-name-and-last

[xwiki-users] How can I get the name and last name from the current user in a different variables?

2010-08-26 Thread Francis Abrante
How can I get the name and last name from the current user in a different variables? Until now I obtain the current user with $context.user but I need the name separated from the last name. Thanks ___ users mailing list users@xwiki.org http:/

[xwiki-users] Alphabetical sorting of spaces in the panel

2010-08-26 Thread Dalluege, Pierre (extern)
Hi Xwiki users, I am pretty sure, there is already a solution out there... There is a panel availiable for showing the spaces for navigation purposes. Due to right management issues I have a few and I need to sort them correctly. Is there anyone who sorted this (or other) lists within velocity?