Re: [xwiki-users] Get class from space and retrieve list of attached objects..

2009-01-16 Thread Jean Couteau
Hi Kevin, I think I have done something quite similar to what you want to do : #set ($hql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.DomainClass'") #foreach ($item in $xwiki.searchDocuments($hql)) #if($item==$doc) #foreach ($domain in $xwiki.getDocument($

[xwiki-users] Errors in XWiki : Watchlist Updates

2009-01-16 Thread harri...@gmail
I always receive the following error in the watchlist update notification. Can anyone help indicate how to resolve this issue? Error number 4001 in 4: Error while parsing velocity page XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content with id [XWiki.WatchListMessage] E

[xwiki-users] the panel for "create" new page disappear

2009-01-16 Thread harri...@gmail
Several guys were creating pages around the same time in XE and everything was working. All of sudden, I noticed that I can't create new page anymore because the panel of creating the new page disappeared. It appeared that no one can create new page as this panel just disappeared. Can anyone hel

Re: [xwiki-users] Find all objects of a class (more than one object on a page)

2009-01-16 Thread Jean Couteau
Thanks for the hint, I did not try the getObjects method but getObject. Problem solved. Marius Dumitru Florea a écrit : > Hi, > > See the javadoc for Document here http://tinyurl.com/9hxpot . Pay > attention especially to getObject* methods. For each document retrieved > with your HQL query you

[xwiki-users] ldap error - nullpointerexception - XWiki 1.7 - Tomcat 6.0.18

2009-01-16 Thread Sebastian Kannengiesser
Hi guys, can anyone tell me, what this might be about when trying to loging via Ldap on Active directory? ---snip-- java.lang.NullPointerException at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:157 at com.xpn.xwiki.user.impl.

[xwiki-users] Visio diagram / map

2009-01-16 Thread Mike A.
Hi! Is it possible to import a Visio diagram (with links) into XWiki page? I mean the functionality like in Sharepoint: you save the diagram as a web page and then import it. Best regards, Mike ___ users mailing list users@xwiki.org http://lists.x

Re: [xwiki-users] Errors in XWiki : Watchlist Updates

2009-01-16 Thread DarthOps
Looks like the same issue that I was having http://n2.nabble.com/WatchList-Email-Error-td2151183.html harri...@gmail wrote: > > I always receive the following error in the watchlist update notification. > Can anyone help indicate how to resolve this issue? > > > > > > Error number 400

Re: [xwiki-users] the panel for "create" new page disappear

2009-01-16 Thread Kevin_C
Use the Administration menu item at the top of your wiki and select "Administrate Wiki". Then choose "Panel Wizard". The "New Page" panel is under tools. Find it and drag it onto either the left or right column. If you don't have either column showing you'll need to choose the "Page Layout" tab at

Re: [xwiki-users] ldap error - nullpointerexception - XWiki 1.7 - Tomcat 6.0.18

2009-01-16 Thread Thomas Mortagne
Hi there is a bug in debug log printing in 1.7 which is fixed in 1.7.1. So to fix this you can disable LDAP debug log or upgrade to 1.7.1 (which is always recommended). On Fri, Jan 16, 2009 at 1:06 PM, Sebastian Kannengiesser wrote: > Hi guys, > > can anyone tell me, what this might be about whe

Re: [xwiki-users] Get class from space and retrieve list of attached objects..

2009-01-16 Thread Kevin_C
I thought your other post looked like what I was trying but I wasn't getting the results I expected with any of the getObject* methods.. It turns out I think I was getting fooled by a toString() method. My problem was this: #set($hql = ", BaseObject as obj where obj.name = doc.fullName and obj.cl

Re: [xwiki-users] Get class from space and retrieve list of attached objects..

2009-01-16 Thread Kevin_C
>$xwiki.searchDocuments returns a list of document names (well, it is called >"search documents"), and not objects or classes. The query does filter only >the documents that do have the objects you're interested in, you'll just have >to access them using the API, starting from the document name.

