[xwiki-users] Error on MapMacro

2010-11-14 Thread Gerritjan Koekkoek
Hello I've imported the MapMacro into my test XWIKI. If I go to the page imported XWiki/MapMacro the 2 examples show each 2 errors. 1. Failed to execute the [code] macro 2. Not a inline macro In the details of error 1 I see a out-of-memory error, i'm running on Mac OS X 10.6.5, Tomcat 6.0.29,

[xwiki-users] Watchlist issuie (page links give localhost)

2010-11-14 Thread Eugen Colesnicov
After updating XWiki to 2.5.1 (before was 2.2.6), in watchlist emais, in page links, instead of network name of a resoure (servername or local domain synonym) shows localhost. Is it some bug in 2.5.1 or I can setup this by some parameters? XWiki uses inside local network as a intranet. -- Best

[xwiki-users] showing/hiding annotations entry in contentmenu

2010-11-14 Thread Ricardo Rodriguez [eBioTIC.]
Hi, I see how to control edit, export, action and watch appearance in contentmenu div by tweaking contentmenu.vm. But, please, how could I get the same control over Annotations entry in the same are? I want to show annotations only to users with edit rights in a given doc. Thanks! Ricardo

Re: [xwiki-users] showing/hiding annotations entry in contentmenu

2010-11-14 Thread Ricardo Rodriguez [eBioTIC.]
Ricardo Rodriguez [eBioTIC.] wrote: Hi, I see how to control edit, export, action and watch appearance in contentmenu div by tweaking contentmenu.vm. But, please, how could I get the same control over Annotations entry in the same are? I want to show annotations only to users with edit

Re: [xwiki-users] Automatically list and link files in a directory with Groovy

2010-11-14 Thread Lockie
Thanks for the reply Ricardo it was very informative! Fortunately I simply just need to list and link the files and not worry about addding metadata. I think there might be a way to do this using the php macro so I'll try that and post here if I work it out. - Lockie -- View this

Re: [xwiki-users] Automatically list and link files in a directory with Groovy

2010-11-14 Thread Lockie
Okay I got it working and I'm very happy with the result! I'll share what I did incase anyone else is interested in doing this. Note that the links don't work in Firefox (the file:// part doesn't seem to generate). My users only use IE so I didn't really explore this problem, but you can play