Re: [xwiki-users] xwiki-enterprise-common 3.5 upgrade/installation failing on debian squeeze

2012-04-10 Thread Thomas Mortagne
Hi Matt, Sorry did not had much time to look at it before. What package did you installed exactly ? Since 3.5 you should install one of the xwiki-enterprise-tomcat- (for example xwiki-enterprise-tomcat6-mysql) packages. On Sun, Apr 8, 2012 at 10:48 PM, Matt Hammond wrote: > I spoke too soon. My

Re: [xwiki-users] RESTful API Issue

2012-04-10 Thread Aslam Sayyed
Some more info on this issue Class: XWiki.MyCustomClass exists in default wiki "XWiki". But I'm Trying to add object as shown below in another wiki (say virtualwiki1). On Mon, Apr 9, 2012 at 10:17 PM, Aslam Sayyed wrote: > Hi All, > I'm using RESTful API, I'm trying to create Xwiki Object and at

[xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Frank Fischer
Hello, using a non-WYSIWIG editor my text lines can get quite large (especially when some markup is included). With 1.0 syntax this was no problem: line one still line one is rendered in one line. Is it possible to achieve a similar behaviour with 2.0 (2.1)? Like: line one ~ still li

Re: [xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Vincent Massol
Hi Frank, On Apr 10, 2012, at 2:30 PM, Frank Fischer wrote: > Hello, > using a non-WYSIWIG editor my text lines can get quite large > (especially when some markup is included). > > With 1.0 syntax this was no problem: > > line one > still line one > > is rendered in one line. > > Is it poss

Re: [xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Thomas Mortagne
See http://jira.xwiki.org/browse/XRENDERING-167 On Tue, Apr 10, 2012 at 2:30 PM, Frank Fischer wrote: > Hello, > using a non-WYSIWIG editor my text lines can get quite large > (especially when some markup is included). > > With 1.0 syntax this was no problem: > >  line one >  still line one > > i

Re: [xwiki-users] RESTful API Issue

2012-04-10 Thread Marius Dumitru Florea
On Tue, Apr 10, 2012 at 3:21 PM, Aslam Sayyed wrote: > Some more info on this issue > > Class: XWiki.MyCustomClass exists in default wiki "XWiki". But I'm Trying > to add object as shown below in another wiki (say virtualwiki1). Currently you can't add objects of a type/class defined in a differe

Re: [xwiki-users] Components : Bridge to old core and objects ?

2012-04-10 Thread _diego
Well, I've been trying, but maven doesn't find that dependency. I've tried with several versions of the following: org.xwiki.platform xwiki-platform-oldcore 4.0-SNAPSHOT I also search in maven repository but there is no reference there to the old core. Should I build the source fro

Re: [xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Frank Fischer
Thank you both for your quick answers! http://jira.xwiki.org/browse/XRENDERING-167 really is my problem. A quick (and bad) example is a list of links in one line: - xwiki: [[Platform (Features]>>http://platform.xwi

Re: [xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Frank Fischer
of course it is rendered as: xwiki: Platform (Features) - Component Module - Writing XWiki components - GitHub - User's Guide - Getting started - Syntax - Administrator's Guide - Developer's Guide - Development Zone - Platform Features - Extensions - FAQ Frank _

[xwiki-users] How to set a class property as topFilter in the livetable?

2012-04-10 Thread Alex
Hey, i've a problem, i made a class with some properties and on the class sheet i have put a livetable that shows the docs from another class. Now i want to filter the livetable that is in the first class on every side with a property of it. But i dont know how to get the property of the first c

Re: [xwiki-users] Components : Bridge to old core and objects ?

2012-04-10 Thread Thomas Mortagne
Probably mean you don't have the right configuration in your .m2/settings.xml. See http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven On Tue, Apr 10, 2012 at 3:24 PM, _diego wrote: > Well, I've been trying, but maven doesn't find that dependency. > > I've tried with several v

Re: [xwiki-users] Components : Bridge to old core and objects ?

2012-04-10 Thread Marius Dumitru Florea
On Tue, Apr 10, 2012 at 4:34 PM, Thomas Mortagne wrote: > Probably mean you don't have the right configuration in your > .m2/settings.xml. See > http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven Yes, I can see the 4.0-SNAPSHOT version of xwiki-platform-oldcore in the maven r

Re: [xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Vincent Massol
Hi Franck, See below On Apr 10, 2012, at 3:28 PM, Frank Fischer wrote: > Thank you both for your quick answers! > > http://jira.xwiki.org/browse/XRENDERING-167 really is my problem. > > A quick (and bad) example is a list of links in one line: > ---

Re: [xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Frank Fischer
Ok - i did get what i wanted ;-) , i tested your proposal with another example but was accustomed to the JSPWiki list syntax: *first line still first line *second line still second line If i put this whole list into the macro the second '*' is not at the start of the line. This (and a typo type

Re: [xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Vincent Massol
See below On Apr 10, 2012, at 4:28 PM, Frank Fischer wrote: > Ok - i did get what i wanted ;-) , > > i tested your proposal with another example but > was accustomed to the JSPWiki list syntax: > > *first line > still first line > *second line > still second line > > If i put this whole list i

Re: [xwiki-users] Components : Bridge to old core and objects ?

2012-04-10 Thread Diego Jesus
Ok, got it to work. The small test component is running just fine in XWiki. However, if I try to run unit tests with maven I get the following error: Results : Failed tests:   testGetDocument(com.aims.DocumentScriptTest): unexpected invocation: context.getContext() no expectations specified: did

Re: [xwiki-users] RESTful API Issue

2012-04-10 Thread Aslam Sayyed
Thanks a lot Mauris. In our current implementation, we consume virtual wikis only through REST api and we have extended it to add few functionalities as we needed. As per your comment, I'm thinking to export existing class definition to xar / xml and import it to other virtual wiki. Can I copy/cre

Re: [xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Frank Fischer
Perfect Frank On 04/10/2012 04:33 PM, Vincent Massol wrote: See below On Apr 10, 2012, at 4:28 PM, Frank Fischer wrote: Ok - i did get what i wanted ;-) , i tested your proposal with another example but was accustomed to the JSPWiki list syntax: *first line still first line *second line s

Re: [xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Arnaud bourree
Hello, I don't really understand need of velocity macro in you use-case. Personally, when I want a new line in list, table ..., I used ((( ))) Then you have: * [[Platform (Features]>>http://platform.xwiki.org/xwiki/bin/view/Main/]] - [[Component Module>>http://extensions.xwiki.org/xwiki/bin/view

Re: [xwiki-users] XWiki Syntax 2.0: is it possible to escape newline

2012-04-10 Thread Vincent Massol
On Apr 10, 2012, at 8:26 PM, Arnaud bourree wrote: > Hello, > > I don't really understand need of velocity macro in you use-case. > Personally, when I want a new line in list, table ..., I used ((( ))) > Then you have: > * [[Platform (Features]>>http://platform.xwiki.org/xwiki/bin/view/Main/]] -

[xwiki-users] Logging problem

2012-04-10 Thread du du
Hi, all, I have the following logback.xml file, I developed a servlet, and used common logging library, import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; Log logger = LogFactory.getLog(FileTestServlet.class); I also added this to the logback.xml: In the cod

Re: [xwiki-users] [xwiki-devs] Logging problem

2012-04-10 Thread Vincent Massol
On Apr 11, 2012, at 6:06 AM, du du wrote: > Hi, all, > > I have the following logback.xml file, I developed a servlet, and used > common logging library, > > import org.apache.commons.logging.Log; > import org.apache.commons.logging.LogFactory; > Log logger = LogFactory.getLog(FileTestServlet.c

[xwiki-users] [Announcement] XWiki Enterprise 4.0 Release Candidate 1 Released

2012-04-10 Thread Sergiu Dumitriu
The XWiki development team is proud to announce the availability of XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and XWiki Enterprise Manager 4.0 Release Candidate 1. This is the first and hopefully last release candidate for XWiki Enterprise 4.0 version. This is mostly a p