[xwiki-users] ParseErrorException

2008-02-18 Thread David Delbecq
Hello, we get this error in xwiki top menu after importing from 0.9. Can someone explain me how to solve this? thanks! org.apache.velocity.exception.ParseErrorException: Encountered Blog.aspan | .span a href=\..view.Main.KnowledgeBase\,\view\)\Knowledge Base/aspan | /span \r\n--\r\na

[xwiki-users] MySQL Error invalid use of group function in Statistics application

2008-02-18 Thread BOUSQUET Jeremie
Hello, I just migrated from XWiki 1.1 to 1.2.2. Migration was ok and everything works fine, except the Statistics application. It shows unrecorded stats but there are some. There seems to be an error in an SQL request (miss group by ?), either database was not correctly migrated, or MySQL

[xwiki-users] Displaying a panel in inline editing?

2008-02-18 Thread Paul Libbrecht
Hello, I was searching for how to activate the display of a panel when in inline editing (actually when in inline editing of some classes or when the inline edit actually contains a textarea) but I could not find it. The syntax help panel should be displayed there... and I can only see

Re: [xwiki-users] controlling display on a per user basis

2008-02-18 Thread Guillaume Lerouge
Hi, have you tried something akin to #if ($context.user == 'XWiki.YourUserName') Test #end ? Guillaume On 18/02/2008, [Ricardo Rodriguez] [EMAIL PROTECTED] wrote: Hi all, I need to control what sections of a document are shown on a per user basis. I know how to do that per group, but I

Re: [xwiki-users] MySQL Error invalid use of group function in Statistics application

2008-02-18 Thread Marius Dumitru Florea
Hi Jeremie, Sorry for the inconvenience. Your tables' description seems fine. I attached the description of my tables so you can check it for yourself. I think it all resumes to the following SQL query: select xws_name, sum(xws_page_views) from xwikistatsdoc where xws_action='view' and xws_name

[xwiki-users] controlling display on a per user basis

2008-02-18 Thread [Ricardo Rodriguez]
Hi all, I need to control what sections of a document are shown on a per user basis. I know how to do that per group, but I am failing when I try to evaluate $xwiki.getUser() output. For instance, this code write TEST whoever the logged user is: #if ($xwiki.getUser().equals([EMAIL

Re: [xwiki-users] MySQL Error invalid use of group function in Statistics application

2008-02-18 Thread BOUSQUET Jeremie
To be complete, this same error occurs for all the Statistics panels ... -Original Message- From: BOUSQUET Jeremie Sent: lundi 18 février 2008 15:50 To: 'XWiki Users' Subject: RE: [xwiki-users] MySQL Error invalid use of group function in Statistics application Hi Marius and thanks,

[xwiki-users] Bulletin Board cannot display topic title and first post !?

2008-02-18 Thread Ngo Thi Hong Nga
I use Bulletin Board application with XE 1.1.2. I import the xar file, I add a new topic, enter title and first post, then make some reply. Every thing is displayed properly (author, post reply,..), except for the topic title and topic first post always be the empty string , although they are not

Re: [xwiki-users] MySQL Error invalid use of group function in Statistics application

2008-02-18 Thread BOUSQUET Jeremie
Hi Marius and thanks, Your SQL request returns the same error invalid use of group function in my mysql version ... BTW I could have it work by explicitly naming the sum, and using it in the order by : select xws_name, sum(xws_page_views) as pageviewcount from xwikistatsdoc where

Re: [xwiki-users] controlling display on a per user basis

2008-02-18 Thread Sergiu Dumitriu
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Guillaume Lerouge wrote: Hi, have you tried something akin to #if ($context.user == 'XWiki.YourUserName') Test #end ? Nope. And it perfectly works! Thanks. Given an user with this it is possible to control if a paragraph

Re: [xwiki-users] controlling display on a per user basis

