[xwiki-devs] [Proposal] Introduce isOpenOfficeServerAvailable() method to WysiwygService

2009-10-01 Thread Asiri Rathnayake
Hi, I'm not exactly sure if that is the best method name, but we need such a method so that we can disable fileUpload tab (or display a message) in officeimporter wysiwyg plugin if there is no OpenOffice server running. Thanks. - Asiri ___ devs

Re: [xwiki-devs] [Proposal] Introduce isOpenOfficeServerAvailable() method to WysiwygService

2009-10-01 Thread Marius Dumitru Florea
Asiri Rathnayake wrote: Hi, I'm not exactly sure if that is the best method name, but we need such a method so that we can disable fileUpload tab (or display a message) in officeimporter wysiwyg plugin if there is no OpenOffice server running. I'm fine with that but I'm wondering if we

Re: [xwiki-devs] [Proposal] Introduce isOpenOfficeServerAvailable() method to WysiwygService

2009-10-01 Thread Asiri Rathnayake
Hi, On Thu, Oct 1, 2009 at 12:49 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Asiri Rathnayake wrote: Hi, I'm not exactly sure if that is the best method name, but we need such a method so that we can disable fileUpload tab (or display a message) in officeimporter

Re: [xwiki-devs] Why Xwiki WYSIWYG Editor displays content is the same as Wiki Editor?

2009-10-01 Thread Leon Wang
Hi Everyone, Hi Marius, Here is the screen shot link: http://picasaweb.google.com/lh/photo/XWqNdRICk3o-27h9bm0rYA?feat=directlink Also, are there any JavaScript errors in the Firebug console or any exceptions in the server log? The browser did not give my any error message. Did you build the

Re: [xwiki-devs] [xwiki-notifications] r24158 - in platform/web/trunk: gwt/src/main/java/com/xpn/xwiki/gwt/api/server wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/server

2009-10-01 Thread Vincent Massol
Hi Anca, Be very very careful with ThreadLocal. It's very easy to make mistakes and cause memory leaks. Actually I think you may have introduced one already ;) (please do some web research on ThreadLocal you'll see it has some caveats and they must absolutely be freed when the thread

Re: [xwiki-devs] [Proposal] daily watchlist notifications for XWiki.org sites on the notification list

2009-10-01 Thread Jean-Vincent Drean
On Thu, Oct 1, 2009 at 7:53 AM, Vincent Massol vinc...@massol.net wrote: and +1 to modify the watchist mail to separate document types: standard docs, blog posts, user creation/modifications (same for our Recent Changes). I'm not sure about doing it for all types but at least for user pages

Re: [xwiki-devs] [Proposal] daily watchlist notifications for XWiki.org sites on the notification list

2009-10-01 Thread Vincent Massol
On Oct 1, 2009, at 10:21 AM, Jean-Vincent Drean wrote: On Thu, Oct 1, 2009 at 7:53 AM, Vincent Massol vinc...@massol.net wrote: and +1 to modify the watchist mail to separate document types: standard docs, blog posts, user creation/modifications (same for our Recent Changes). I'm not

Re: [xwiki-devs] [Proposal] daily watchlist notifications for XWiki.org sites on the notification list

2009-10-01 Thread Thomas Mortagne
+1 On Thu, Oct 1, 2009 at 00:12, Jerome Velociter jer...@xwiki.com wrote: Hi all, I propose we create a user on XWiki.org that will subscribe to daily watchlist notifications on the xwiki.org wikis, with notificati...@xwiki.org as email address. We can try to watch entire wikis, though we

Re: [xwiki-devs] [Proposal] daily watchlist notifications for XWiki.org sites on the notification list

2009-10-01 Thread Jerome Velociter
Vincent Massol wrote: On Oct 1, 2009, at 12:12 AM, Jerome Velociter wrote: Hi all, I propose we create a user on XWiki.org that will subscribe to daily watchlist notifications on the xwiki.org wikis, with notificati...@xwiki.org as email address. We can try to watch entire wikis, though

Re: [xwiki-devs] [Proposal] daily watchlist notifications for XWiki.org sites on the notification list

2009-10-01 Thread Thomas Mortagne
On Thu, Oct 1, 2009 at 10:33, Jerome Velociter jer...@xwiki.com wrote: Vincent Massol wrote: On Oct 1, 2009, at 12:12 AM, Jerome Velociter wrote: Hi all, I propose we create a user on XWiki.org that will subscribe to daily watchlist notifications on the xwiki.org wikis, with

Re: [xwiki-devs] [xwiki-notifications] r24158 - in platform/web/trunk: gwt/src/main/java/com/xpn/xwiki/gwt/api/server wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/server

2009-10-01 Thread Anca Paula Luca
Hi Vincent, On 10/01/2009 11:18 AM, Vincent Massol wrote: Hi Anca, Be very very careful with ThreadLocal. It's very easy to make mistakes and cause memory leaks. Actually I think you may have introduced one already ;) (please do some web research on ThreadLocal you'll see it has some

Re: [xwiki-devs] [Proposal] XWiki.org horizontal navigation + home page

