Re: [xwiki-users] Search subwikis from main wiki

2014-11-27 Thread D R
Sorry, you are right, but I see a strange behavior for the search results popup which is shown while typing. It seems it has to do with the chosen search word or something. I created a subwiki where I have a space named Testspace and in there I have a doc Testpage. Typing test in the upper

[xwiki-users] Theme not respected on login page

2014-11-27 Thread D R
Hi all, I set up a subwiki where the content is restricted to registered users. Only global users (authenticated via LDAP from the main wiki) are allowed. I also set up a color theme and logo. Now when the subwiki is accessed you are automatically redirected to the login page but there the

Re: [xwiki-users] Search subwikis from main wiki

2014-11-27 Thread Marius Dumitru Florea
On Thu, Nov 27, 2014 at 10:21 AM, D R rir@gmail.com wrote: Sorry, you are right, but I see a strange behavior for the search results popup which is shown while typing. It seems it has to do with the chosen search word or something. I created a subwiki where I have a space named Testspace

Re: [xwiki-users] Search subwikis from main wiki

2014-11-27 Thread Marius Dumitru Florea
This issue http://jira.xwiki.org/browse/XWIKI-10306 is opened to improve the process of enabling prefix matching. On Thu, Nov 27, 2014 at 11:24 AM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: On Thu, Nov 27, 2014 at 10:21 AM, D R rir@gmail.com wrote: Sorry, you are right,

[xwiki-users] command to delete a comment

2014-11-27 Thread Adrien Moi
Hello In a groovy macro I can access the comments on the page like this : comments = doc.getComments(); now I want to delete the last one... how can I do that? I tried : comments[0].delete(); but it doesn't work do you know what to type to make it work? Thanks a lot Adrien

Re: [xwiki-users] command to delete a comment

2014-11-27 Thread vinc...@massol.net
  On 27 Nov 2014 at 14:37:50, Adrien Moi (adrienmoi1...@hotmail.com(mailto:adrienmoi1...@hotmail.com)) wrote: Hello In a groovy macro I can access the comments on the page like this : comments = doc.getComments(); now I want to delete the last one... how can I do that? I

Re: [xwiki-users] command to delete a comment

2014-11-27 Thread vinc...@massol.net
On 27 Nov 2014 at 14:51:40, vinc...@massol.net (vinc...@massol.net(mailto:vinc...@massol.net)) wrote: On 27 Nov 2014 at 14:37:50, Adrien Moi (adrienmoi1...@hotmail.com(mailto:adrienmoi1...@hotmail.com)) wrote: Hello In a groovy macro I can access the comments on the

[xwiki-users] Can't delete attachment

2014-11-27 Thread D R
Hi, I imported several .xar files from another xwiki instance and afterwards wanted to delete the uploaded .xar files. All but one have successfully been deleted. Everytime I delete Xwiki_New.xar from the import screen inside the administration screen and refresh the page it's there again. Also

Re: [xwiki-users] Can't delete attachment

2014-11-27 Thread Thomas Mortagne
You don't have any related error in the lot ? Usually issue with attachments are related to their size and the available memory. On Thu, Nov 27, 2014 at 3:27 PM, D R rir@gmail.com wrote: Hi, I imported several .xar files from another xwiki instance and afterwards wanted to delete the

Re: [xwiki-users] Can't delete attachment

2014-11-27 Thread Thomas Mortagne
On Thu, Nov 27, 2014 at 3:44 PM, Thomas Mortagne thomas.morta...@xwiki.com wrote: You don't have any related error in the lot ? Usually issue with attachments are related to their size and the available memory. Was in the log. On Thu, Nov 27, 2014 at 3:27 PM, D R rir@gmail.com wrote:

Re: [xwiki-users] Can't delete attachment

2014-11-27 Thread D R
I didn't see the log output previously because tomcat doesn't start a new one each day. I just found it in the log that started yesterday and yes, you are right. Caused by: java.lang.OutOfMemoryError: Java heap space I wonder why that's happening because I set everything up as written in the

