Re: [xwiki-users] Trouble with velocity script to list Object properties

2008-04-15 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi Tjaart, all, Tjaart van Wijck wrote: I have created the class Contacts.ContactClass. This class has three string properties firstname, surname and phone1. I have also created two instances of this class and filled out the attributes. Now, it should be straight forward to write a Velocity

Re: [xwiki-users] Trouble with velocity script to list Object properties

2008-04-15 Thread Guillaume Lerouge
Hi Ricardo, I have created the class Contacts.ContactClass. This class has three string properties firstname, surname and phone1. I have also created two instances of this class and filled out the attributes. Now, it should be straight forward to write a Velocity script to seach for

Re: [xwiki-users] Trouble with velocity script to list Object properties

2008-04-15 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Guillaume Lerouge wrote: Obviously I've been writing too fast thus proposing a mistaken solution :-) I'll check on stuff I've used before and try to get back with a _working_ suggestion ;-) Guillaume Thanks! -- Ricardo Rodríguez Your EPEC Network ICT Team

Re: [xwiki-users] Issue when using foreign database

2008-04-15 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Now, I can move to JNDI set up. Any other thing I could try here before moving ahead? I will try the new *.jar tomorrow in the production server (java version 1.4.2_10) and post here the results. I've been trying in a java version

Re: [xwiki-users] Trouble with velocity script to list Object properties

2008-04-15 Thread Tjaart van Wijck
Hi, My problem is still unresolved. I have followed the suggestions from the FAQ post: http://www.xwiki.org/xwiki/bin/view/FAQ/HowToListDocumentsWithACertainPropertyValue And rewrote the code as follows: #set($query=select obj from BaseObject obj where obj.className='Contacts.ContactClass')

Re: [xwiki-users] Issue when using foreign database

2008-04-15 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
rssh wrote: 1. can you recheck that patch is applied to version plugin, compiled with JDK-1.4 ? My fault: I've just copied the plugin compiled with JDK-1.4 to the 1.5 box. I'll recompile it and try again. Sorry. Thanks, Ricardo -- Ricardo Rodri'guez Your EPEC Network ICT Team

Re: [xwiki-users] How do I refer do administrating preferences page?

2008-04-15 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
riccardo grazioli wrote: Hi! I want to edit a Panels adding a link to Administrating Global Preferences page with a link like * [Config Center Main.Preferences ] XWiki.GlobalPreferences or Main.GlobalPreferences... The page, as

Re: [xwiki-users] Issue when using foreign database

2008-04-15 Thread rssh
On Tue, 15 Apr 2008 10:55:06 +0200, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Now, I can move to JNDI set up. Any other thing I could try here before moving ahead? I will try the new *.jar tomorrow in the production server

Re: [xwiki-users] Tags in XWki Watch

2008-04-15 Thread ancapaula . luca
Hi Xavier, editing the list of tags is a quite strange concept because by definition a list of tags generated by a community of users, so it makes almost no sense editing the list itself. The means to edit a list of tags are to edit the content that generates it, i.e. the articles from which the

[xwiki-users] user login / document does not exist

2008-04-15 Thread David Hláčik
Hi, after login as user , it will redirect me to http://server/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist . Why? Thanks! D. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Trouble with velocity script to list Object properties

2008-04-15 Thread Guillaume Lerouge
Hi Tjaart, Here we go at last : #set($query=select obj from BaseObject obj where obj.className='Contacts .ContactClass') #set($results=$xwiki.searchDocuments($query, 10, 1)) #foreach($item in $results) #set ($itemdoc = $xwiki.getDocument($item)) #set ($itemobject =

Re: [xwiki-users] [xwiki-user] Lost ADMIN GROUP Permission. Can I restore from DB?

2008-04-15 Thread Jean-Vincent Drean
On Tue, Apr 15, 2008 at 1:08 PM, riccardo grazioli [EMAIL PROTECTED] wrote: Hi, I guess to have done a little damage... :S I wanted to eliminate blog and calendar object from xwiki. So, I went into administrating page, Export a xar with history and all that I can Export. If you're stuck

