Re: [xwiki-users] Access to Bindings in Python
On Thu, Dec 10, 2009 at 20:51, Josh Eastburn jkeastburn+xw...@gmail.com wrote: Thomas, {{python}} try: from com.xpn.xwiki.web import Utils from org.xwiki.context import Execution except ImportError: print 'import error' try: context = Utils.getComponent(Execution.class).getContext().getProperty(xwikicontext) except: print 'method call failed' {{/python}} outputs: method call failed I might just have to wait for a Jython fix. The problem is the Execution.class it seems, i don't know how to get the java class object in Jython but i guess there is a way. Thanks, Josh On Thu, Dec 10, 2009 at 2:26 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Thu, Dec 10, 2009 at 11:11, Thomas Mortagne thomas.morta...@xwiki.com wrote: As a workaround you can get the current XWiki ExecutionContext component, here is how to do it in java (until I find how to write it in Python): XWikiContext context = (XWikiContext) com.xpn.xwiki.web.Utils.getComponent(Execution.class).getContext().getProperty(xwikicontext); XWikiContext context = (XWikiContext) com.xpn.xwiki.web.Utils.getComponent(org.xwiki.context.Execution.class).getContext().getProperty(xwikicontext); to be more precise On Thu, Dec 10, 2009 at 10:51, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Dec 10, 2009 at 10:15, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Wed, Dec 9, 2009 at 22:08, Josh Eastburn jkeastburn+xw...@gmail.com jkeastburn%2bxw...@gmail.com wrote: Thomas, So far, no luck. I tried a simple script like: {{python}} try: print xcontext.action except Exception: print 'exception' {{/python}} this outputs: exception Side note: {{python}} try: print xcontext.action except Exception as exc: print exc {{/python}} Results in a failure to execute the macro. Indeed it seems there is a bug in Jython JSR 223 implementation. I'm looking at it and will report the issue to jython if i can validate that it comes from jython. I has already been reported, see http://bugs.jython.org/issue1426, hope it will be fixed soon... -Josh On Wed, Dec 9, 2009 at 4:17 AM, Thomas Mortagne thomas.morta...@xwiki.com wrote: Hi, On Wed, Dec 9, 2009 at 02:50, Josh Eastburn jkeastburn+xw...@gmail.com jkeastburn%2bxw...@gmail.com jkeastburn%2bxw...@gmail.com jkeastburn%252bxw...@gmail.com wrote: The documentation seems to indicate that bindings normally available in Velocity like $context should be available in other scripting languages, but accessing 'context' in Python (e.g. if context.action == 'inline':) always gives me problems. Any help? context is deprecated and contains JSR223 ScriptContext (it's a reserved keyword). You need to use xcontext. Thanks, Josh ___ 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 -- Thomas Mortagne -- Thomas Mortagne -- 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] XEM main wiki inaccessible
On Fri, Dec 11, 2009 at 07:09, Dilipkumar Jadhav jadhav.dilipku...@gmail.com wrote: Hello friends, We are converting our xwiki to an xwiki farm. I have followed all the necessary instructions for converting XE to XEM as stated in the XEM space at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HConvertanex istingXWikiEnterpriseinstance In this page you have [optional] If your main wiki domain name does not start with www (or will not be accessed by IP or localhost) * if you imported XEM application, just go to the descriptor (http://host/xwiki/bin/view/XWiki/XWikiServerXwiki) and modify the domain name (and add all needed aliases) * if you did not imported XEM application, you will have to create a wiki server descriptor for it: create XWiki.XWikiServerXwiki page and add a XWiki.XWikiServerClass object in it with the proper domain name. I'm pretty sure that's your problem. I was able to create a xwiki farm successfully on test machine. However, when I tried following the same steps creating xwiki farm on production server, I can no longer access the main wiki (original XE instance which is being converted to XEM). The moment I set the xwiki.virtual=1 property, XWiki becomes inaccessible keeps routing me to the redirect on error URL defined in xwiki.cfg file. On both the test machine production server, the XWiki is 2.1 JDK/JRE is 1.6 with tomcat 6.0.14 mysql 5.0.45. The only difference being the data content inside each wiki instances (the test machine is almost a new wiki whereas the production one has a lot of data) the OS (test machine is Windows XP whereas production is Windows Server 2003). I have downgraded the JDK to 1.5 still the production XWiki just becomes inaccessible when converting into an XEM. I was hoping someone could guide me as to what could I check (logs, some settings) to identify why the production XWiki refuses to start when xwiki.virtual is set to 1. I have tried really hard for the past couple of days to figure out what is different but reached nowhere. If someone has faced this issue before, could you please guide me. Thank you for your time friends. Regards, Dilipkumar Jadhav ___ 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
[xwiki-users] display author / creator as property
Hi, I'm very new to xwiki. Thanks so far to everyone that is contributing... I have created a new class. And I would like to include author as a property in the class, and have it automatically populate with the user's name. I tried looking at comment class but couldn't see how this get's done. Could someone help me out? -- View this message in context: http://n2.nabble.com/display-author-creator-as-property-tp4150822p4150822.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
[xwiki-users] how can i see the code of xwiki default macros?
Hello :) I wanna see the code for let's say HTMLMacro from xwiki 2.0, because i wanna see how you added a checkbox in the macro parameters. i know there are 2 files in the templates files: macros.vm and macros.txt, but i donlt find what i want And another question: can a page have more than one macro added? i mean...i edit a page, add some macro classes . then i shoudl be able to use these macros in every page in the space, right? and be able to see the macros(in the macro list)..cause somethimes i do, and other times i don't, so i must be doing something stupid. :D Thank you -- View this message in context: http://n2.nabble.com/how-can-i-see-the-code-of-xwiki-default-macros-tp4150827p4150827.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 can i see the code of xwiki default macros?
Hi, On Fri, Dec 11, 2009 at 12:55, Bubulina nohin...@yahoo.com wrote: Hello :) I wanna see the code for let's say HTMLMacro from xwiki 2.0, because i wanna see how you added a checkbox in the macro parameters. i know there are 2 files in the templates files: macros.vm and macros.txt, but i donlt find what i want Actually HTMLMacro is a Java macro not a wiki macro, you can find them in http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/. Note the XWiki Java Macro (Syntax 2.0 only) and XWiki Wiki Macro (Syntax 2.0 only) types in http://code.xwiki.org/xwiki/bin/view/Macros/ (for now all the default 2.0 macros are java macros). Also all the macros listed in macro.vm are velocity macros and should not be used (as much as possible) in xwiki/2.0 syntax since these as been designed specifically for templates and xwiki/1.0 syntax (they produce lot's of html), we are converting them to java/wiki 2.0 macros when we have time. And another question: can a page have more than one macro added? i mean...i edit a page, add some macro classes . then i shoudl be able to use these macros in every page in the space, right? and be able to see the macros(in the macro list)..cause somethimes i do, and other times i don't, so i must be doing something stupid. :D One page is supposed to contain only one wiki macro and there is no plan to support multi macros in a document. Thank you -- View this message in context: http://n2.nabble.com/how-can-i-see-the-code-of-xwiki-default-macros-tp4150827p4150827.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 -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how can i see the code of xwiki default macros?
On Fri, Dec 11, 2009 at 13:08, Thomas Mortagne thomas.morta...@xwiki.com wrote: Hi, On Fri, Dec 11, 2009 at 12:55, Bubulina nohin...@yahoo.com wrote: Hello :) I wanna see the code for let's say HTMLMacro from xwiki 2.0, because i wanna see how you added a checkbox in the macro parameters. i know there are 2 files in the templates files: macros.vm and macros.txt, but i donlt find what i want Actually HTMLMacro is a Java macro not a wiki macro, you can find them in http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/. Note the XWiki Java Macro (Syntax 2.0 only) and XWiki Wiki Macro (Syntax 2.0 only) types in http://code.xwiki.org/xwiki/bin/view/Macros/ (for now all the default 2.0 macros are java macros). Also all the macros listed in macro.vm are velocity macros and should not be used (as much as possible) in xwiki/2.0 syntax since these as been designed specifically for templates and xwiki/1.0 syntax (they produce lot's of html), we are converting them to java/wiki 2.0 macros when we have time. Forgot to answer your real question :) For now typed parameters are only supported in java macros. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/RenderingMacroTutorial And another question: can a page have more than one macro added? i mean...i edit a page, add some macro classes . then i shoudl be able to use these macros in every page in the space, right? and be able to see the macros(in the macro list)..cause somethimes i do, and other times i don't, so i must be doing something stupid. :D One page is supposed to contain only one wiki macro and there is no plan to support multi macros in a document. Thank you -- View this message in context: http://n2.nabble.com/how-can-i-see-the-code-of-xwiki-default-macros-tp4150827p4150827.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 -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] display author / creator as property
Hi Helenc, On Fri, Dec 11, 2009 at 12:54 PM, Helenc truck...@hotmail.com wrote: Hi, I'm very new to xwiki. Thanks so far to everyone that is contributing... I have created a new class. And I would like to include author as a property in the class, and have it automatically populate with the user's name. You don't really need to do that since the document already stores the page's creator name and the name of the last person who modified it. You can access them through $doc.author and $doc.creator . Alternatively you can add an author field to your class and have it populated using the value returned by $context.user . Hope this helps, Guillaume I tried looking at comment class but couldn't see how this get's done. Could someone help me out? -- View this message in context: http://n2.nabble.com/display-author-creator-as-property-tp4150822p4150822.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 -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [my wiki] new wiki request
Hello, We are a non-profit community magazine called Gandhi and Pineapple, who have recieved Princes Trust funding for a first issue. We are looking to set up a web page where members can register and contribute journalistic articles, creative writing and origional artwork on different blog/wiki style pages, hopefully developing the site into a vibrant community. We would also like to be able to select the 'best of the blogs', and condense them onto a homepage. The inclusion of static RSS feeds from various news sources is also a feature we would like to see included. Having looked at various solutions, the XWiki project seems to me to be the most versitile, exciting, and sutible for our needs. I would be greatful if we would be able to take advantage of the free hosting offered on the XWiki.org webpage. My XWiki.org username is JackLangley, and would like 'gandhiandpineapple' as the server name. Many thanks for any help you can offer, and I hope to hear from you soon. Jack Langley P.R. Manager Gandhi and Pineapple Magazine _ Use Hotmail to send and receive mail from your different email accounts http://clk.atdmt.com/UKM/go/186394592/direct/01/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Blog/Clone
hi Vincent, I am really happy with the new editor, I can use backslashes again now :) \. We also made a few modifications to the Blog, which makes it possible to post when in a category. A wannahave would be to be able to do this and have the current category marked in the publish screen by default :). Thanks a lot! Kind regards, Vincent Gerris vmassol wrote: On Dec 10, 2009, at 4:30 PM, Vincent Gerris wrote: hi Vincent, Thank you for your response. I have a full agenda these days, but I will try to evaluate 2.1RC1. 2.1 final is now out... :-) -Vincent We will probably upgrade from 1.9.3 to 2.1 release anyway when it comes out, but I am waiting for servers to be made ready to do a new install and off course we will report issues on that. Thank you (and your collegues) for all your work! Given there are some issues with XWiki, we do really like the product and the way it is built! Kind regards, Vincent Gerris vmassol wrote: Hi Vincent, On Dec 3, 2009, at 11:14 AM, Vincent Gerris wrote: Hi all, I just did something like this recently and think I can explain it briefly. It's a bit of work and I get some errors I do not understand, but it works. Here's how I did it: 1. Make a complete export of the Wiki in the admin backend. 2. Extract the XAR you have. 3. Edit package.xml : remove all lines NOT referring to the Blog space. 4. Delete all folders except the Blog one. 5. Decide the spacenaam you would like to give it: I chose Blogboek (let's call it that for the rest of this explanation). 6. Change the foldername to Blogboek. 7. Change all references to Blog in Blogboek. I did that by running a script on the commandline (using Linux) that replaces .Blog by .Blogboek. 8. You should now have the package.xml containing the subscription of the files in the Blogboek folder. Note that this also contains all the Blog-posts that were in the Blog space. 9. To get the categories displayed properly, change line 113 in CategoriesPanel.xml: #getCategoriesHierarchy('Blogboek' $tree) 10. When ready, put everything in a zip and rename it to XAR. MAke sure the folder and file are in the root of the zip, not in a folder (chack by view it). 11. Now you can import the XAR in the Xwiki admin backend. The only error I encounteres was a list of files named Blog.xxx.xxx that were not imported. It seems somehow there is metadata that knows the files came from the Blog space. The other files (Blogboek.xxx.xxx) are imported correctly, so the result was what I wanted: a seperate space with the complete Blog functionality, seperate from the Xwiki core. Note that Blog is in development and there are irritating bugs in the editor. http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917 http://jira.xwiki.org/jira/browse/XABLOG-63 I really hope a syntax 2 version will be in a coming Xwiki release using the new editor. The syntax 2.0 blog is planned to be in the XE 2.1RC1 release later today :) We'd love if you could try it out and let us know if there are any issue so that we can fix them before the XE 2.1 final planned for next week. Thanks -Vincent Thank you all for your help, hope this is usefull! vmassol wrote: Since this is such a frequently asked question it would be nice if someone could: 1) document it on xwiki.org, either: - in the FAQ - as a code snippet on http://dev.xwiki.org or even better: 2) create an application (XAR) that does this and upload it on http://code.xwiki.org Anyone up for this? :) Thanks -Vincent On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote: that's what I was thinking but I continue to get an error when I create a ClassSheet (it will not allow me to). I keep getting an error every time. a 4.26 while parsing velocity error. Do you have any information or installation errors I might have? Are certain velocity or java files/programs necessary that are not in the documentation? Thanks in advance, Tim From: users-boun...@xwiki.org on behalf of Esbach, Brandon Sent: Tue 1/8/2008 12:50 PM To: XWiki Users Subject: Re: [xwiki-users] Blog/Clone Hi Tim, If you look through Nabble, this has been described a few times before. It's fairly easy to do. From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Campbell, Timothy D Sent: 08 January 2008 17:39 To: users@xwiki.org Subject: [xwiki-users] Blog/Clone Has anyone successfully created a second blog in a single wiki? If so, please give me some guidence on how to do this task. Also, what could be a source of a velocity parsing error while creating a class sheet? Please respond to help progress my research. Thanks in advance, Tim ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View
Re: [xwiki-users] display author / creator as property
Thanks. That's very helpful!! Now I have an extra property in my class which I can't delete - how I can I hide it? I've tried renaming it unused_author but it still appears? Thanks On 11/12/2009, at 2:16 PM, Guillaume Lerouge [via XWiki] wrote: Hi Helenc, On Fri, Dec 11, 2009 at 12:54 PM, Helenc [hidden email] wrote: Hi, I'm very new to xwiki. Thanks so far to everyone that is contributing... I have created a new class. And I would like to include author as a property in the class, and have it automatically populate with the user's name. You don't really need to do that since the document already stores the page's creator name and the name of the last person who modified it. You can access them through $doc.author and $doc.creator . Alternatively you can add an author field to your class and have it populated using the value returned by $context.user . Hope this helps, Guillaume I tried looking at comment class but couldn't see how this get's done. Could someone help me out? -- View this message in context: http://n2.nabble.com/display-author-creator-as-property-tp4150822p4150822.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list [hidden email] http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list [hidden email] http://lists.xwiki.org/mailman/listinfo/users View message @ http://n2.nabble.com/display-author-creator-as-property-tp4150822p4151197.html To unsubscribe from display author / creator as property, click here. -- View this message in context: http://n2.nabble.com/display-author-creator-as-property-tp4150822p4151529.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] Blog/Clone
On 12/11/2009 02:50 PM, Vincent Gerris wrote: hi Vincent, I am really happy with the new editor, I can use backslashes again now :) \. We also made a few modifications to the Blog, which makes it possible to post when in a category. A wannahave would be to be able to do this and have the current category marked in the publish screen by default :). Thanks a lot! Good idea, could you open a new issue here: http://jira.xwiki.org/jira/browse/XABLOG -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] display author / creator as property
Hi Helenc, On Fri, Dec 11, 2009 at 3:19 PM, Helenc truck...@hotmail.com wrote: Thanks. That's very helpful!! Now I have an extra property in my class which I can't delete - how I can I hide it? I've tried renaming it unused_author but it still appears? Unfortunately property deletion doesn't work yet. You've got 2 choices: - Recreate your class from scratch - Modify the Sheet page to tell it not to display the useless property. If you didn't change the standard one, you can add an #if check before the property: #foreach($prop in $class.properties) #if($prop.getName() != unused_author) ; $prop.prettyName : $doc.display($prop.getName()) #end #end might work. Good luck, Guillaume Thanks On 11/12/2009, at 2:16 PM, Guillaume Lerouge [via XWiki] wrote: Hi Helenc, On Fri, Dec 11, 2009 at 12:54 PM, Helenc [hidden email] wrote: Hi, I'm very new to xwiki. Thanks so far to everyone that is contributing... I have created a new class. And I would like to include author as a property in the class, and have it automatically populate with the user's name. You don't really need to do that since the document already stores the page's creator name and the name of the last person who modified it. You can access them through $doc.author and $doc.creator . Alternatively you can add an author field to your class and have it populated using the value returned by $context.user . Hope this helps, Guillaume I tried looking at comment class but couldn't see how this get's done. Could someone help me out? -- View this message in context: http://n2.nabble.com/display-author-creator-as-property-tp4150822p4150822.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list [hidden email] http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list [hidden email] http://lists.xwiki.org/mailman/listinfo/users View message @ http://n2.nabble.com/display-author-creator-as-property-tp4150822p4151197.html To unsubscribe from display author / creator as property, click here. -- View this message in context: http://n2.nabble.com/display-author-creator-as-property-tp4150822p4151529.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 -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How do i set the main page?
On 12/10/2009 01:53 PM, AlonsoIR wrote: please, nobody could help me? AlonsoIR wrote: hi, im totally newbee, i almost have finished a page and a i need to know how to set as main page. If i click on logo i need that page loaded, if i enter the url www.mywiki.com, that page must be loaded. how do i do that? Three options: - write the content in that current main page instead - include the target page in the main page using {{include document=Yout.Document context=new/}} - use a redirect from the main page to your page, by putting this in it: {{velocity}} $response.sendRedirect($xwiki.getURL('Your.Document')) {{/velocity}} -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [XE 2.0] Live Table : not filtering multiple-valued fields
Still not working on 2.0.3 ... By the way I noticed another bug (I think), if you agree I could create a Jira for this too. The problem is with fields of type Database Tree. I have one, correctly displayed when showing the field with something like $doc.display(). But if I show it in a live table, and make it filterable, the combo-box that is displayed on top of the live table contains a mix of the elements of the Database Tree field, they are not ordered anymore by their relation-ships, but seem to be completely randomly displayed. And, of course, filter does not work either for this kind of field (even multiple values are not authorized for it). I tried to have a look at the queries in XWiki.LiveTableResultsMacros, but couldn't have it work after some (useless) modifications. Activated full logs, but hibernate traces are difficult to follow. It seemed that the query built by the macro page was not fetching any value, in the case of string list fields with multiple values. But on my instance, after rolling back to the initial revision, filtering magically worked for a multiple value field ! I don't know if it's a random problem, something to do with rights (don't believe so). I repeated this on my production instance, and (as expected), nothing magical occurred... Am I the only one getting this issue ? This is really diminishing the interest of live tables for me, as I have in many cases multiple-valued fields. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ANN] XWiki Office 1.0 Released
Good news, and the automatic update is fine ! :) But I have a question about connection settings, than can be either xml-rpc, or velocity services. What should be the URL in both cases ? For xml-rpc I found this to work : http://host/xwiki/xmlrpc But for velocity services I don't know ... and it's not written in user guide. Thanks, Jeremie ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.1 Released
Hello, Congratulations for the work ! :) I have a question about blogs in 2.0 syntax, the blog system has been migrated, but how should we proceed for existing blog entries ? Migrate the wiki to 2.1, reimport the default xar and Blog pages, then migrate by hand the blog entries ? Will the existing entries in 1.0 syntax still be viewable after migration to xwiki 2.1, or do we have to migrate them ? Thanks, Jeremie ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ANN] XWiki Office 1.0 Released
Hi Jeremie, On 12/11/2009 7:20 PM, Jeremie BOUSQUET wrote: Good news, and the automatic update is fine ! :) But I have a question about connection settings, than can be either xml-rpc, or velocity services. What should be the URL in both cases ? For xml-rpc I found this to work : http://host/xwiki/xmlrpc Providing just the base URL of the wiki should work on both cases. For xml-rpc the xwiki/xmlrpc path as added automatically by XOffice and should not be written in the connection settings. But for velocity services I don't know ... and it's not written in user guide. We plan to drop the server xar soon and just rely on xml-rpc, as we do in the 1.0 version. We are keeping the velocity services option available for a few more months so that users that use XOffice with XWiki 1.7 or 1.8 won't have their functionality broken by the automatic updates. Thanks, Florin Ciubotaru Thanks, Jeremie ___ 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] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.1 Released
On 12/11/2009 06:24 PM, Jeremie BOUSQUET wrote: Hello, Congratulations for the work ! :) I have a question about blogs in 2.0 syntax, the blog system has been migrated, but how should we proceed for existing blog entries ? Migrate the wiki to 2.1, reimport the default xar and Blog pages, then migrate by hand the blog entries ? Will the existing entries in 1.0 syntax still be viewable after migration to xwiki 2.1, or do we have to migrate them ? They will be visible (at least in theory, please try it first and report if you encounter any problems), so there's no need to migrate them. The only problem would be that the old editor will continue to be used for them, but in general blog posts shouldn't be edited after they've been published. I'm assuming you're talking about blog posts using the new blog application (since XWiki 1.9), and not about the really old blog, for which there is a migration page which can help. Just visit /xwiki/bin/view/Blog/Migration to upgrade those. Still, they'll be upgraded to the 1.0 syntax, since the automatic syntax conversion is not something perfectly suited for an automatic process. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.1 Released
Thanks, I'll test next week and will tell you I'm assuming you're talking about blog posts using the new blog application (since XWiki 1.9), and not about the really old blog, Yes indeed, it's the new blog system migrated with the page you indicated. Jeremie ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users