Re: [xwiki-users] ldap error - nullpointerexception - XWiki 1.7 - Tomcat 6.0.18

2009-01-16 Thread Sebastian Kannengiesser
Hi Thomas, thanx for this. I thought it would be about a real ldap problem, since it still didn''t work here with our AD. Now it is working, as I found out, I had to also change : xwiki.authentication.ldap.bind_DN=benutzer\\{0} to xwiki.authentication.ldap.bind_DN=cn={0},ou=benutzer,dc=ruv,dc=

[xwiki-users] Strangeness with numbers...

2009-01-16 Thread Kevin_C
Why can't I do something like: #set($tRule = "") #set($idx = $tRule.indexOf(',')) $idx ## Outputs -1 $idx+1 ## Outputs -1+1 I've tried using the $number tool but it doesn't work, if I do: $number.format($idx) It outputs $number.format($idx). What am I missing? .:. Kevin -- View this me

Re: [xwiki-users] Strangeness with numbers...

2009-01-16 Thread Vincent Massol
Hi, On Jan 16, 2009, at 4:05 PM, Kevin_C wrote: > > Why can't I do something like: > > #set($tRule = "") > #set($idx = $tRule.indexOf(',')) > > $idx ## Outputs -1 > > $idx+1 ## Outputs -1+1 > > I've tried using the $number tool but it doesn't work, if I do: > > $number.format($idx) > > It outpu

Re: [xwiki-users] Tags

2009-01-16 Thread Ajdin Brandic
Tags facility to display all tags in XWiki is not working as I mentioned before. I would really like someone from the development team to answer this post as there are others with the same problem. I searched internet for 'xwiki tags' and 'how to use xwiki tags' but get tons of pages which dis

Re: [xwiki-users] Tags

2009-01-16 Thread Vincent Massol
Hi Ajdin, I've just tested with a 1.8-SNAPSHOT version built a few minutes ago and it worked fine. Here's what I did: 1) go to tags page. No tags showing 2) tag the home page using the information panel in edit mode 3) go back to the tags page. The new tag is showing. Thanks -Vincent On Jan 16

Re: [xwiki-users] Tags

2009-01-16 Thread Ajdin Brandic
Hi Vincent I just did the same and no tags showing. If I reedit the main page the tags are clearly displayed in the tag field so they have been saved. I guess when you say "2) tag the home page using the information panel in edit mode" it means simply edit with WYSIWYG or editor=wiki. Ajdin

Re: [xwiki-users] Tags

2009-01-16 Thread Jean Couteau
Hi Ajdin, as stated before, I had the same problem on my xwiki (1.7.0). I Don't know why but know I can display all the tags (I even use the tag cloud piece of code I found on xwiki.org). How many pages have you tagged ? If I remember well, I had arround 10 tags when xwiki 'decided' that I cou

Re: [xwiki-users] Tags

2009-01-16 Thread Vincent Massol
On Jan 16, 2009, at 5:21 PM, Ajdin Brandic wrote: > Hi Vincent > > I just did the same and no tags showing. If I reedit the main page > the tags are clearly displayed in the tag field so they have been > saved. > > I guess when you say "2) tag the home page using the information > panel in

Re: [xwiki-users] Tags

2009-01-16 Thread Vincent Massol
ok have a look at http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags I copied paste the content I had for the tags page from my local wiki. 2 things could have happened (still checking): 1) the page had the wrong content 2) when I saved I saved using programming rights and that p

Re: [xwiki-users] Tags

2009-01-16 Thread Vincent Massol
On Jan 16, 2009, at 5:37 PM, Vincent Massol wrote: > ok have a look at > http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags > > I copied paste the content I had for the tags page from my local wiki. > 2 things could have happened (still checking): > 1) the page had the wrong conte

[xwiki-users] Convert XE to XEM

