Re: [xwiki-devs] [xwiki-users] XWiki + Glassfish 2.1.1 + cglib

2009-12-21 Thread Reto Hotz
Hi, On 19.12.2009 02:49, Sergiu Dumitriu wrote: On 12/18/2009 04:42 PM, Sergiu Dumitriu wrote: On 12/18/2009 01:36 PM, Reto Hotz wrote: Hi, FYI: We have experienced problems running XWiki 2.1 on Glassfish 2.1.1 (see stacktrace at the end). Our final solution was to replace the bundled

[xwiki-devs] [Proposal][Model] ModelContext getCurrentEntity()

2009-12-21 Thread Vincent Massol
Hi devs, I'm still working on the Model Reference domain. We've brainstormed with Thomas and we'd like to propose replacing the current ModelContext.getCurrentDocumentName() by ModelContext.getCurrentEntityReference() (which returns an EntityReference). The idea is that a URL could

Re: [xwiki-devs] [Proposal][Model] ModelContext getCurrentEntity()

2009-12-21 Thread Thomas Mortagne
On Mon, Dec 21, 2009 at 10:29, Vincent Massol vinc...@massol.net wrote: Hi devs, I'm still working on the Model Reference domain. We've brainstormed with Thomas and we'd like to propose replacing the current ModelContext.getCurrentDocumentName() by ModelContext.getCurrentEntityReference()

[xwiki-devs] [VOTE] Introduce a cache of documents used in the current request

2009-12-21 Thread Sergiu Dumitriu
Hi devs, Currently the getDocument method always goes to the storage to retrieve the document, even if the same document has just been retrieved. This means that the following code will not work: #set($d = $xwiki.getDocument('X')) $d.setTitle('the title') $xwiki.getDocument('X').getTitle() #

Re: [xwiki-devs] [VOTE] Introduce a cache of documents used in the current request

2009-12-21 Thread Thomas Mortagne
On Mon, Dec 21, 2009 at 13:34, Sergiu Dumitriu ser...@xwiki.com wrote: Hi devs, Currently the getDocument method always goes to the storage to retrieve the document, even if the same document has just been retrieved. This Note to be more clear: in public API only not private one (because the

Re: [xwiki-devs] I'm updating from 2.1M1 to 2.1 Final release, and encountered an error.

2009-12-21 Thread Jean-Vincent Drean
Hi, Looks like XWiki can't access the database, do you use hsqldb ? if you're using another database have you put the connector in the webapp ? Thanks, JV. On Mon, Dec 21, 2009 at 2:04 PM, Zhaolin Feng kingsimba0...@gmail.com wrote: Hi: I'm updating from 2.1M1 to 2.1 Final release, and

[xwiki-devs] [VOTE] Release XE and XEM 2.2.1

2009-12-21 Thread Jean-Vincent Drean
Hi, I'd like to release XE and XEM 2.1.1 tomorrow. 4 important bugs have been fixed since 2.1: - XWIKI-4575 : Horizontal ruler breaks the display of the WYSIWYG menu bar and toolbox - XWIKI-4681 : Attachments deletion has no effect before a restart - XWIKI-4679 : Can't select the macro

Re: [xwiki-devs] [VOTE] Release XE and XEM 2.1.1

2009-12-21 Thread Jean-Vincent Drean
2.1.1 of course :) JV. On Mon, Dec 21, 2009 at 3:23 PM, Jean-Vincent Drean j...@xwiki.com wrote: Hi, I'd like to release XE and XEM 2.1.1 tomorrow. 4 important bugs have been fixed since 2.1:  - XWIKI-4575 : Horizontal ruler breaks the display of the WYSIWYG menu bar and toolbox  -

Re: [xwiki-devs] [VOTE] Release XE and XEM 2.2.1

2009-12-21 Thread Guillaume Lerouge
+1 Guillaume On Mon, Dec 21, 2009 at 3:23 PM, Jean-Vincent Drean j...@xwiki.com wrote: Hi, I'd like to release XE and XEM 2.1.1 tomorrow. 4 important bugs have been fixed since 2.1: - XWIKI-4575 : Horizontal ruler breaks the display of the WYSIWYG menu bar and toolbox - XWIKI-4681 :

Re: [xwiki-devs] [VOTE] Release XE and XEM 2.2.1

