Re: [xwiki-users] getDisplayTitle())

2012-12-10 Thread Gerritjan Koekkoek
Hi Op 10 dec. 2012, om 21:36 heeft Marius Dumitru Florea het volgende geschreven: > On Mon, Dec 10, 2012 at 12:20 PM, Gerritjan Koekkoek > wrote: >> Hi, >> >> This is working. > >> When I edit the document I indeed see two translations; a 'en' and a '.' >> version. >> Where is this '.' versi

Re: [xwiki-users] Guest access on wiki hosted on cloud.xwiki.com

2012-12-10 Thread Vincent Massol
Hi, On Dec 11, 2012, at 12:08 AM, xrichard wrote: > Hello, > > I have created a new Wiki on cloud.xwiki.com. I want to allow guest > (anonymous users) to post comments on the blog space. > > I've see there > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights#HOpenWiki > , that c

[xwiki-users] Guest access on wiki hosted on cloud.xwiki.com

2012-12-10 Thread xrichard
Hello, I have created a new Wiki on cloud.xwiki.com. I want to allow guest (anonymous users) to post comments on the blog space. I've see there http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights#HOpenWiki , that can be done by creating a user named "XWikiGuest" and give this user r

Re: [xwiki-users] getDisplayTitle())

2012-12-10 Thread Marius Dumitru Florea
On Mon, Dec 10, 2012 at 12:20 PM, Gerritjan Koekkoek wrote: > Hi, > > This is working. > When I edit the document I indeed see two translations; a 'en' and a '.' > version. > Where is this '.' version coming from? It looks when you create a document it > does not automatically set the language?

Re: [xwiki-users] Problem mocking LoggerManager

2012-12-10 Thread Vincent Massol
On Dec 10, 2012, at 2:16 PM, Jeremie BOUSQUET wrote: > Hi Vincent, > > > 2012/12/10 Vincent Massol > >> Hi Jeremie, >> >> On Dec 10, 2012, at 1:22 PM, jerem wrote: >> >>> Hi, >>> >>> I could workaround that quite easily, by adding the following in my >> setUp() >>> method, just before r

[xwiki-users] Hibernate issue when loading objects in parallel

2012-12-10 Thread Jeremie BOUSQUET
Hello, Seems I get some issue in the following use-case with hibernate: - have a page that displays some fields from several objects (of same class), acting like an aggregator - for each object, some fields are displayed - for each object, an is added, targeting another page that loads another f

Re: [xwiki-users] Problem mocking LoggerManager

2012-12-10 Thread Jeremie BOUSQUET
Hi Vincent, 2012/12/10 Vincent Massol > Hi Jeremie, > > On Dec 10, 2012, at 1:22 PM, jerem wrote: > > > Hi, > > > > I could workaround that quite easily, by adding the following in my > setUp() > > method, just before retrieving my class under tests from the component > > manager: > > > > getC

Re: [xwiki-users] Problem mocking LoggerManager

2012-12-10 Thread Vincent Massol
Hi Jeremie, On Dec 10, 2012, at 1:22 PM, jerem wrote: > Hi, > > I could workaround that quite easily, by adding the following in my setUp() > method, just before retrieving my class under tests from the component > manager: > > getComponentManager().registerMockComponent(getMockery(), > Logger

Re: [xwiki-users] Problem mocking LoggerManager

2012-12-10 Thread jerem
Hi, I could workaround that quite easily, by adding the following in my setUp() method, just before retrieving my class under tests from the component manager: getComponentManager().registerMockComponent(getMockery(), LoggerManager.class); But it seems to confirm that, for any reason, the Logger

Re: [xwiki-users] getDisplayTitle())

2012-12-10 Thread Gerritjan Koekkoek
Hi, This is working. When I edit the document I indeed see two translations; a 'en' and a '.' version. Where is this '.' version coming from? It looks when you create a document it does not automatically set the language? When I set the language later to 'en' it creates this '.' version Thank

Re: [xwiki-users] getDisplayTitle())

2012-12-10 Thread Marius Dumitru Florea
On Mon, Dec 10, 2012 at 10:49 AM, Gerritjan Koekkoek wrote: > Hi I'm trying to set the panel header text based on the content of a wiki > document that can be translated. > So if the document is translated, the header of the panel will automatically > change if the document title is changed. > >

[xwiki-users] getDisplayTitle())

2012-12-10 Thread Gerritjan Koekkoek
Hi I'm trying to set the panel header text based on the content of a wiki document that can be translated. So if the document is translated, the header of the panel will automatically change if the document title is changed. Since the Documentation suggested setting a page header of level 1 to 4