[xwiki-users] Link to page in edit mode without using full url (or velocity)?

2014-11-27 Thread Pascal BASTIEN
Hello, Any news about this old issue?http://jira.xwiki.org/browse/XRENDERING-22 I found this thread:http://xwiki.475771.n2.nabble.com/Link-to-page-in-edit-mode-without-using-full-url-td5755205.htmlbut this way with flamingo doesn't work very well (display problem): [[labelspace.page?xpage=edit]]

Re: [xwiki-users] SOLR and object search

2014-11-27 Thread Marius Dumitru Florea
On Mon, Nov 24, 2014 at 9:46 AM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi, I'm trying to understand the new SOLR search (i did not understand the old Lucene very well) My use-case is the following. We have a special FAQ application where the object has, amongst others, the

Re: [xwiki-users] Can't delete attachment

2014-11-27 Thread Thomas Mortagne
On Thu, Nov 27, 2014 at 3:59 PM, D R rir@gmail.com wrote: I didn't see the log output previously because tomcat doesn't start a new one each day. I just found it in the log that started yesterday and yes, you are right. Caused by: java.lang.OutOfMemoryError: Java heap space I wonder why

Re: [xwiki-users] Link to page in edit mode without using full url (or velocity)?

2014-11-27 Thread Marius Dumitru Florea
On Thu, Nov 27, 2014 at 5:05 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hello, Any news about this old issue?http://jira.xwiki.org/browse/XRENDERING-22 I found this thread:http://xwiki.475771.n2.nabble.com/Link-to-page-in-edit-mode-without-using-full-url-td5755205.htmlbut this way

[xwiki-users] Offer for xwiki programmers - modify xWiki for using NuoDB database for storing repository

2014-11-27 Thread Petr Simbera
I am a satisfied user XWiki, but I carried on porting XWiki nuodb (jdbc driver exists). If you are a developer, Who is able to do this, please contact me, I can be a sponsor of this small activity (some dollars up to $ 100 for this small task).  After successfull work, the code changes will be

Re: [xwiki-users] Link to page in edit mode without using full url (or velocity)?

2014-11-27 Thread Pascal BASTIEN
Yes of course!How silly I'm am (it is not the first time I fall in this trap) :-( It's work like a charm: queryString=xpage=editeditor=wikiThxs. De : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le :

Re: [xwiki-users] Xwiki / accessing external SQL database / How to use SQL plugin ?

2014-11-27 Thread Eduard Moraru
Hi, I did not use that extension, nor had to write SQL queries on remote databases in velocity (you usually write a component and/or script service to do that for your and expose the results to the velocity UI), but that extension seems to have an impressive amount of documentation linked from

Re: [xwiki-users] Registering components

2014-11-27 Thread Bryn Jeffries
Many thanks, I'll give that a go. From: Thomas Mortagne [thomas.morta...@xwiki.com] Sent: 27 November 2014 23:14 To: Bryn Jeffries Subject: Re: [xwiki-users] Registering components

Re: [xwiki-users] Getting user name with a Java Component

2014-11-27 Thread Bryn Jeffries
I wrote: What's the right way to get the current user from the execution context within a Java component? Thomas Mortagne replied: For what you need the simplest in a component is usually to use org.xwiki.bridge.DocumentAccessBridge component (from xwiki-platform-bridge module) until a

[xwiki-users] Handling exceptions from components

2014-11-27 Thread Bryn Jeffries
What's the preferred way to deal with errors occuring in Java components? Is it OK to throw an exception from within the component, and can this be caught within the Velocity or Groovy code that calls it? ___ users mailing list users@xwiki.org

Re: [xwiki-users] Getting user name with a Java Component

2014-11-27 Thread Marius Dumitru Florea
On Nov 28, 2014 12:33 AM, Bryn Jeffries bryn.jeffr...@sydney.edu.au wrote: I wrote: What's the right way to get the current user from the execution context within a Java component? Thomas Mortagne replied: For what you need the simplest in a component is usually to use