Re: [xwiki-users] Issue when using foreign database

2008-04-15 Thread rssh
On Tue, 15 Apr 2008 14:36:30 +0200, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: rssh wrote: 1. can you recheck that patch is applied to version plugin, compiled with JDK-1.4 ? My fault: I've just copied the

Re: [xwiki-users] Trouble with velocity script to list Object properties

2008-04-15 Thread Tjaart van Wijck
Hi Guillaume, Thanks for the advise but it still doesn't work. I've implemented: #set($query=select obj from BaseObject obj where obj.className='Contacts.ContactClass') #set($results=$xwiki.searchDocuments($query, 10, 1)) #foreach($item in $results) #set ($itemdoc = $xwiki.getDocument($item))

Re: [xwiki-users] user login / document does not exist

2008-04-15 Thread David Hláčik
Hi Ricardo, thanks for your interest! IT happen in both cases : http://server:8080/xwiki/bin/view/Main/DocumentDoesNotExist Notice The requested document could not be found. You can edit this pagehttp://intranet.hlacik.eu:8080/xwiki/bin/edit/Main/DocumentDoesNotExistto create it. D. 2008/4/15

Re: [xwiki-users] user login / document does not exist

2008-04-15 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Great! David Hláčik wrote: Thanks! I solved issue with xwiki/xwiki but still getting DocumentDoesNotExist .. why? Of course i have Main.WebHome as i am using default xar file imported with default wiki sets ... D. I've to leave now, but a urgent guess :-) Does it happen if you go through

Re: [xwiki-users] Trouble with velocity script to list Object properties

2008-04-15 Thread Tjaart van Wijck
Guillaume, That worked! Thanks a lot for the help. Yet, I still don't understand why the HQL string below does not yield the correct results: $query = select obj from BaseObject obj where obj.className='Contacts.ContactClass' Can someone explain how XWiki traverses documents and objects to

Re: [xwiki-users] user login / document does not exist

2008-04-15 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi David, David Hláčik wrote: And i do not need page Main.DocumentDoesNotExist to create :) All i want to open Main.WebHome after login Thanks! Sorry, I am afraid I can not be of any help here. Sergiu Dumitriu has been involved with several issues related with this 404 error and as far as I

Re: [xwiki-users] user login / document does not exist

2008-04-15 Thread David Hláčik
Hi Ricardo, thanks for your help . Allowing unregistered users to view Main and XWiki space solved the problem. Alltought now i have Main space available for whole public, but for my purposes it is OK as i have only brief description of intranet available here. Regards, David PS : Just a

[xwiki-users] how to upgrade from 1.3.1 to 1.3.2 ?

2008-04-15 Thread David Hláčik
Hi, where i will found info about Subject ? I have 1.3.1 with my customization actually and lot of wiki pages. Will it be enought to just simple backup configuration files i changed, copy from new jar file and replace config files with my backuped? Thanks! David

Re: [xwiki-users] how to upgrade from 1.3.1 to 1.3.2 ?

2008-04-15 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi! David Hláčik wrote: Hi, where i will found info about Subject ? I have 1.3.1 with my customization actually and lot of wiki pages. Will it be enought to just simple backup configuration files i changed, copy from new jar file and replace config files with my backuped? Have you read

Re: [xwiki-users] Tags in XWki Watch

2008-04-15 Thread Dean Sellers
Hi Everyone, I could find a use for tag 'editing', I don't think it is a strange as it seems. Consider the following for instance; I have an application where users (we will call them employees) can publish documents relating to a certain subject, or group of subjects. They are product and

Re: [xwiki-users] Tags in XWki Watch

2008-04-15 Thread ancapaula . luca
Hi Everyone, I could find a use for tag 'editing', I don't think it is a strange as it seems. Consider the following for instance; I have an application where users (we will call them employees) can publish documents relating to a certain subject, or group of subjects. They are product and