2009-10-01 Thread Ecaterina Valica
When I first though about the horizontal top level navigation I saw something like: http://incubator.myxwiki.org/xwiki/bin/download/Improvements/ActionMenu/orgNavigation.png The problem we could have with this kind of navigation is if we gonna change the menu. There were some unfinished

Re: [xwiki-devs] [VOTE] Put a new line at the beginning and the end of group content in xwiki/2.0 renderer

2009-10-01 Thread Jerome Velociter
+1 Jerome Thomas Mortagne wrote: Hi devs, I would like to modify the xwiki/2.0 renderer to print the group with a trailing and ending new line: 1.A ((( * list1 * list 2 ))) instead of 1.B (((* list1 * list 2))) for example but it also mean: 2.A | ((( * list ))) | second

Re: [xwiki-devs] [VOTE] Put a new line at the beginning and the end of group content in xwiki/2.0 renderer

2009-10-01 Thread Jean-Vincent Drean
+1 JV. On Wed, Sep 30, 2009 at 5:48 PM, Thomas Mortagne thomas.morta...@xwiki.com wrote: Hi devs, I would like to modify the xwiki/2.0 renderer to print the group with a trailing and ending new line: 1.A ((( * list1 * list 2 ))) instead of 1.B (((* list1 * list 2))) for example

Re: [xwiki-devs] [VOTE] Put a new line at the beginning and the end of group content in xwiki/2.0 renderer

2009-10-01 Thread Anca Paula Luca
On 09/30/2009 07:24 PM, Thomas Mortagne wrote: On Wed, Sep 30, 2009 at 18:11, Vincent Massolvinc...@massol.net wrote: On Sep 30, 2009, at 5:48 PM, Thomas Mortagne wrote: Hi devs, I would like to modify the xwiki/2.0 renderer to print the group with a trailing and ending new line: 1.A

Re: [xwiki-devs] Why Xwiki WYSIWYG Editor displays content is the same as Wiki Editor?

2009-10-01 Thread Marius Dumitru Florea
Hi Leon, Leon Wang wrote: Hi Everyone, Hi Marius, Here is the screen shot link: http://picasaweb.google.com/lh/photo/XWqNdRICk3o-27h9bm0rYA?feat=directlink It this a public web site? Can you create me a temporary account to debug the problem? Also, are there any JavaScript errors in

Re: [xwiki-devs] [VOTE] Put a new line at the beginning and the end of group content in xwiki/2.0 renderer

2009-10-01 Thread Asiri Rathnayake
Hi, On Wed, Sep 30, 2009 at 9:18 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: Hi devs, I would like to modify the xwiki/2.0 renderer to print the group with a trailing and ending new line: 1.A ((( * list1 * list 2 ))) instead of 1.B (((* list1 * list 2))) for example but

Re: [xwiki-devs] [VOTE] Put a new line at the beginning and the end of group content in xwiki/2.0 renderer

2009-10-01 Thread Thomas Mortagne
On Thu, Oct 1, 2009 at 12:15, Anca Paula Luca ancapaula.l...@xwiki.com wrote: On 09/30/2009 07:24 PM, Thomas Mortagne wrote: On Wed, Sep 30, 2009 at 18:11, Vincent Massolvinc...@massol.net  wrote: On Sep 30, 2009, at 5:48 PM, Thomas Mortagne wrote: Hi devs, I would like to modify the

Re: [xwiki-devs] [xwiki-notifications] r24164 - platform/core/trunk/xwiki-officeimporter/src/main/java/org/xwiki/officeimporter/internal/openoffice

2009-10-01 Thread Vincent Massol
On Oct 1, 2009, at 1:02 PM, asiri (SVN) wrote: Author: asiri Date: 2009-10-01 13:02:17 +0200 (Thu, 01 Oct 2009) New Revision: 24164 Modified: platform/core/trunk/xwiki-officeimporter/src/main/java/org/xwiki/ officeimporter/internal/openoffice/DefaultOpenOfficeManager.java Log:

Re: [xwiki-devs] [xwiki-notifications] r24165 - platform/xwiki-applications/trunk/officeimporter/src/main/resources/XWiki

2009-10-01 Thread Vincent Massol
On Oct 1, 2009, at 1:02 PM, asiri (SVN) wrote: Author: asiri Date: 2009-10-01 13:02:54 +0200 (Thu, 01 Oct 2009) New Revision: 24165 Modified: platform/xwiki-applications/trunk/officeimporter/src/main/ resources/XWiki/OfficeImporterAdmin.xml Log: XAOFFICE-23: Add UI support for

Re: [xwiki-devs] [xwiki-notifications] r24164 - platform/core/trunk/xwiki-officeimporter/src/main/java/org/xwiki/officeimporter/internal/openoffice