2009-01-16 Thread hel-o
Hi, Just tried to convert my existing XE instance to XEM (application manager 1.5, wiki manager 1.6). The existing wikis are displayed in the WikiManager.WebHome page. But when i try to edit an existing wiki i get the following error: A problem occured while trying to service your request. Plea

Re: [xwiki-users] Convert XE to XEM

2009-01-16 Thread Thomas Mortagne
On Fri, Jan 16, 2009 at 6:26 PM, hel-o wrote: > > Hi, > > Just tried to convert my existing XE instance to XEM (application manager > 1.5, wiki manager 1.6). > > The existing wikis are displayed in the WikiManager.WebHome page. But when i > try to edit an existing wiki i get the following error:

Re: [xwiki-users] Convert XE to XEM

2009-01-16 Thread Thomas Mortagne
On Fri, Jan 16, 2009 at 6:41 PM, Thomas Mortagne wrote: > On Fri, Jan 16, 2009 at 6:26 PM, hel-o wrote: >> >> Hi, >> >> Just tried to convert my existing XE instance to XEM (application manager >> 1.5, wiki manager 1.6). >> >> The existing wikis are displayed in the WikiManager.WebHome page. But

Re: [xwiki-users] Convert XE to XEM

2009-01-16 Thread hel-o
This happens when i edit the wiki descriptor (XWiki.XWikiServerWikiname) The database engine is Mysql. It worked before. Allready had the XWiki.ServerClass and imported the Wiki Manager xar. -> also imported XWiki.ServerClass, XWiki.ServerClassTemplate and XWiki.ServerClassStylesheet overwriti

Re: [xwiki-users] Strangeness with numbers...

2009-01-16 Thread Marius Dumitru Florea
Vincent Massol wrote: > Hi, > > On Jan 16, 2009, at 4:05 PM, Kevin_C wrote: > >> Why can't I do something like: >> >> #set($tRule = "") >> #set($idx = $tRule.indexOf(',')) >> >> $idx ## Outputs -1 >> >> $idx+1 ## Outputs -1+1 Natural, remember velocity is a template language. #set($idx = $id

Re: [xwiki-users] Convert XE to XEM

2009-01-16 Thread Sergiu Dumitriu
hel-o wrote: > This happens when i edit the wiki descriptor (XWiki.XWikiServerWikiname) > > The database engine is Mysql. > > It worked before. Allready had the XWiki.ServerClass and imported the Wiki > Manager xar. > > -> also imported XWiki.ServerClass, XWiki.ServerClassTemplate and > XWiki.Se

Re: [xwiki-users] Strangeness with numbers...

2009-01-16 Thread Kevin_C
Yah, that makes sense.. Still trying to get the hang of all this. Thanks again!! .:. Kevin -- View this message in context: http://n2.nabble.com/Strangeness-with-numbers...-tp2168613p2170342.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___

Re: [xwiki-users] Strangeness with numbers...

2009-01-16 Thread Kevin_C
Ugh, typo. Sorry. I ended up using $util.add($num, 1).. Thanks! .:. Kevin -- View this message in context: http://n2.nabble.com/Strangeness-with-numbers...-tp2168613p2170347.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ u

Re: [xwiki-users] Convert XE to XEM

2009-01-16 Thread hel-o
Hi, yes i think the property type has been a string now it is a list of users. tried to change multiselect, but doesn't help so what can i do. Also tried to rename a wikidokument and create a new one but it didnt work. Sergiu Dumitriu-2 wrote: > > The problem is that the type of a property (

Re: [xwiki-users] Registration Email Error

2009-01-16 Thread Sergiu Dumitriu
DarthOps wrote: > Thanks for your suggestions, I agree that it looks related to my other > problem, the only thing is, I have managed to sort out the other problem > (with my watchlists) but this one hasn't been resolved by the fix, I have no > idea what could be causing this > > > > Kevin_C wro