2008-02-18 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Guillaume Lerouge wrote: Hi, have you tried something akin to #if ($context.user == 'XWiki.YourUserName') Test #end ? Nope. And it perfectly works! Thanks. Given an user with this it is possible to control if a paragraph appears or not but a new doubt arises from here. Look at this...

Re: [xwiki-users] controlling display on a per user basis

2008-02-18 Thread Vincent Massol
On Feb 18, 2008, at 4:27 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Guillaume Lerouge wrote: Hi, have you tried something akin to #if ($context.user == 'XWiki.YourUserName') Test #end ? Nope. And it perfectly works! Thanks. Given an user with this it is possible to

Re: [xwiki-users] Displaying a panel in inline editing?

2008-02-18 Thread Sergiu Dumitriu
Paul Libbrecht wrote: Hello, I was searching for how to activate the display of a panel when in inline editing (actually when in inline editing of some classes or when the inline edit actually contains a textarea) but I could not find it. The syntax help panel should be displayed

Re: [xwiki-users] controlling display on a per user basis

2008-02-18 Thread Vincent Massol
On Feb 18, 2008, at 4:38 PM, Sergiu Dumitriu wrote: [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Guillaume Lerouge wrote: Hi, have you tried something akin to #if ($context.user == 'XWiki.YourUserName') Test #end ? Nope. And it perfectly works! Thanks. Given an user with

Re: [xwiki-users] Displaying a panel in inline editing?

2008-02-18 Thread Paul Libbrecht
Le 18 févr. 08 à 16:42, Sergiu Dumitriu a écrit : I was searching for how to activate the display of a panel when in inline editing (actually when in inline editing of some classes or when the inline edit actually contains a textarea) but I could not find it. The syntax help panel should be

Re: [xwiki-users] Bulletin Board cannot display topic title and first post !?

2008-02-18 Thread Ngo Thi Hong Nga
The screenshot is here: http://farm3.static.flickr.com/2411/2274127483_df5296912f_o.jpg In the left is view mode and the right is edit mode. I check the contents of the TopicClass object in my topic page, both the properties title and post is empty, when I enter something in these 2 properties,

[xwiki-users] [ANN] XEclipse 1.1 released

2008-02-18 Thread Fabio Mancinelli
The XWiki development team is pleased to announce the release of XWiki Eclipse 1.1. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiEclipse XEclipse 1.1 introduces several bug fixes and improvements for a nicer user experience. Changes from 1.0.1: * XECLIPSE-70 -

Re: [xwiki-users] MySQL Error invalid use of group function in Statistics application

2008-02-18 Thread Marius Dumitru Florea
Hi Jeremie, The sql query you suggested is cleaner and at least as efficient as the current one. It was my first option but unfortunately it's not supported by the newer versions of mysql. I've no idea why.. mysql select xws_name, sum(xws_page_views) as pageviewcount from xwikistatsdoc where

Re: [xwiki-users] Bulletin Board cannot display topic title and first post !?

2008-02-18 Thread Ngo Thi Hong Nga
I have already entered a title and the first post for the new topic, then click Save and View and the result is what you see in the left of the screenshot. That's the reason why I post this problem here. ___ users mailing list users@xwiki.org

Re: [xwiki-users] MySQL Error invalid use of group function in Statistics application

2008-02-18 Thread Sergiu Dumitriu
Marius Dumitru Florea wrote: Hi Jeremie, The sql query you suggested is cleaner and at least as efficient as the current one. It was my first option but unfortunately it's not supported by the newer versions of mysql. I've no idea why.. mysql select xws_name, sum(xws_page_views) as

Re: [xwiki-users] [Error]: Java heap memory error on adding large attachment

2008-02-18 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Pavel wrote: Ricardo, I did not test the issue on different app servers and databases. However, underlying reasons for this out of memory make me strongly believe that changing DB/AS will make little or no difference. Pavel Hi Pavel, Based on your message (almost your message by