2009-12-21 Thread Sergiu Dumitriu
On 12/21/2009 03:23 PM, Jean-Vincent Drean wrote: Hi, I'd like to release XE and XEM 2.1.1 tomorrow. 4 important bugs have been fixed since 2.1: - XWIKI-4575 : Horizontal ruler breaks the display of the WYSIWYG menu bar and toolbox - XWIKI-4681 : Attachments deletion has no effect

Re: [xwiki-devs] [VOTE] Release XE and XEM 2.1.1

2009-12-21 Thread Jerome Velociter
On 12/21/09 3:23 PM, Jean-Vincent Drean wrote: 2.1.1 of course :) +1 Jerome JV. On Mon, Dec 21, 2009 at 3:23 PM, Jean-Vincent Dreanj...@xwiki.com wrote: Hi, I'd like to release XE and XEM 2.1.1 tomorrow. 4 important bugs have been fixed since 2.1: - XWIKI-4575 : Horizontal

Re: [xwiki-devs] [Proposal][Model] ModelContext getCurrentEntity()

2009-12-21 Thread Asiri Rathnayake
On Mon, Dec 21, 2009 at 2:59 PM, Vincent Massol vinc...@massol.net wrote: Hi devs, I'm still working on the Model Reference domain. We've brainstormed with Thomas and we'd like to propose replacing the current ModelContext.getCurrentDocumentName() by ModelContext.getCurrentEntityReference()

Re: [xwiki-devs] [VOTE] Introduce a cache of documents used in the current request

2009-12-21 Thread Asiri Rathnayake
Hi, On Mon, Dec 21, 2009 at 6:15 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Mon, Dec 21, 2009 at 13:34, Sergiu Dumitriu ser...@xwiki.com wrote: Hi devs, Currently the getDocument method always goes to the storage to retrieve the document, even if the same document has just

Re: [xwiki-devs] [VOTE] Release XE and XEM 2.2.1

2009-12-21 Thread Vincent Massol
On Dec 21, 2009, at 3:23 PM, Jean-Vincent Drean wrote: Hi, I'd like to release XE and XEM 2.1.1 tomorrow. 4 important bugs have been fixed since 2.1: - XWIKI-4575 : Horizontal ruler breaks the display of the WYSIWYG menu bar and toolbox - XWIKI-4681 : Attachments deletion has no effect

Re: [xwiki-devs] [Proposal][Model] ModelContext getCurrentEntity()

2009-12-21 Thread Thomas Mortagne
On Mon, Dec 21, 2009 at 18:10, Asiri Rathnayake asiri.rathnay...@gmail.com wrote: On Mon, Dec 21, 2009 at 2:59 PM, Vincent Massol vinc...@massol.net wrote: Hi devs, I'm still working on the Model Reference domain. We've brainstormed with Thomas and we'd like to propose replacing the current

Re: [xwiki-devs] [Proposal][Model] ModelContext getCurrentEntity()

2009-12-21 Thread Asiri Rathnayake
Hi Thomas, May be we can avoid the enum type by using generics? T extends EntityReference T getCurrentEntityReference(); Not sure if this is a good practice though. Generic does not exist in the bytecode so impossible to know that you want the EntityType.WIKI if you don't explicitly

Re: [xwiki-devs] [Proposal][Model] ModelContext getCurrentEntity()

2009-12-21 Thread Sergiu Dumitriu
On 12/21/2009 07:31 PM, Asiri Rathnayake wrote: Hi Thomas, May be we can avoid the enum type by using generics? T extends EntityReference T getCurrentEntityReference(); Not sure if this is a good practice though. Generic does not exist in the bytecode so impossible to know that you

Re: [xwiki-devs] [VOTE] Release XE and XEM 2.2.1

2009-12-21 Thread Thomas Mortagne
+1 On Mon, Dec 21, 2009 at 15:23, Jean-Vincent Drean j...@xwiki.com wrote: Hi, I'd like to release XE and XEM 2.1.1 tomorrow. 4 important bugs have been fixed since 2.1:  - XWIKI-4575 : Horizontal ruler breaks the display of the WYSIWYG menu bar and toolbox  - XWIKI-4681 : Attachments

Re: [xwiki-devs] [VOTE] Release XE and XEM 2.1.1

2009-12-21 Thread Caleb James DeLisle
+1 Caleb Jean-Vincent Drean wrote: 2.1.1 of course :) JV. On Mon, Dec 21, 2009 at 3:23 PM, Jean-Vincent Drean j...@xwiki.com wrote: Hi, I'd like to release XE and XEM 2.1.1 tomorrow. 4 important bugs have been fixed since 2.1: - XWIKI-4575 : Horizontal ruler breaks the display of