Re: [xwiki-users] serious xEclipse problems 1.2-rc-1

2009-01-14 Thread Fabio Mancinelli
Verhás Péter wrote: Hi Peter, first of all thank you for your feedback. After starting it gives a warning: A conflict occurred for CTRL+P:Binding(CTRL+P, ParameterizedCommand(Command(org.eclipse.ui.file.print,Print, Print, but this seems to be fairly harmless. This is strange since the

Re: [xwiki-users] XWiki+JBoss+SSO Kerberos (Active Directory) on Windows Server 2003

2009-01-14 Thread Sebastian Kannengiesser
I would not consider using Windows for a second if I had a chance to take something different. But as a matter of fact, my company enforces me to set things up on Windows. Thnaks anyway. Any other suggestions from the Windows people, if there are any? Thanks again in advance. Cheers Sebastian

Re: [xwiki-users] Custom class field as field on a different class

2009-01-14 Thread Thomas Mortagne
On Tue, Jan 13, 2009 at 8:22 PM, Kevin_C kevin.cummi...@cpa.state.tx.us wrote: OK, I found an example of this but it's not really clear how the pieces fit together. ArticleClass has a property called Category which is basically what I am looking to do. This is the HQL query for that

Re: [xwiki-users] WatchList Email Error

2009-01-14 Thread Sergiu Dumitriu
Sergiu Dumitriu wrote: DarthOps wrote: Hi, I've managed to get my watchlist to send out emails, the only problem is that the following is displayed within the email: Caused by: java.lang.NullPointerException at com.xpn.xwiki.XWiki.getServletPath(XWiki.java:4317) This

Re: [xwiki-users] Using one Class and Template for creating documents in more than one space...

2009-01-14 Thread Kevin_C
Well, in order to create any kind of customizations for xwiki you have to understand how this works because everything is stored in the DB.. I'm a developer but I've only worked with Hibernate a very little bit, I'm looking forward to either some more detailed documentation on how to access

[xwiki-users] Linking to documents in different spaces

2009-01-14 Thread Kevin_C
I am using this query: #set($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='Space1.MyClass' and obj.name'${doc.space}.${class}ClassTemplate' and doc.space='MySpace') to return a list of documents from a different space and I am trying to now create a view link to the

Re: [xwiki-users] Linking to documents in different spaces

2009-01-14 Thread Anca Paula Luca
Kevin_C wrote: I am using this query: #set($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='Space1.MyClass' and obj.name'${doc.space}.${class}ClassTemplate' and doc.space='MySpace') to return a list of documents from a different space and I am trying to now

Re: [xwiki-users] WatchList Email Error

2009-01-14 Thread DarthOps
Thanks so much for your help, it worked! :jumping: Sergiu Dumitriu-2 wrote: Sergiu Dumitriu wrote: DarthOps wrote: Hi, I've managed to get my watchlist to send out emails, the only problem is that the following is displayed within the email: Caused by: java.lang.NullPointerException

Re: [xwiki-users] Registration Email Error

2009-01-14 Thread DarthOps
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 wrote: This looks like it is

Re: [xwiki-users] Custom class field as field on a different class

2009-01-14 Thread Kevin_C
Interesting... I just noticed that the Blog.Categories page just has a series of Category Objects added to it. Is there something special I need to do in order to use a link like the one used in the Categories app in order to add my object to a *holder* page? This is the link used for adding new

[xwiki-users] groovy.lang.MissingMethodException

2009-01-14 Thread Ajdin Brandic
Hi I'm trying to execute another script on Save event. I've created a notification class (based on xwiki example http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications) and pointed to it in Administration Programming Notification pages. This script gets called every time which is fine

Re: [xwiki-users] groovy.lang.MissingMethodException

2009-01-14 Thread Kevin_C
Is Summary a property you've added to a custom class that this document is an instance of? By default an XWiki document doesn't have a summary property which I believe is why you are getting that error. Hope this helps! .:. Kevin -- View this message in context:

Re: [xwiki-users] groovy.lang.MissingMethodException

2009-01-14 Thread Ajdin Brandic
Hi Kevin Yes, you are correct. So how do I get the correct instance? Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Kevin_C Sent: 14 January 2009 15:12 To: users@xwiki.org Subject: Re: [xwiki-users]

Re: [xwiki-users] groovy.lang.MissingMethodException

2009-01-14 Thread Sergiu Dumitriu
Ajdin Brandic wrote: Hi I'm trying to execute another script on Save event. I've created a notification class (based on xwiki example http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications) and pointed to it in Administration Programming Notification pages. This script gets

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

2009-01-14 Thread Jean Couteau
Dear all, I am a bit lost with hql requests. What I would like to do is find all the objects of Space.MyClass (even if there are more than one object on a page). I tried to play with #set ($sql = , BaseObject as obj where obj.name=doc.fullName and obj.className='Space.MyClass') and then

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

2009-01-14 Thread Marius Dumitru Florea
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 can call getObjects(Space.MyClass). Hope this helps, Marius Jean Couteau wrote: Dear all, I am a bit lost with hql