2009-10-01 Thread Vincent Massol
On Oct 1, 2009, at 1:10 PM, Asiri Rathnayake wrote: Hi, +private boolean isMainXWiki() +{ +String currentWiki = docBridge.getCurrentDocumentName().getWiki(); +return (currentWiki != null) currentWiki.equals(xwiki); This is bad We shouldn't hardcode

Re: [xwiki-devs] [xwiki-notifications] r24165 - platform/xwiki-applications/trunk/officeimporter/src/main/resources/XWiki

2009-10-01 Thread Asiri Rathnayake
Hi, -#if($hasAdmin) +#set($isMainXWiki=($context.database == xwiki)) +#set($enableControls=($hasAdmin amp;amp; $isMainXWiki)) Again something bad (same reason). This I have been looking at the wrong place. It's in context :

Re: [xwiki-devs] [Proposal] Introduce isOpenOfficeServerAvailable() method to WysiwygService

2009-10-01 Thread Anca Paula Luca
On 10/01/2009 10:23 AM, Asiri Rathnayake wrote: Hi, On Thu, Oct 1, 2009 at 12:49 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Asiri Rathnayake wrote: Hi, I'm not exactly sure if that is the best method name, but we need such a method so that we can disable fileUpload

Re: [xwiki-devs] [Proposal] Introduce isOpenOfficeServerAvailable() method to WysiwygService

2009-10-01 Thread Asiri Rathnayake
Hi, Anyway, I feel having a configuration parameter for querying OpenOffice server status is kind of odd. What Marius means is that, we need to look at the use-cases, how often the server is started/stopped while one of the users has the editor open, if this is realtime information that

Re: [xwiki-devs] [Proposal] Introduce isOpenOfficeServerAvailable() method to WysiwygService

2009-10-01 Thread Anca Paula Luca
On 10/01/2009 02:58 PM, Asiri Rathnayake wrote: Hi, Anyway, I feel having a configuration parameter for querying OpenOffice server status is kind of odd. What Marius means is that, we need to look at the use-cases, how often the server is started/stopped while one of the users has the

Re: [xwiki-devs] [Proposal] Introduce isOpenOfficeServerAvailable() method to WysiwygService

2009-10-01 Thread Marius Dumitru Florea
Anca Paula Luca wrote: On 10/01/2009 02:58 PM, Asiri Rathnayake wrote: Hi, Anyway, I feel having a configuration parameter for querying OpenOffice server status is kind of odd. What Marius means is that, we need to look at the use-cases, how often the server is started/stopped while one of

Re: [xwiki-devs] [Proposal] Introduce isOpenOfficeServerAvailable() method to WysiwygService

2009-10-01 Thread Asiri Rathnayake
Hi, I mean if you consider the OpenOffice server controlling in wiki, you can start/stop/restart it any time you want. But it's also true that this is not going to happen frequently, most of the time users will have autoStart set to true, in which case OOo server will be running from

Re: [xwiki-devs] [xwiki-notifications] r24158 - in platform/web/trunk: gwt/src/main/java/com/xpn/xwiki/gwt/api/server wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/server

2009-10-01 Thread Anca Paula Luca
On 10/01/2009 12:16 PM, Anca Paula Luca wrote: Hi Vincent, On 10/01/2009 11:18 AM, Vincent Massol wrote: Hi Anca, Be very very careful with ThreadLocal. It's very easy to make mistakes and cause memory leaks. Actually I think you may have introduced one already ;) (please do some web

Re: [xwiki-devs] [Proposal] daily watchlist notifications for XWiki.org sites on the notification list

2009-10-01 Thread Jerome Velociter
I've setup an account and subscribed to all wikis. We should receive the first mail tonight... Jerome. Jerome Velociter wrote: Hi all, I propose we create a user on XWiki.org that will subscribe to daily watchlist notifications on the xwiki.org wikis, with notificati...@xwiki.org as

Re: [xwiki-devs] [Idea] Objects containing other objects as well as properties

2009-10-01 Thread Guillem Plasencia
Hello everybody, this is my first post to the list, i'm also newbie with Xwiki. I was about to post this same question myself but Caleb James DeLisle took the lead: I was wondering if it would be worthwhile to try working on allowing objects to contain other objects as well as properties (like

Re: [xwiki-devs] [Idea] Objects containing other objects as well as properties

2009-10-01 Thread Pascal Voitot
Hello, A quick answer from a user who uses classes quite intensively... you can create links to other class instances (or objects) in your class by using the Database List property type for example. It is very powerful when you want to create a field of a class where values are stored in another

Re: [xwiki-devs] [xwiki-notifications] XWiki updates, 3 documents have been modified since 2009/10/01 15:44

2009-10-01 Thread Vincent Massol
It's missing a lot of changes... -Vincent On Oct 2, 2009, at 12:00 AM, notificati...@xwiki.org wrote: Hello Developers, This message is sent by XWiki. Here are the documents in your watchlist that have been modified since the last notification: wiki.gif xwiki space.gif XWiki

Re: [xwiki-devs] Why Xwiki WYSIWYG Editor displays content is the same as Wiki Editor?

2009-10-01 Thread Leon Wang
Hi Marius, I have updated the code you mention. And I find out I forget to copy resources/js/xwiki/wysiwyg/xwe from the place that I built to the server's resources/js/xwiki/wysiwyg/xwe. Thank you for your help again! Probably this results the problems below: It this a public web site? Can you