Re: [xwiki-devs] [VOTE] Add new XWiki.searchDocuments() API

2007-09-26 Thread Sergiu Dumitriu
+1 How is the list going to be used? Something like: where doc.web = {0} and obj.className = {1}? We need to make sure we don't double escape content, as in several places we have manually replaced % and ', so all the documents and java code should be checked. On 9/26/07, Vincent Massol [EMAIL

Re: [xwiki-devs] [VOTE] Add new XWiki.searchDocuments() API

2007-09-26 Thread Anca Paula Luca
+1 Vincent Massol wrote: Hi, In order to properly fix the issues with escaping of single quote characters, I'd like to propose adding the following methods in *.api.XWiki: public List searchDocuments(String wheresql, List whereParams) throws XWikiException public List

Re: [xwiki-devs] [VOTE] Add new XWiki.searchDocuments() API

2007-09-26 Thread Thomas Mortagne
+1 2007/9/26, Anca Paula Luca [EMAIL PROTECTED]: +1 Vincent Massol wrote: Hi, In order to properly fix the issues with escaping of single quote characters, I'd like to propose adding the following methods in *.api.XWiki: public List searchDocuments(String wheresql, List

Re: [xwiki-devs] [VOTE] Add new XWiki.searchDocuments() API

2007-09-26 Thread Marta Girdea
+1 On 9/25/07, Vincent Massol [EMAIL PROTECTED] wrote: Hi, In order to properly fix the issues with escaping of single quote characters, I'd like to propose adding the following methods in *.api.XWiki: public List searchDocuments(String wheresql, List whereParams) throws

Re: [xwiki-devs] Using forms and database

2007-09-26 Thread Guillaume Lerouge
Hi, Have you tried the FAQ Tutorial at http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial ? It's the best way to start familiarizing yourself with the way XWiki works... It will let you create a class in which you can define objects. Then you can create instances of that class that

[xwiki-devs] [ANN] Moving to new SVN server Tuesday 2nd of October 2007

2007-09-26 Thread Vincent Massol
Hi XWiki committers, We're moving to a new SVN server on the 2nd of October 2007 (afternoon). I'll make the OW SVN read only on the 2nd morning. This means that you'll need to check out again once the move is done. If you have uncommitted files you can simply copy them (without the .svn

Re: [xwiki-devs] [xwiki-notifications] [VOTE] Include in 1.1.1? (was Re: r5094 - in xwiki-platform: core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/api core/trunk/xwiki-core/src/main/java/com/xpn/xw

2007-09-26 Thread Thomas Mortagne
2007/9/26, Vincent Massol [EMAIL PROTECTED]: On Sep 26, 2007, at 4:13 PM, Vincent Massol wrote: On Sep 26, 2007, at 3:19 PM, Thomas Mortagne wrote: +1 (this new api concept would also be great to add to com.xpn.xwiki.store.XWikiStoreInterface.searchDocuments and not just