[xwiki-users] XWQL query on several objects of the same class instantiated in the same doc
Hi!, I'm really impressed, again, with the performance and easiness of XWQL. Even though I'm using an old XWiki release, I'm able to follow almost all examples provided at... http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module But I'm not able to figure out how to solve one problem: I would like to retrieve documents (and read their properties) based on a combination of values of comments objects. That is: I only want to retrieve a document when a combination of values stored in comments happens. I've tried this... #set ($xwlquery1 = "from doc.object(XWiki.XWikiComments) as comm where doc.translation = 0 and comm.comment like '%$doc.title%' and comm.comment not like '%Withdrawal:2011%'") But this query retrieve also, for instance, this document holding three comments: Ricardo Rodríguez Fernández, 2012/06/15 07:49 Reply Edit Delete Gender:male Yolanda Liste Martínez, 2012/06/15 09:18 Reply Delete Withdrawal:20111231 Ricardo Rodríguez Fernández, 2013/05/21 13:24 Reply Edit Delete Formely:XWiki.XWikiIDISE001 I'm not able to find a way of not to retrieve this document while all others with comm.comment like '%$doc.title%'. Please, could anybody help me with this issue? Thank you so much for your help, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki] new wiki request
Thank you very much !! I just discover that CNAME config is only possible on a subdomaine as "www" for exemple. So the domain name will be "www.familleassociative.fr". Do you need to modify something ? For the DNS config, is this correct ? www IN CNAME familleassociative.myxwiki.org. Thanks Kévin De : Vincent Massol À : XWiki Users Cc : Kévin Laîné Envoyé le : Mardi 21 mai 2013 18h36 Objet : Re: [xwiki-users] [myxwiki] new wiki request Hi Kevin, Done: http://familleassociative.myxwiki.org/ Which can also be accessed as http://familleassociative.fr once you've updated your DNS records to add a CNAME to myxwiki.org Enjoy! -Vincent Massol On May 20, 2013, at 11:52 AM, Kévin Laîné wrote: > Hi ! > > Thanks to people who answer my questions about myxwiki. > > I'm really decided for opening and managed an Xwiki on myxwiki farm. > The aim of the wiki is to work collaboratively on the concept of > "Associations of chosen family", in French "Famille Choisie Associative". > We want to use the juridic structure of french association (law 1901) to > create new kind of families with matriarchy inspiration and direct democracy. > It can be compare of Iroquoi's family or moso's family in China, large > families, solidarity, freedom. > > The principal person who will be interested are single mothers and single > people wich have difficulties to live alone. > > Here is my username on myxwiki.org : "KevinLaine" > the server name I wan't : "FamilleAssociative" > I've bought a domaine on OVH : familleassociative.fr , I prefer to use > this one only instead of "familleassociative.myxwiki.org" > > Thank you ! > > > > > De : Thomas Mortagne > À : Kévin Laîné ; XWiki Users > Envoyé le : Dimanche 19 mai 2013 16h14 > Objet : Re: [xwiki-users] Questions about myxwiki > > > On Sat, May 18, 2013 at 5:24 PM, Kévin Laîné wrote: >> Hi everybody, my name is Kévin Laîné, i'm a french guy. >> I'm working on a collective project about "alternative models of family". >> >> Xwiki seems to be the best community tool management I've discovered. >> >> I'm really interested for opening an xwiki on the "XWiki Community farm". I >> have some questions before asking you to open a session. >> >> 1) Is it possible to use a domain name like "domain.tld" instead of >> "domain.myxwiki.org" ? > > Yes, it would actually be both. XWiki allow having several aliases for > the same wiki. You would still have to choose to wiki identifier for > the myxwiki.org domain and we can also put yours. > >> >> 2) Is it possible to install some extensions as bulletin board or others ? > > You can install any XAR extensions but JAR extensions require > programming rights. That said you can always ask here when you require > some JAR extension and we might be ok with that ;) > >> 3) Is it possible to embed "Nabble Free Forums" or other Nabble apps ? > > You can put any html an a wiki page using the html macro. See > http://extensions.xwiki.org/xwiki/bin/view/Extension/HTML+Macro. > >> >> 4) Is it possible to make private backup of the xwiki ? > > You can export all the pages of the wiki yes. > >> >> Vincent Massol is working on "Alternate URL Scheme" >> http://dev.xwiki.org/xwiki/bin/view/Design/AlternateURLScheme >> 5) When it will be ready could I use this option on myxwiki even if I my >> xwiki is in production ? >> >> Thank you very much for your answers. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Integration of RSS reader with xwiki?
On May 21, 2013, at 7:50 PM, Mohit Gupta wrote: > i am looking for integration of RSS reader with xwiki where i can subscribe > to RSS feed to some external site( for example :-stackoverflow ) and get > the updates. > Any pointers in the direction will be great help? See the RSS macro: http://extensions.xwiki.org/xwiki/bin/view/Extension/RSS+Macro -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Integration of RSS reader with xwiki?
i am looking for integration of RSS reader with xwiki where i can subscribe to RSS feed to some external site( for example :-stackoverflow ) and get the updates. Any pointers in the direction will be great help? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error in inserting image (and creating link)
On May 21, 2013, at 6:00 PM, Thomas Mortagne wrote: > On Tue, May 21, 2013 at 4:10 PM, Vincent Massol wrote: >> >> On May 21, 2013, at 1:44 PM, chrisward wrote: >> >>> Hi, >>> >>> Is there an intended day this week for the new version? >> >> Not defined yet. We need to find a release manager first. >> >> @Thomas, are you ok to release it? > > I already said I was and that's our rule anyway that a RM is for the > whole branch. It's a rule I personally don't agree with… It doesn't make anyone want to be a RM which is bad IMO. It's already hard enough to find someone to do a release... Anyway, thanks for volunteering :) Thanks -Vincent >> Thanks >> -Vincent >> >>> I only ask since i >>> am holding off getting a team to use our Wiki until I can install the one >>> with the fix. >>> >>> Many thanks, >>> Chris ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error in inserting image (and creating link)
On Tue, May 21, 2013 at 4:10 PM, Vincent Massol wrote: > > On May 21, 2013, at 1:44 PM, chrisward wrote: > >> Hi, >> >> Is there an intended day this week for the new version? > > Not defined yet. We need to find a release manager first. > > @Thomas, are you ok to release it? I already said I was and that's our rule anyway that a RM is for the whole branch. > > Thanks > -Vincent > >> I only ask since i >> am holding off getting a team to use our Wiki until I can install the one >> with the fix. >> >> Many thanks, >> Chris > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrating from 3.5 to 5.0.1 with large XAR
Thanks for all of your help. I was able to be successful by creating a new 3.5 instance with a mysql db. Doing an export/import and then upgrading to the latest xwiki version. On Tue, May 21, 2013 at 6:50 AM, Thomas Mortagne wrote: > On Tue, May 21, 2013 at 9:28 AM, Vincent Massol > wrote: > > Hi Thomas, > > > > On May 21, 2013, at 9:12 AM, Thomas Mortagne > wrote: > > > >> I just converted > >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import > >> to xwiki/2.x syntax. > >> > >> I did not heavily tested it so it's possible you get a groovy syntax > >> error (if you do it's probably a \ missing around the line indicated > >> in the error). > > > > There's a nice groovy syntax for this. You can use: > > > > println """ > > {{html}} > > > > > > … > > """ > > That's nice indeed. > > > > > (See multiline string at http://groovy.codehaus.org/Strings+and+GString) > > > > Thanks > > -Vincent > > > > PS: Also you don't need ";" at end of line ;) > > I know but it's mostly Java code copied a long time ago into groovy. > > > > >> On Mon, May 20, 2013 at 5:02 PM, Erik Engstrom > wrote: > >>> Sorry meant dropdown not download. the drop down box still only has > 2.0 > >>> and 2.1 as options. For now I am going to try to do the import to > mysql in > >>> another 3.5 instance and then migrate that to 5.0.1. Perhaps that will > >>> work better. > >>> > >>> > >>> On Mon, May 20, 2013 at 9:57 AM, Thomas Mortagne > >>> wrote: > >>> > On Mon, May 20, 2013 at 3:45 PM, Erik Engstrom > wrote: > > Thanks, I tried adding 1.0 syntax by changing the property to: > > > > xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1 > > > > and restarting xwiki. But 1.0 is still not available in the > downloads. > Am > > I missing something? > > Not sure what download you are taking about, when you edit a document > you can choose its syntax in a panel on the right. > > > > > Erik > > > > > > On Mon, May 20, 2013 at 8:00 AM, Thomas Mortagne > > wrote: > > > >> The syntax did not really changed but as indicated on > >> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import > >> you have to make sure you use xwiki/1.0 syntax for this snippet to > >> work. In 5.0 the xwiki/1.0 syntax is not listed anymore by default, > >> you can enable it in xwiki.cfg with the xwiki.rendering.syntaxes > >> property. > >> > >> Rewriting It is a bit more complex than changing <% with {{groovy}}, > >> the main difference is that in the old syntax you can stop groovy in > >> the middle of a if/for to print something and go back to groovy > which > >> is not supported by {{groovy}} macro. So the rewrite is mostly about > >> adding a lot of println. I need to find some time to do it... > >> > >> On Mon, May 20, 2013 at 6:55 AM, Erik Engstrom < > esengst...@gmail.com> > >> wrote: > >>> Hey all, > >>> > >>> I inherited an xwiki 3.5 installation that used hsqldb. I want to > move > >> to > >>> 5.0.1 and mysql. The new instance is up and running and I was > able to > >>> export a XAR file from the old system. However the XAR file is > 184MB > in > >>> size so the regular import says it is too big. > >>> > >>> I tried the script here: > >>> > >>> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import > >>> > >>> But it seems the syntax has changed. I tried to replace the <% > with > >>> {{groovy}} and %> with {{/groovy}} but then get a bunch of errors. > >>> > >>> Can some one point me to an upgraded version? Is there a better > way > to > >> do > >>> this? > >>> > >>> Thanks, > >>> > >>> Erik > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > > -- > Thomas Mortagne > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki] new wiki request
Hi Kevin, Done: http://familleassociative.myxwiki.org/ Which can also be accessed as http://familleassociative.fr once you've updated your DNS records to add a CNAME to myxwiki.org Enjoy! -Vincent Massol On May 20, 2013, at 11:52 AM, Kévin Laîné wrote: > Hi ! > > Thanks to people who answer my questions about myxwiki. > > I'm really decided for opening and managed an Xwiki on myxwiki farm. > The aim of the wiki is to work collaboratively on the concept of > "Associations of chosen family", in French "Famille Choisie Associative". > We want to use the juridic structure of french association (law 1901) to > create new kind of families with matriarchy inspiration and direct democracy. > It can be compare of Iroquoi's family or moso's family in China, large > families, solidarity, freedom. > > The principal person who will be interested are single mothers and single > people wich have difficulties to live alone. > > Here is my username on myxwiki.org : "KevinLaine" > the server name I wan't : "FamilleAssociative" > I've bought a domaine on OVH : familleassociative.fr , I prefer to use > this one only instead of "familleassociative.myxwiki.org" > > Thank you ! > > > > > De : Thomas Mortagne > À : Kévin Laîné ; XWiki Users > Envoyé le : Dimanche 19 mai 2013 16h14 > Objet : Re: [xwiki-users] Questions about myxwiki > > > On Sat, May 18, 2013 at 5:24 PM, Kévin Laîné wrote: >> Hi everybody, my name is Kévin Laîné, i'm a french guy. >> I'm working on a collective project about "alternative models of family". >> >> Xwiki seems to be the best community tool management I've discovered. >> >> I'm really interested for opening an xwiki on the "XWiki Community farm". I >> have some questions before asking you to open a session. >> >> 1) Is it possible to use a domain name like "domain.tld" instead of >> "domain.myxwiki.org" ? > > Yes, it would actually be both. XWiki allow having several aliases for > the same wiki. You would still have to choose to wiki identifier for > the myxwiki.org domain and we can also put yours. > >> >> 2) Is it possible to install some extensions as bulletin board or others ? > > You can install any XAR extensions but JAR extensions require > programming rights. That said you can always ask here when you require > some JAR extension and we might be ok with that ;) > >> 3) Is it possible to embed "Nabble Free Forums" or other Nabble apps ? > > You can put any html an a wiki page using the html macro. See > http://extensions.xwiki.org/xwiki/bin/view/Extension/HTML+Macro. > >> >> 4) Is it possible to make private backup of the xwiki ? > > You can export all the pages of the wiki yes. > >> >> Vincent Massol is working on "Alternate URL Scheme" >> http://dev.xwiki.org/xwiki/bin/view/Design/AlternateURLScheme >> 5) When it will be ready could I use this option on myxwiki even if I my >> xwiki is in production ? >> >> Thank you very much for your answers. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki] new wiki request
On May 20, 2013, at 12:10 PM, Kévin Laîné wrote: > can you remove the account "kevinlai80" on myxwiki, I replaced it by > "KevinLaine" ? Removed! Thanks -Vincent > thanks > > > > De : Kévin Laîné > À : "users@xwiki.org" > Envoyé le : Lundi 20 mai 2013 13h52 > Objet : [xwiki-users] [myxwiki] new wiki request > > > Hi ! > > Thanks to people who answer my questions about myxwiki. > > I'm really decided for opening and managed an Xwiki on myxwiki farm. > The aim of the wiki is to work collaboratively on the concept of > "Associations of chosen family", in French "Famille Choisie Associative". > We want to use the juridic structure of french association (law 1901) to > create new kind of families with matriarchy inspiration and direct democracy. > It can be compare of Iroquoi's family or moso's family in China, large > families, solidarity, freedom. > > The principal person who will be interested are single mothers and single > people wich have difficulties to live alone. > > Here is my username on myxwiki.org : "KevinLaine" > the server name I wan't : "FamilleAssociative" > I've bought a domaine on OVH : familleassociative.fr , I prefer to use > this one only instead of "familleassociative.myxwiki.org" > > Thank you ! > > > > > De : Thomas Mortagne > À : Kévin Laîné ; XWiki Users > Envoyé le : Dimanche 19 mai 2013 16h14 > Objet : Re: [xwiki-users] Questions about myxwiki > > > On Sat, May 18, 2013 at 5:24 PM, Kévin Laîné wrote: >> Hi everybody, my name is Kévin Laîné, i'm a french guy. >> I'm working on a collective project about "alternative models of family". >> >> Xwiki seems to be the best community tool management I've discovered. >> >> I'm really interested for opening an xwiki on the "XWiki Community farm". I >> have some questions before asking you to open a session. >> >> 1) Is it possible to use a domain name like "domain.tld" instead of >> "domain.myxwiki.org" ? > > Yes, it would actually be both. XWiki allow having several aliases for > the same wiki. You would still have to choose to wiki identifier for > the myxwiki.org domain and we can also put yours. > >> >> 2) Is it possible to install some extensions as bulletin board or others ? > > You can install any XAR extensions but JAR extensions require > programming rights. That said you can always ask here when you require > some JAR extension and we might be ok with that ;) > >> 3) Is it possible to embed "Nabble Free Forums" or other Nabble apps ? > > You can put any html an a wiki page using the html macro. See > http://extensions.xwiki.org/xwiki/bin/view/Extension/HTML+Macro. > >> >> 4) Is it possible to make private backup of the xwiki ? > > You can export all the pages of the wiki yes. > >> >> Vincent Massol is working on "Alternate URL Scheme" >> http://dev.xwiki.org/xwiki/bin/view/Design/AlternateURLScheme >> 5) When it will be ready could I use this option on myxwiki even if I my >> xwiki is in production ? >> >> Thank you very much for your answers. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error in inserting image (and creating link)
On May 21, 2013, at 1:44 PM, chrisward wrote: > Hi, > > Is there an intended day this week for the new version? Not defined yet. We need to find a release manager first. @Thomas, are you ok to release it? Thanks -Vincent > I only ask since i > am holding off getting a team to use our Wiki until I can install the one > with the fix. > > Many thanks, > Chris ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrating from 3.5 to 5.0.1 with large XAR
On Tue, May 21, 2013 at 9:28 AM, Vincent Massol wrote: > Hi Thomas, > > On May 21, 2013, at 9:12 AM, Thomas Mortagne > wrote: > >> I just converted >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import >> to xwiki/2.x syntax. >> >> I did not heavily tested it so it's possible you get a groovy syntax >> error (if you do it's probably a \ missing around the line indicated >> in the error). > > There's a nice groovy syntax for this. You can use: > > println """ > {{html}} > > > … > """ That's nice indeed. > > (See multiline string at http://groovy.codehaus.org/Strings+and+GString ) > > Thanks > -Vincent > > PS: Also you don't need ";" at end of line ;) I know but it's mostly Java code copied a long time ago into groovy. > >> On Mon, May 20, 2013 at 5:02 PM, Erik Engstrom wrote: >>> Sorry meant dropdown not download. the drop down box still only has 2.0 >>> and 2.1 as options. For now I am going to try to do the import to mysql in >>> another 3.5 instance and then migrate that to 5.0.1. Perhaps that will >>> work better. >>> >>> >>> On Mon, May 20, 2013 at 9:57 AM, Thomas Mortagne >>> wrote: >>> On Mon, May 20, 2013 at 3:45 PM, Erik Engstrom wrote: > Thanks, I tried adding 1.0 syntax by changing the property to: > > xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1 > > and restarting xwiki. But 1.0 is still not available in the downloads. Am > I missing something? Not sure what download you are taking about, when you edit a document you can choose its syntax in a panel on the right. > > Erik > > > On Mon, May 20, 2013 at 8:00 AM, Thomas Mortagne > wrote: > >> The syntax did not really changed but as indicated on >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import >> you have to make sure you use xwiki/1.0 syntax for this snippet to >> work. In 5.0 the xwiki/1.0 syntax is not listed anymore by default, >> you can enable it in xwiki.cfg with the xwiki.rendering.syntaxes >> property. >> >> Rewriting It is a bit more complex than changing <% with {{groovy}}, >> the main difference is that in the old syntax you can stop groovy in >> the middle of a if/for to print something and go back to groovy which >> is not supported by {{groovy}} macro. So the rewrite is mostly about >> adding a lot of println. I need to find some time to do it... >> >> On Mon, May 20, 2013 at 6:55 AM, Erik Engstrom >> wrote: >>> Hey all, >>> >>> I inherited an xwiki 3.5 installation that used hsqldb. I want to move >> to >>> 5.0.1 and mysql. The new instance is up and running and I was able to >>> export a XAR file from the old system. However the XAR file is 184MB in >>> size so the regular import says it is too big. >>> >>> I tried the script here: >>> >>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import >>> >>> But it seems the syntax has changed. I tried to replace the <% with >>> {{groovy}} and %> with {{/groovy}} but then get a bunch of errors. >>> >>> Can some one point me to an upgraded version? Is there a better way to >> do >>> this? >>> >>> Thanks, >>> >>> Erik > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error in inserting image (and creating link)
Hi, Is there an intended day this week for the new version? I only ask since i am holding off getting a team to use our Wiki until I can install the one with the fix. Many thanks, Chris -- View this message in context: http://xwiki.475771.n2.nabble.com/Error-in-inserting-image-and-creating-link-tp7585148p7585268.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to write content in Container Macro
This one is better ""This is a standalone macro and it cannot be used inline" On 21 May 2013 09:15, Belkhiria Hamza Yazid wrote: > Hi, > > it actually works with text > > but when i try to add some macros in the columns it does not work in all > cases > > i tried the 'Include Macro' and the PDF viewer Macro > > pdfviewer worked fine and went to second column as expected > > when i add include Macro in the first column, the container macro effect > disappears > > Thanks > > > > > On 21 May 2013 08:21, Vincent Massol wrote: > >> >> On May 21, 2013, at 9:18 AM, Vincent Massol wrote: >> >> > >> > On May 21, 2013, at 9:05 AM, Vincent Massol wrote: >> > >> >> >> >> On May 21, 2013, at 9:04 AM, Vincent Massol >> wrote: >> >> >> >>> >> >>> On May 21, 2013, at 9:01 AM, Vincent Massol >> wrote: >> >>> >> Hi, >> >> I've added this FAQ which I hope explains your issue: >> >> http://www.xwiki.org/xwiki/bin/view/FAQ/Why+do+I+get+a+%22Not+an+inline%22+macro+error >> >> I'm also trying to improve the error message you got. Would the >> following text have been more useful: >> "This macro generates standalone content. As a consequence you need >> to have 2 new lines separating your macro from the content before and after >> it." >> ? >> >>> >> >>> Actually maybe this is better: >> >>> >> >>> "This macro generates standalone content. As a consequence you need >> to have 2 newline characters (a.k.a line breaks) separating your macro from >> the content before and after it." >> > >> > This is not fully correct. It's valid for XWiki Syntax 2.0+ for not >> necessarily true for other syntaxes…. >> > >> > Thus I'm proposing: >> > >> > "This macro generates standalone content. As a consequence you need to >> make sure to use a syntax that separates your macro from the content before >> and after it so that it's on a line by itself. For example in XWiki Syntax >> 2.0+ this means having 2 newline characters (a.k.a line breaks) separating >> your macro from the content before and after it." >> > >> > Thanks >> > -Vincent >> > >> >>> >> >>> WDYT? >> >> >> >> hmm actually the problem might be that you didn't click on the error >> message… >> >> What about also changing that text from: >> >> "Not an inline macro" >> >> to: >> >> "This is a standalone macro and it cannot be used inline" >> >> I find it slightly better. >> >> Thanks >> -Vincent >> >> >> >> >> Thanks >> >> -Vincent >> >> >> >>> Thanks >> >>> -Vincent >> >>> >> Thanks >> -Vincent >> >> On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid < >> yoshipepper...@gmail.com> wrote: >> >> > it generated an error about " inline" >> > >> > >> > On 19 May 2013 21:57, Arnaud bourree >> wrote: >> > >> >> Content of 1st ((( ... ))) section will be in 1st column and 2nd >> ((( ... >> >> ))) in 2nd column etc. >> >> >> >> Arnaud. >> >> >> >> >> >> 2013/5/19 Belkhiria Hamza Yazid >> >> >> >>> Hi, >> >>> >> >>> i just tried the container Macro with Columns option >> >>> >> >>> {{container layoutStyle="columns"}} >> >>> (((first column))) >> >>> (((second column))) >> >>> {{/container}} >> >>> >> >>> >> >>> it definitely cut the page in two, but i am having difficulties >> to find >> >> out >> >>> how to implement content in the first column and how to go to >> second >> >> column >> >>> >> >>> Thanks >> >>> >> >> >> > >> >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > > > > -- > *BHY* > -- *BHY* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to write content in Container Macro
Hi, it actually works with text but when i try to add some macros in the columns it does not work in all cases i tried the 'Include Macro' and the PDF viewer Macro pdfviewer worked fine and went to second column as expected when i add include Macro in the first column, the container macro effect disappears Thanks On 21 May 2013 08:21, Vincent Massol wrote: > > On May 21, 2013, at 9:18 AM, Vincent Massol wrote: > > > > > On May 21, 2013, at 9:05 AM, Vincent Massol wrote: > > > >> > >> On May 21, 2013, at 9:04 AM, Vincent Massol wrote: > >> > >>> > >>> On May 21, 2013, at 9:01 AM, Vincent Massol > wrote: > >>> > Hi, > > I've added this FAQ which I hope explains your issue: > > http://www.xwiki.org/xwiki/bin/view/FAQ/Why+do+I+get+a+%22Not+an+inline%22+macro+error > > I'm also trying to improve the error message you got. Would the > following text have been more useful: > "This macro generates standalone content. As a consequence you need > to have 2 new lines separating your macro from the content before and after > it." > ? > >>> > >>> Actually maybe this is better: > >>> > >>> "This macro generates standalone content. As a consequence you need to > have 2 newline characters (a.k.a line breaks) separating your macro from > the content before and after it." > > > > This is not fully correct. It's valid for XWiki Syntax 2.0+ for not > necessarily true for other syntaxes…. > > > > Thus I'm proposing: > > > > "This macro generates standalone content. As a consequence you need to > make sure to use a syntax that separates your macro from the content before > and after it so that it's on a line by itself. For example in XWiki Syntax > 2.0+ this means having 2 newline characters (a.k.a line breaks) separating > your macro from the content before and after it." > > > > Thanks > > -Vincent > > > >>> > >>> WDYT? > >> > >> hmm actually the problem might be that you didn't click on the error > message… > > What about also changing that text from: > > "Not an inline macro" > > to: > > "This is a standalone macro and it cannot be used inline" > > I find it slightly better. > > Thanks > -Vincent > > >> > >> Thanks > >> -Vincent > >> > >>> Thanks > >>> -Vincent > >>> > Thanks > -Vincent > > On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid < > yoshipepper...@gmail.com> wrote: > > > it generated an error about " inline" > > > > > > On 19 May 2013 21:57, Arnaud bourree > wrote: > > > >> Content of 1st ((( ... ))) section will be in 1st column and 2nd > ((( ... > >> ))) in 2nd column etc. > >> > >> Arnaud. > >> > >> > >> 2013/5/19 Belkhiria Hamza Yazid > >> > >>> Hi, > >>> > >>> i just tried the container Macro with Columns option > >>> > >>> {{container layoutStyle="columns"}} > >>> (((first column))) > >>> (((second column))) > >>> {{/container}} > >>> > >>> > >>> it definitely cut the page in two, but i am having difficulties to > find > >> out > >>> how to implement content in the first column and how to go to > second > >> column > >>> > >>> Thanks > >>> > >> > > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- *BHY* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Antw: configuring url => Apache , Unauthorized
Ingo Oellers writes: > > Huge waste ;) > > Hi, do you have found a solution for that issue? I'm facing with a simmilar problem (error 500 behind a apache proxy). MfG Stefan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrating from 3.5 to 5.0.1 with large XAR
Hi Thomas, On May 21, 2013, at 9:12 AM, Thomas Mortagne wrote: > I just converted > http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import > to xwiki/2.x syntax. > > I did not heavily tested it so it's possible you get a groovy syntax > error (if you do it's probably a \ missing around the line indicated > in the error). There's a nice groovy syntax for this. You can use: println """ {{html}} … """ (See multiline string at http://groovy.codehaus.org/Strings+and+GString ) Thanks -Vincent PS: Also you don't need ";" at end of line ;) > On Mon, May 20, 2013 at 5:02 PM, Erik Engstrom wrote: >> Sorry meant dropdown not download. the drop down box still only has 2.0 >> and 2.1 as options. For now I am going to try to do the import to mysql in >> another 3.5 instance and then migrate that to 5.0.1. Perhaps that will >> work better. >> >> >> On Mon, May 20, 2013 at 9:57 AM, Thomas Mortagne >> wrote: >> >>> On Mon, May 20, 2013 at 3:45 PM, Erik Engstrom >>> wrote: Thanks, I tried adding 1.0 syntax by changing the property to: xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1 and restarting xwiki. But 1.0 is still not available in the downloads. >>> Am I missing something? >>> >>> Not sure what download you are taking about, when you edit a document >>> you can choose its syntax in a panel on the right. >>> Erik On Mon, May 20, 2013 at 8:00 AM, Thomas Mortagne wrote: > The syntax did not really changed but as indicated on > http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import > you have to make sure you use xwiki/1.0 syntax for this snippet to > work. In 5.0 the xwiki/1.0 syntax is not listed anymore by default, > you can enable it in xwiki.cfg with the xwiki.rendering.syntaxes > property. > > Rewriting It is a bit more complex than changing <% with {{groovy}}, > the main difference is that in the old syntax you can stop groovy in > the middle of a if/for to print something and go back to groovy which > is not supported by {{groovy}} macro. So the rewrite is mostly about > adding a lot of println. I need to find some time to do it... > > On Mon, May 20, 2013 at 6:55 AM, Erik Engstrom > wrote: >> Hey all, >> >> I inherited an xwiki 3.5 installation that used hsqldb. I want to >>> move > to >> 5.0.1 and mysql. The new instance is up and running and I was able to >> export a XAR file from the old system. However the XAR file is 184MB >>> in >> size so the regular import says it is too big. >> >> I tried the script here: >> >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import >> >> But it seems the syntax has changed. I tried to replace the <% with >> {{groovy}} and %> with {{/groovy}} but then get a bunch of errors. >> >> Can some one point me to an upgraded version? Is there a better way >>> to > do >> this? >> >> Thanks, >> >> Erik ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to write content in Container Macro
On May 21, 2013, at 9:18 AM, Vincent Massol wrote: > > On May 21, 2013, at 9:05 AM, Vincent Massol wrote: > >> >> On May 21, 2013, at 9:04 AM, Vincent Massol wrote: >> >>> >>> On May 21, 2013, at 9:01 AM, Vincent Massol wrote: >>> Hi, I've added this FAQ which I hope explains your issue: http://www.xwiki.org/xwiki/bin/view/FAQ/Why+do+I+get+a+%22Not+an+inline%22+macro+error I'm also trying to improve the error message you got. Would the following text have been more useful: "This macro generates standalone content. As a consequence you need to have 2 new lines separating your macro from the content before and after it." ? >>> >>> Actually maybe this is better: >>> >>> "This macro generates standalone content. As a consequence you need to have >>> 2 newline characters (a.k.a line breaks) separating your macro from the >>> content before and after it." > > This is not fully correct. It's valid for XWiki Syntax 2.0+ for not > necessarily true for other syntaxes…. > > Thus I'm proposing: > > "This macro generates standalone content. As a consequence you need to make > sure to use a syntax that separates your macro from the content before and > after it so that it's on a line by itself. For example in XWiki Syntax 2.0+ > this means having 2 newline characters (a.k.a line breaks) separating your > macro from the content before and after it." > > Thanks > -Vincent > >>> >>> WDYT? >> >> hmm actually the problem might be that you didn't click on the error message… What about also changing that text from: "Not an inline macro" to: "This is a standalone macro and it cannot be used inline" I find it slightly better. Thanks -Vincent >> >> Thanks >> -Vincent >> >>> Thanks >>> -Vincent >>> Thanks -Vincent On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid wrote: > it generated an error about " inline" > > > On 19 May 2013 21:57, Arnaud bourree wrote: > >> Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... >> ))) in 2nd column etc. >> >> Arnaud. >> >> >> 2013/5/19 Belkhiria Hamza Yazid >> >>> Hi, >>> >>> i just tried the container Macro with Columns option >>> >>> {{container layoutStyle="columns"}} >>> (((first column))) >>> (((second column))) >>> {{/container}} >>> >>> >>> it definitely cut the page in two, but i am having difficulties to find >> out >>> how to implement content in the first column and how to go to second >> column >>> >>> Thanks >>> >> > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to write content in Container Macro
On May 21, 2013, at 9:05 AM, Vincent Massol wrote: > > On May 21, 2013, at 9:04 AM, Vincent Massol wrote: > >> >> On May 21, 2013, at 9:01 AM, Vincent Massol wrote: >> >>> Hi, >>> >>> I've added this FAQ which I hope explains your issue: >>> http://www.xwiki.org/xwiki/bin/view/FAQ/Why+do+I+get+a+%22Not+an+inline%22+macro+error >>> >>> I'm also trying to improve the error message you got. Would the following >>> text have been more useful: >>> "This macro generates standalone content. As a consequence you need to have >>> 2 new lines separating your macro from the content before and after it." >>> ? >> >> Actually maybe this is better: >> >> "This macro generates standalone content. As a consequence you need to have >> 2 newline characters (a.k.a line breaks) separating your macro from the >> content before and after it." This is not fully correct. It's valid for XWiki Syntax 2.0+ for not necessarily true for other syntaxes…. Thus I'm proposing: "This macro generates standalone content. As a consequence you need to make sure to use a syntax that separates your macro from the content before and after it so that it's on a line by itself. For example in XWiki Syntax 2.0+ this means having 2 newline characters (a.k.a line breaks) separating your macro from the content before and after it." Thanks -Vincent >> >> WDYT? > > hmm actually the problem might be that you didn't click on the error message… > > Thanks > -Vincent > >> Thanks >> -Vincent >> >>> Thanks >>> -Vincent >>> >>> On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid >>> wrote: >>> it generated an error about " inline" On 19 May 2013 21:57, Arnaud bourree wrote: > Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... > ))) in 2nd column etc. > > Arnaud. > > > 2013/5/19 Belkhiria Hamza Yazid > >> Hi, >> >> i just tried the container Macro with Columns option >> >> {{container layoutStyle="columns"}} >> (((first column))) >> (((second column))) >> {{/container}} >> >> >> it definitely cut the page in two, but i am having difficulties to find > out >> how to implement content in the first column and how to go to second > column >> >> Thanks >> > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrating from 3.5 to 5.0.1 with large XAR
I just converted http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import to xwiki/2.x syntax. I did not heavily tested it so it's possible you get a groovy syntax error (if you do it's probably a \ missing around the line indicated in the error). On Mon, May 20, 2013 at 5:02 PM, Erik Engstrom wrote: > Sorry meant dropdown not download. the drop down box still only has 2.0 > and 2.1 as options. For now I am going to try to do the import to mysql in > another 3.5 instance and then migrate that to 5.0.1. Perhaps that will > work better. > > > On Mon, May 20, 2013 at 9:57 AM, Thomas Mortagne > wrote: > >> On Mon, May 20, 2013 at 3:45 PM, Erik Engstrom >> wrote: >> > Thanks, I tried adding 1.0 syntax by changing the property to: >> > >> > xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1 >> > >> > and restarting xwiki. But 1.0 is still not available in the downloads. >> Am >> > I missing something? >> >> Not sure what download you are taking about, when you edit a document >> you can choose its syntax in a panel on the right. >> >> > >> > Erik >> > >> > >> > On Mon, May 20, 2013 at 8:00 AM, Thomas Mortagne >> > wrote: >> > >> >> The syntax did not really changed but as indicated on >> >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import >> >> you have to make sure you use xwiki/1.0 syntax for this snippet to >> >> work. In 5.0 the xwiki/1.0 syntax is not listed anymore by default, >> >> you can enable it in xwiki.cfg with the xwiki.rendering.syntaxes >> >> property. >> >> >> >> Rewriting It is a bit more complex than changing <% with {{groovy}}, >> >> the main difference is that in the old syntax you can stop groovy in >> >> the middle of a if/for to print something and go back to groovy which >> >> is not supported by {{groovy}} macro. So the rewrite is mostly about >> >> adding a lot of println. I need to find some time to do it... >> >> >> >> On Mon, May 20, 2013 at 6:55 AM, Erik Engstrom >> >> wrote: >> >> > Hey all, >> >> > >> >> > I inherited an xwiki 3.5 installation that used hsqldb. I want to >> move >> >> to >> >> > 5.0.1 and mysql. The new instance is up and running and I was able to >> >> > export a XAR file from the old system. However the XAR file is 184MB >> in >> >> > size so the regular import says it is too big. >> >> > >> >> > I tried the script here: >> >> > >> >> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import >> >> > >> >> > But it seems the syntax has changed. I tried to replace the <% with >> >> > {{groovy}} and %> with {{/groovy}} but then get a bunch of errors. >> >> > >> >> > Can some one point me to an upgraded version? Is there a better way >> to >> >> do >> >> > this? >> >> > >> >> > Thanks, >> >> > >> >> > Erik >> >> > ___ >> >> > users mailing list >> >> > users@xwiki.org >> >> > http://lists.xwiki.org/mailman/listinfo/users >> >> >> >> >> >> >> >> -- >> >> Thomas Mortagne >> >> ___ >> >> users mailing list >> >> users@xwiki.org >> >> http://lists.xwiki.org/mailman/listinfo/users >> >> >> > ___ >> > users mailing list >> > users@xwiki.org >> > http://lists.xwiki.org/mailman/listinfo/users >> >> >> >> -- >> Thomas Mortagne >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to write content in Container Macro
On May 21, 2013, at 9:04 AM, Vincent Massol wrote: > > On May 21, 2013, at 9:01 AM, Vincent Massol wrote: > >> Hi, >> >> I've added this FAQ which I hope explains your issue: >> http://www.xwiki.org/xwiki/bin/view/FAQ/Why+do+I+get+a+%22Not+an+inline%22+macro+error >> >> I'm also trying to improve the error message you got. Would the following >> text have been more useful: >> "This macro generates standalone content. As a consequence you need to have >> 2 new lines separating your macro from the content before and after it." >> ? > > Actually maybe this is better: > > "This macro generates standalone content. As a consequence you need to have 2 > newline characters (a.k.a line breaks) separating your macro from the content > before and after it." > > WDYT? hmm actually the problem might be that you didn't click on the error message… Thanks -Vincent > Thanks > -Vincent > >> Thanks >> -Vincent >> >> On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid >> wrote: >> >>> it generated an error about " inline" >>> >>> >>> On 19 May 2013 21:57, Arnaud bourree wrote: >>> Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... ))) in 2nd column etc. Arnaud. 2013/5/19 Belkhiria Hamza Yazid > Hi, > > i just tried the container Macro with Columns option > > {{container layoutStyle="columns"}} > (((first column))) > (((second column))) > {{/container}} > > > it definitely cut the page in two, but i am having difficulties to find out > how to implement content in the first column and how to go to second column > > Thanks > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to write content in Container Macro
On May 21, 2013, at 9:01 AM, Vincent Massol wrote: > Hi, > > I've added this FAQ which I hope explains your issue: > http://www.xwiki.org/xwiki/bin/view/FAQ/Why+do+I+get+a+%22Not+an+inline%22+macro+error > > I'm also trying to improve the error message you got. Would the following > text have been more useful: > "This macro generates standalone content. As a consequence you need to have 2 > new lines separating your macro from the content before and after it." > ? Actually maybe this is better: "This macro generates standalone content. As a consequence you need to have 2 newline characters (a.k.a line breaks) separating your macro from the content before and after it." WDYT? Thanks -Vincent > Thanks > -Vincent > > On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid > wrote: > >> it generated an error about " inline" >> >> >> On 19 May 2013 21:57, Arnaud bourree wrote: >> >>> Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... >>> ))) in 2nd column etc. >>> >>> Arnaud. >>> >>> >>> 2013/5/19 Belkhiria Hamza Yazid >>> Hi, i just tried the container Macro with Columns option {{container layoutStyle="columns"}} (((first column))) (((second column))) {{/container}} it definitely cut the page in two, but i am having difficulties to find >>> out how to implement content in the first column and how to go to second >>> column Thanks -- *BHY* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users >>> ___ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >>> >> >> >> >> -- >> *BHY* >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to write content in Container Macro
Hi, I've added this FAQ which I hope explains your issue: http://www.xwiki.org/xwiki/bin/view/FAQ/Why+do+I+get+a+%22Not+an+inline%22+macro+error I'm also trying to improve the error message you got. Would the following text have been more useful: "This macro generates standalone content. As a consequence you need to have 2 new lines separating your macro from the content before and after it." ? Thanks -Vincent On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid wrote: > it generated an error about " inline" > > > On 19 May 2013 21:57, Arnaud bourree wrote: > >> Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... >> ))) in 2nd column etc. >> >> Arnaud. >> >> >> 2013/5/19 Belkhiria Hamza Yazid >> >>> Hi, >>> >>> i just tried the container Macro with Columns option >>> >>> {{container layoutStyle="columns"}} >>> (((first column))) >>> (((second column))) >>> {{/container}} >>> >>> >>> it definitely cut the page in two, but i am having difficulties to find >> out >>> how to implement content in the first column and how to go to second >> column >>> >>> Thanks >>> >>> >>> -- >>> *BHY* >>> ___ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >>> >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > > > > -- > *BHY* > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users