Re: [xwiki-users] A question about XWiki concept
Dear Marius, Xwiki is quite complex so the recommendation to read up on the development guide is probably a wise one. If you can save your lectures in PDF format then the following quick solution might help with part of your problem: 1. Create a space in Xwiki called PDFs. 2. Create a Document in that space called, e.g. genericPDFs 3. Insert the following code in the Edit wiki mode: Edit.Wiki === (COPY and PASTE THE FOLLOWING LINES) === {{velocity}} #set($l=$doc.getAttachmentList()) #if ($l.size() 0) #set($attach=${l.get(0)}) ## this always takes only the first attachment, so increment this zero to change the attachment being selected #set($fname=${attach.getAttachment().getFilename()}) #set ($url=$doc.getAttachmentURL($fname)) {{html}}iframe name=PDF src=$url width=95% height=800 //body{{/html}} #end {{/velocity}} === For every new page you create, edit it in Wiki mode inserting: === (COPY and PASTE THE FOLLOWING LINE) === {{include document=genericPDFs}} === Attach the PDF to the page, and no matter how the PDF attachment is named, the attachment is shown. You can call genericPDFs something else, just be sure the name of the page corresponds to the the reference on the previous line. Kind regards, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von mar3lis Gesendet: Freitag, 29. April 2011 18:22 An: users@xwiki.org Betreff: [xwiki-users] A question about XWiki concept Hey guys. I'm still having trouble figuring out the XWiki platform. I have a project to do. The main goal is publish information about lectures and allow users to register to those lectures. The headache for me is, how to connect these things. I mean in normal php/mysql project I would know how to do it, there is some tables, I add information of the user and when I need that information I just make a query. What could be the methods to do that in XWiki? How to connect that specific user has registered to that lecture? What would be the best way to store that kind of information? Thank you in advance Marius Vizbaras-- View this message in context: http://xwiki.475771.n2.nabble.com/A-question-about-XWiki-concept-tp6317490p6317490.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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] A question about XWiki concept
hi Marius, To avoid misunderstandings, part of the previous email should read: === COPY and PASTE THE FOLLOWING LINES from {{velocity}} to {{/velocity}}) === {{velocity}} #set($l=$doc.getAttachmentList()) #if ($l.size() 0) #set($attach=${l.get(0)}) ## this always takes only the first attachment, so increment this zero to change the attachment being selected #set($fname=${attach.getAttachment().getFilename()}) #set ($url=$doc.getAttachmentURL($fname)) {{html}}iframe name=PDF src=$url width=95% height=800 //body{{/html}} #end {{/velocity}} === greetings, Steven Calkins IT-Beratung und Vertrieb CMS - Cross Media Solutions GmbH Beethovenstraße 5 A 97080 Würzburg Tel: +49 (931) 385 - 351 Fax: +49 (931) 385 - 364 Mobil: +49 (175) 5758790 E-Mail: steven.calk...@crossmediasolutions.de Internet: http://www.crossmediasolutions.de Handelsregister: Würzburg HRB 8950 Geschäftsführer: Michael Schardt member of Euradius -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Steven Calkins Gesendet: Dienstag, 3. Mai 2011 10:00 An: XWiki Users Betreff: Re: [xwiki-users] A question about XWiki concept Dear Marius, Xwiki is quite complex so the recommendation to read up on the development guide is probably a wise one. If you can save your lectures in PDF format then the following quick solution might help with part of your problem: 1. Create a space in Xwiki called PDFs. 2. Create a Document in that space called, e.g. genericPDFs 3. Insert the following code in the Edit wiki mode: Edit.Wiki === (COPY and PASTE THE FOLLOWING LINES) === {{velocity}} #set($l=$doc.getAttachmentList()) #if ($l.size() 0) #set($attach=${l.get(0)}) ## this always takes only the first attachment, so increment this zero to change the attachment being selected #set($fname=${attach.getAttachment().getFilename()}) #set ($url=$doc.getAttachmentURL($fname)) {{html}}iframe name=PDF src=$url width=95% height=800 //body{{/html}} #end {{/velocity}} === For every new page you create, edit it in Wiki mode inserting: === (COPY and PASTE THE FOLLOWING LINE) === {{include document=genericPDFs}} === Attach the PDF to the page, and no matter how the PDF attachment is named, the attachment is shown. You can call genericPDFs something else, just be sure the name of the page corresponds to the the reference on the previous line. Kind regards, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von mar3lis Gesendet: Freitag, 29. April 2011 18:22 An: users@xwiki.org Betreff: [xwiki-users] A question about XWiki concept Hey guys. I'm still having trouble figuring out the XWiki platform. I have a project to do. The main goal is publish information about lectures and allow users to register to those lectures. The headache for me is, how to connect these things. I mean in normal php/mysql project I would know how to do it, there is some tables, I add information of the user and when I need that information I just make a query. What could be the methods to do that in XWiki? How to connect that specific user has registered to that lecture? What would be the best way to store that kind of information? Thank you in advance Marius Vizbaras-- View this message in context: http://xwiki.475771.n2.nabble.com/A-question-about-XWiki-concept-tp6317490p6317490.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 ___ 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] Howto? attachment pdf link with page anchorxxxx.pdf#page=255
Hi Volker, Try something like: {{velocity}} #set($url=) ## set the URL in this line between the quotation marks #set($page=) ## set the page number here between the quotation marks {{html}}iframe name=PDF src=$url#page=${page} width=95% height=800 //body{{/html}} {{/velocity}} In a somewhat more complex scenario a similar solution works for me. I use the iframe HTML tag to display the PDF reader for the Mozilla browser. A separate page (Main.Params) has a variable I set with the value of the tag clicked from the tag cloud. The result is that the iframe line induces Adobe Reader to search for my cloud tag term in the PDF directly. This looks like the following: START CODE {{velocity}} $xwiki.jsfx.use(js/xwiki/tooltip.js) {{/velocity}} {{html}} head title$doc.name/title /head body title=$doc.name {{/html}} {{velocity}} #set($docParams=$xwiki.getDocument(Main, Params)) ## get the XWIKI document I use to save the variable searchTag (Main.Params) #set($tag = $!{docParams.get(searchTag)}) ##Extract the value of the searchTag parameter $!{docParams.set(searchTag, )} ##set the search tag back to , since we now have retrieved its value into $tag #set($l=$doc.getAttachmentList()) #if ($l.size() 0) #set($attach=${l.get(0)}) ## I use the first attachment in the document to be displayed #set($fname=${attach.getAttachment().getFilename()}) #set ($url=$doc.getAttachmentURL($fname)) #if(${tag.length()}0) {{html}}iframe name=PDF src=$url#search=${tag} width=95% height=800 //body{{/html}} ##the search term has been set, search in the PDF for the term #else {{html}}iframe name=PDF src=$url width=95% height=800 //body{{/html}} ##the search term has not been set, just display the PDF #end #end {{/velocity}} == END OF CODE Please remember that you need to make sure that the Adobe Reader is relatively new for this to work. In the (now older) XWiki Enterprise 2.1.1.25889, which I am using, the TagCloud page needs to be changed too: == PART OF MAIN.TAGS === #if($do == 'viewTag') ## ## View tag ## #displayTagAppTitle($tag true) #if($!{request.get('renamedTag')} != '') #info($msg.get('xe.tag.rename.success', [$request.get('renamedTag')])) #end #set ($list = $xwiki.tag.getDocumentsWithTag($tag)) div div id=dashboardleft div id=dashboardleftcontent h3 class=xappspan$msg.get('xe.tag.alldocs', [$tag])/span/h3 ## Here is the change. I cut out parts that might confuse you so if it doesn't work, you may need to tinker a bit...:-) #set($docParams=$xwiki.getDocument(Main, Params)) $!{docParams.set(searchTag, $tag)} ## Set the variable here, but don't forget to return it to after retrieving it. ## == END OF CODE Maybe all this helps. Kind regards, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Legeinfo Gesendet: Dienstag, 12. April 2011 23:10 An: users@xwiki.org Betreff: [xwiki-users] Howto? attachment pdf link with page anchor.pdf#page=255 The link to a specific page in a pdf document is not working: [[Test to page 255 pdfattach:webh...@test.pdf#page=255]] Is there a Workaround? Volker -- View this message in context: http://xwiki.475771.n2.nabble.com/Howto-attachment-pdf-link-with-page-anchor--pdf-page-255-tp6266795p6266795.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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WG: Xeclipse plugin
Fabio, The Xeclipse plugin that I installed did not install 2 of the views shown on website: The XWiki Page Editor and the XWiki Object Editor are missing. I have only the XWiki Navigator and the XWiki preview available in Eclipse. I also installed the full version of Xeclipse as a separate application and it works fine. All the elements are there, and the syntax highlighting in Xwiki syntax is available. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Fabio Mancinelli Gesendet: Freitag, 27. November 2009 16:43 An: XWiki Users Betreff: Re: [xwiki-users] WG: Xeclipse plugin On Nov 27, 2009, at 4:24 PM, Steven Calkins wrote: Fabio, A bit more to the issue: I just renamed the strange page from Panels.Recently Modified* to Panels.Recently Modified2 and the grabbing finished without an error. Still there is no list of pages under the Panels node in the Xwiki Eclipse Navigator. In another space I have -- Glossary -- and -- Views -- as page names. I sort the pages using $sorttool.sort(), but I wanted these to be at the top although they would not be alphabetically sorted there. So I added the -- before and after. Of course I could just manually enter them into the panel, but now the panel space seems to be correctly grabbed despite the unusual name that occurs there. Steven, Yes. I see two different kinds of exceptions in the stack trace: Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence. and Caused by: org.eclipse.core.internal.resources.ResourceException: * is an invalid character in resource name 'Panels.Recently Modified*'. But I cannot tell more without having a debugger in front of me. Thanks. Fabio ___ 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] Xeclipse plugin
) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:79) ... 7 more eclipse.buildId=M20090917-0800 java.version=1.6.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product === or one of the errors from the log list: Error Fri Nov 27 13:21:31 CET 2009 Cannot find navigator content extension (using triggerPoints) for object org.xwiki.eclipse.core.model.xwikieclipsespacesumm...@e12d4d6d parent path: org.xwiki.eclipse.core.datamana...@6fd42b. Check that you have an expression for this object in a navigatorContent triggerPoints or enablement. I can navigate the Xwiki website through the Xwiki Page Preview, but not through the Xwiki Eclipse Navigator. Can you (or someone else) explain what this means? If you need more information I would be glad to send it. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Eduard Moraru Gesendet: Freitag, 27. November 2009 10:49 An: users@xwiki.org Betreff: Re: [xwiki-users] Xeclipse plugin Hi Steven, Yes, as Thomas just replied, XEclipse works with Eclipse 3.4 (Ganymede) and above. Latest version of Eclipse is 3.5 (Galileo). Your 3.3.2 eclipse installation is most likely the cause of the problem and I recommend, if possible, to upgrade your eclipse installation, otherwise you will most likely be unable to use XEclipse. I have updated http://xeclipse.xwiki.org/xwiki/bin/view/Main/Installation with this information and made the adjustments you pointed out regarding the unzip directory. Thanks for reporting the documentation problem and I hope the eclipse upgrade fixes the problem, otherwise feel free to ask for help. Thanks, Eduard On 11/26/2009 07:09 PM, Thomas Mortagne wrote: Hi, On Thu, Nov 26, 2009 at 18:02, Steven Calkins steven.calk...@crossmediasolutions.de wrote: Dear All, has anyone installed the Xeclipse plugin in the plugin directory of Eclipse and have it not recognized by Eclipse? I am having that problem. The instructions from http://xeclipse.xwiki.org/xwiki/bin/view/Main/Installation say: Installing XEclipse as a plugin is as easy as unzipping the downloaded ZIP file into your eclipse plugin directory (usually ${eclipse_home}/plugins where ${eclipse_home} is your eclipse installation directory) When I unzipped xwiki-eclipse-feature-1.2-rc-1.zip into my eclipse plugin directory, it added another plugin directory below plugin. (Please mention on the site that the plugin path is included in the zip file, so that it should be extracted in the ${eclipse_home} directory.) When that didn't work, I removed the unzipped directories and unzipped it in the eclipse directory so that the files were filled in the plugin directory. But it still didn't work. When the menu item Window-Show View-Other is selected in Eclipse there is no XWiki folder and no View-Xwiki Navigator. Are there some other implicit installation steps not mentioned here? Are both the Xeclipse and the plugin necessary? The instruction also mentions that the Eclipse Ganymede Full version (no version number) should be installed. Mine is Eclipse Platform Version: 3.3.2, Build id: M20080221-1800. Could someone please mention the earliest Eclipse version for which this plugin works? Eclipse Ganymede is the code name for Eclipse 3.4 Thanks, Steven Calkins ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xeclipse plugin
Hi Fabio, Here is the message when I try to grab the Panels space: == Message: Error during space grabbing java.lang.reflect.InvocationTargetException at org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpaceHandler.java:80) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.xwiki.eclipse.core.XWikiEclipseException: org.eclipse.core.internal.resources.ResourceException: * is an invalid character in resource name 'Panels.Recently Modified*'. at org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.storePage(LocalXWikiDataStorage.java:295) at org.xwiki.eclipse.core.DataManager.getPage(DataManager.java:342) at org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpaceHandler.java:71) ... 1 more Caused by: org.eclipse.core.internal.resources.ResourceException: * is an invalid character in resource name 'Panels.Recently Modified*'. at org.eclipse.core.internal.resources.Resource.checkValidPath(Resource.java:422) at org.eclipse.core.internal.resources.Folder.create(Folder.java:82) at org.eclipse.core.internal.resources.Folder.create(Folder.java:118) at org.xwiki.eclipse.core.utils.CoreUtils.createFolder(CoreUtils.java:67) at org.xwiki.eclipse.core.utils.CoreUtils.writeDataToXML(CoreUtils.java:91) at org.xwiki.eclipse.core.storage.LocalXWikiDataStorage$2.run(LocalXWikiDataStorage.java:284) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782) at org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.storePage(LocalXWikiDataStorage.java:271) ... 3 more = I have included the panels space for your inspection (called package.xar here). I hope you can reproduce the error. Thanks. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Fabio Mancinelli Gesendet: Freitag, 27. November 2009 15:01 An: XWiki Users Betreff: Re: [xwiki-users] Xeclipse plugin On Nov 27, 2009, at 1:32 PM, Steven Calkins wrote: Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence. at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source) at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:79) ... 7 more Hi Steven, apparently there is some encoding problem that makes the XML parser explode. Probably some pages that have strange characters in the title/id. Do you have such a kind of pages in the space you were trying to open? Could you give us them so that we can reproduce and fix what apparently is a bug? Thanks, Fabio ___ 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
[xwiki-users] Xeclipse plugin
Dear All, has anyone installed the Xeclipse plugin in the plugin directory of Eclipse and have it not recognized by Eclipse? I am having that problem. The instructions from http://xeclipse.xwiki.org/xwiki/bin/view/Main/Installation say: Installing XEclipse as a plugin is as easy as unzipping the downloaded ZIP file into your eclipse plugin directory (usually ${eclipse_home}/plugins where ${eclipse_home} is your eclipse installation directory) When I unzipped xwiki-eclipse-feature-1.2-rc-1.zip into my eclipse plugin directory, it added another plugin directory below plugin. (Please mention on the site that the plugin path is included in the zip file, so that it should be extracted in the ${eclipse_home} directory.) When that didn't work, I removed the unzipped directories and unzipped it in the eclipse directory so that the files were filled in the plugin directory. But it still didn't work. When the menu item Window-Show View-Other is selected in Eclipse there is no XWiki folder and no Xwiki Navigator. Are there some other implicit installation steps not mentioned here? Are both the Xeclipse and the plugin necessary? The instruction also mentions that the Eclipse Ganymede Full version (no version number) should be installed. Mine is Eclipse Platform Version: 3.3.2, Build id: M20080221-1800. Could someone please mention the earliest Eclipse version for which this plugin works? Thanks, Steven Calkins ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't add users to groups anymore after updatefrom XWiki Enterprise1.9 to 2.0 and XAR reimport
Hi Sergiu, That seems to have done the trick!. Thanks for your help. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Steven Calkins Gesendet: Freitag, 20. November 2009 11:02 An: XWiki Users Betreff: Re: [xwiki-users] Can't add users to groups anymore after updatefrom XWiki Enterprise1.9 to 2.0 and XAR reimport Thanks Sergiu, I'll try it immediately. Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Freitag, 20. November 2009 10:30 An: XWiki Users Betreff: Re: [xwiki-users] Can't add users to groups anymore after update from XWiki Enterprise1.9 to 2.0 and XAR reimport On 11/20/2009 09:40 AM, Steven Calkins wrote: Thank you Sergiu, for your prompt answer. I checked for the enterprise XARs in the maven 2.0 snapshot respository (e.g. http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-wiki/2.0-SNAPSHOT/xwiki-enterprise-wiki-2.0-20091118.003714-228.xar ) and in the 2.1 snapshot repository (e.g. http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-wiki/2.1-SNAPSHOT/xwiki-enterprise-wiki-2.1-20091118.001902-254.xar ). Neither number corresponded to the version installed on our intranet website (XE 2.0.3.24848). Is there a danger installing the later version? Or is the dafault XAR located somewhere else? Yes, releases are in the releases repository: http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-wiki/ Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Donnerstag, 19. November 2009 18:05 An: XWiki Users Betreff: Re: [xwiki-users] Can't add users to groups anymore after update from XWiki Enterprise1.9 to 2.0 and XAR reimport On 11/19/2009 12:17 PM, Steven Calkins wrote: Dear All, Since I updated from XWiki Enterprise1.9 to 2.0.3.24848, I can't add users to user-defined groups anymore. The new users are still assigned to the default XWikiAllGroup. I had made an XAR from my 1.9 Xwiki space to save some changes I made, which I imported again after updating. (Incidentally, the Xwiki Rights, Xwiki Global Rights, Xwiki Stylesheet Extension Class, XWiki Comment Class, XWiki Skin Class and the Javascript Extension Class pages in the XWiki space show errors when I look at them -- the exception: Failed to execute macro: velocity). I fear that something went wrong when I reimported the old Xwiki space. The rights seem to be affected with users having privileges which they shouldn't have according to the rights settings. Could someone please explain if any changes have been made to the macros on these pages from version 1.9 to 2.0? If so, would it be possible to print the xwiki editor content (where the velocity macros reside) in this forum so that the content could be compared? An XWiki 2.0 space XAR would be fine too. Then these old pages could be saved under other names, and only these 2.0 documents would be selected, imported and I could compare them. Any help someone can offer on these matters would be greatly appreciated. Thanks. Can you refresh the browser cache? You also need to import the new default XE xar to upgrade some of the critical documents. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't add users to groups anymore after update from XWiki Enterprise1.9 to 2.0 and XAR reimport
Thank you Sergiu, for your prompt answer. I checked for the enterprise XARs in the maven 2.0 snapshot respository (e.g. http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-wiki/2.0-SNAPSHOT/xwiki-enterprise-wiki-2.0-20091118.003714-228.xar ) and in the 2.1 snapshot repository (e.g. http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-wiki/2.1-SNAPSHOT/xwiki-enterprise-wiki-2.1-20091118.001902-254.xar ). Neither number corresponded to the version installed on our intranet website (XE 2.0.3.24848). Is there a danger installing the later version? Or is the dafault XAR located somewhere else? Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Donnerstag, 19. November 2009 18:05 An: XWiki Users Betreff: Re: [xwiki-users] Can't add users to groups anymore after update from XWiki Enterprise1.9 to 2.0 and XAR reimport On 11/19/2009 12:17 PM, Steven Calkins wrote: Dear All, Since I updated from XWiki Enterprise1.9 to 2.0.3.24848, I can't add users to user-defined groups anymore. The new users are still assigned to the default XWikiAllGroup. I had made an XAR from my 1.9 Xwiki space to save some changes I made, which I imported again after updating. (Incidentally, the Xwiki Rights, Xwiki Global Rights, Xwiki Stylesheet Extension Class, XWiki Comment Class, XWiki Skin Class and the Javascript Extension Class pages in the XWiki space show errors when I look at them -- the exception: Failed to execute macro: velocity). I fear that something went wrong when I reimported the old Xwiki space. The rights seem to be affected with users having privileges which they shouldn't have according to the rights settings. Could someone please explain if any changes have been made to the macros on these pages from version 1.9 to 2.0? If so, would it be possible to print the xwiki editor content (where the velocity macros reside) in this forum so that the content could be compared? An XWiki 2.0 space XAR would be fine too. Then these old pages could be saved under other names, and only these 2.0 documents would be selected, imported and I could compare them. Any help someone can offer on these matters would be greatly appreciated. Thanks. Can you refresh the browser cache? You also need to import the new default XE xar to upgrade some of the critical documents. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ 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] Can't add users to groups anymore after update from XWiki Enterprise1.9 to 2.0 and XAR reimport
Thanks Sergiu, I'll try it immediately. Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Freitag, 20. November 2009 10:30 An: XWiki Users Betreff: Re: [xwiki-users] Can't add users to groups anymore after update from XWiki Enterprise1.9 to 2.0 and XAR reimport On 11/20/2009 09:40 AM, Steven Calkins wrote: Thank you Sergiu, for your prompt answer. I checked for the enterprise XARs in the maven 2.0 snapshot respository (e.g. http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-wiki/2.0-SNAPSHOT/xwiki-enterprise-wiki-2.0-20091118.003714-228.xar ) and in the 2.1 snapshot repository (e.g. http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-wiki/2.1-SNAPSHOT/xwiki-enterprise-wiki-2.1-20091118.001902-254.xar ). Neither number corresponded to the version installed on our intranet website (XE 2.0.3.24848). Is there a danger installing the later version? Or is the dafault XAR located somewhere else? Yes, releases are in the releases repository: http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-wiki/ Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Donnerstag, 19. November 2009 18:05 An: XWiki Users Betreff: Re: [xwiki-users] Can't add users to groups anymore after update from XWiki Enterprise1.9 to 2.0 and XAR reimport On 11/19/2009 12:17 PM, Steven Calkins wrote: Dear All, Since I updated from XWiki Enterprise1.9 to 2.0.3.24848, I can't add users to user-defined groups anymore. The new users are still assigned to the default XWikiAllGroup. I had made an XAR from my 1.9 Xwiki space to save some changes I made, which I imported again after updating. (Incidentally, the Xwiki Rights, Xwiki Global Rights, Xwiki Stylesheet Extension Class, XWiki Comment Class, XWiki Skin Class and the Javascript Extension Class pages in the XWiki space show errors when I look at them -- the exception: Failed to execute macro: velocity). I fear that something went wrong when I reimported the old Xwiki space. The rights seem to be affected with users having privileges which they shouldn't have according to the rights settings. Could someone please explain if any changes have been made to the macros on these pages from version 1.9 to 2.0? If so, would it be possible to print the xwiki editor content (where the velocity macros reside) in this forum so that the content could be compared? An XWiki 2.0 space XAR would be fine too. Then these old pages could be saved under other names, and only these 2.0 documents would be selected, imported and I could compare them. Any help someone can offer on these matters would be greatly appreciated. Thanks. Can you refresh the browser cache? You also need to import the new default XE xar to upgrade some of the critical documents. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ 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] Formatting Tables
I must correct mself. After the change and emptying the cache it is working now. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Steven Calkins Gesendet: Mittwoch, 18. November 2009 14:40 An: XWiki Users Betreff: Re: [xwiki-users] Formatting Tables Hi, I tried the setting in my toucan.css, but it still didn't work. Is there some other setting that the colibri skin makes in this regard, that isn't mentioned here? Greetings Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Ecaterina Valica Gesendet: Mittwoch, 18. November 2009 12:00 An: XWiki Users Betreff: Re: [xwiki-users] Formatting Tables Hi, this is already taking care in the colibri cleanup - so if you are taking the latest 2.1 snapshot is ok. The thing is that you need for the #xwikicontent an overflow:auto; property (add this to your toucan.css or colibri.css). Caty ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Can't add users to groups anymore after update from XWiki Enterprise1.9 to 2.0 and XAR reimport
Dear All, Since I updated from XWiki Enterprise1.9 to 2.0.3.24848, I can't add users to user-defined groups anymore. The new users are still assigned to the default XWikiAllGroup. I had made an XAR from my 1.9 Xwiki space to save some changes I made, which I imported again after updating. (Incidentally, the Xwiki Rights, Xwiki Global Rights, Xwiki Stylesheet Extension Class, XWiki Comment Class, XWiki Skin Class and the Javascript Extension Class pages in the XWiki space show errors when I look at them -- the exception: Failed to execute macro: velocity). I fear that something went wrong when I reimported the old Xwiki space. The rights seem to be affected with users having privileges which they shouldn't have according to the rights settings. Could someone please explain if any changes have been made to the macros on these pages from version 1.9 to 2.0? If so, would it be possible to print the xwiki editor content (where the velocity macros reside) in this forum so that the content could be compared? An XWiki 2.0 space XAR would be fine too. Then these old pages could be saved under other names, and only these 2.0 documents would be selected, imported and I could compare them. Any help someone can offer on these matters would be greatly appreciated. Thanks. Greetings, Steven Calkins ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Display difficulties with XWiki Enterprise 2.0.3.24848 - Toucan skin not shown
Dear All, We just updated to XWiki Enterprise 2.0.3.24848 for internal documentation and are having difficulties with the display. We use the toucan skin from version 1.9. When users log-in, they see the site without our skin. When the admins log-in, the skin is there. What is the problem? The login is also without the skin. Is the skin cached in the browser? greetings, Steven Calkins ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Display difficulties with XWiki Enterprise2.0.3.24848 - Toucan skin not shown -- Addendum: user rights issue
Hi Jean, I believe I found part of the error. Despite importing each page from the old wiki, the Xwiki web preferences skin entry was blank. Still an error is returned when I open the rights page: XWiki Rights Class Failed to execute macro: velocity I notice now that despite giving the groups the right to view certain spaces, when I log-in as such a user, the spaces are not visible. Any ideas? Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Jean-Vincent Drean Gesendet: Mittwoch, 18. November 2009 10:50 An: XWiki Users Betreff: Re: [xwiki-users] Display difficulties with XWiki Enterprise2.0.3.24848 - Toucan skin not shown Hi, Is your skin a wiki page ? Do users have the view right on it ? JV. On Wed, Nov 18, 2009 at 10:44 AM, Steven Calkins steven.calk...@crossmediasolutions.de wrote: Dear All, We just updated to XWiki Enterprise 2.0.3.24848 for internal documentation and are having difficulties with the display. We use the toucan skin from version 1.9. When users log-in, they see the site without our skin. When the admins log-in, the skin is there. What is the problem? The login is also without the skin. Is the skin cached in the browser? greetings, Steven Calkins ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] WG: Latex {cases} command doesn't work in default xwiki 2.0 formula macro
Dear Sergiu, The image I sent made the message to large. If you would like to see the rendering I would be glad to send it to you. Simply put, the code you supplied still doesn't work even though I copied and pasted your code directly into my wiki 2.0 page. greetings, Steven Calkins E-Mail: steven.calkins(at)crossmediasolutions.de -Ursprüngliche Nachricht- Von: Steven Calkins Gesendet: Montag, 16. November 2009 10:50 An: 'XWiki Users' Betreff: AW: [xwiki-users] Latex {cases} command doesn't work in default xwiki 2.0 formula macro Hi Sergiu, I tried your example after changing the line macro.formula.renderer in the properties file back to nativeand restarting xwiki. Sadly it still didn't work on my machine. So what is different on your machine compared to mine? (Do you perhaps have a developing environment which automatically finds the proper TeX parts?) I just copied and pasted your example. The rendered results are seen in the attached screenshot. I'm not sure that attachments get through to you, but if you can view it, you can see that the formulae are rendered, just the cases command is not executed. I'm still using a SKIN from 1.9. on XWiki Enterprise 2.0.3.24848, running on postgres but I believe that should be irrelevant. Here's my code: START XWIKI CODE == === Continuation and cases=== This example from wikipedia doesn't seem to work: {{formula fontSize=normal}} f(x) = \begin{cases}1 \mbox{-1 \le x 0\par} \\ \frac{1}{2} \mbox{x = 0} \\ 1 - x^2 \mbox{otherwise\par}\end{cases} {{/formula}} Example from Sergiu {{formula}} f(x) = \begin{cases} 1 -1 \le x \le 0 \\ \frac{1}{2} x = 0 \\ 1 - x^2 \mbox{otherwise} \end{cases} {{/formula}} Case definitions Used when a definition has two or more cases. Use the case statement. Notice that the spaces after the instances of if were included inside the mbox declarations. {{formula fontSize=normal}}f(n) = \begin{cases} n/2, \mbox{if } n\mbox{ is even} \\ 3n+1, \mbox{if } n\mbox{ is odd} \end{cases}{{/formula}} Third try {{formula fontSize=normal}}f(n) = \left\{ \begin{array}{l l} n/2 \quad \text{if $n$ is even}\\ -(n+1)/2 \quad \text{if $n$ is odd}\\ \end{array} \right.{{/formula}} ==END XWIKI CODE== Cheers, Steven Calkins E-Mail: steven.calkins(at)crossmediasolutions.de (in the event you want to see my image and can't) -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Freitag, 13. November 2009 19:16 An: XWiki Users Betreff: Re: [xwiki-users] Latex {cases} command doesn't work in default xwiki 2.0 formula macro On 11/13/2009 02:56 PM, Steven Calkins wrote: Hi Sergiu, I tried what you said, adding the line macro.formula.renderer = native to WEB-INF/xwiki.properties and saving it. Then I restarted Xwiki but it didn't work. It still rendered the formula in a single line. Then I tried the line macro.formula.renderer=mathtran, saved it, and restarted xwiki. It still didn't work. Is there some part of the the TeX package still missing? I just installed XWiki Enterprise 2.0.3.24848, it runs on postgres. OK, it seems that the default renderer is the native one, so there was no need to change it. I tried your example, and actually there's a problem with the formula. The code from your mail causes the native renderer to fail because there's a syntax error, specifically the first mbox contains \le, which is only valid in math mode. This works fine: {{formula}} f(x) = \begin{cases} 1 -1 \le x \le 0 \\ \frac{1}{2} x = 0 \\ 1 - x^2 \mbox{otherwise} \end{cases} {{/formula}} I was a little surprised that I had to add a line in the WEB-INF/xwiki.properties file and not uncomment a line and change its value, as you do in most cases. Could it be that I have an older config file or is the line in WEB-INF/xwiki.properties not available yet in the newest version? I used the config from the download, and changed only those values that pertained to my earlier system settings. My fault, I forgot to add this setting in the template that generates xwiki.cfg. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Freitag, 13. November 2009 12:31 An: XWiki Users Betreff: Re: [xwiki-users] Latex {cases} command doesn't work in default xwiki 2.0 formula macro On 11/13/2009 11:45 AM, Steven Calkins wrote: Dear all, The LaTeX {case} macro doesn't seem to work in Xwiki 2.0 with the default LaTeX renderer. Try these two examples to reproduce it and compare with http://en.wikipedia.org/wiki/Math_markup#Examples_2: [XWIKI CODE
[xwiki-users] Latex {cases} command doesn't work in default xwiki 2.0 formula macro
Dear all, The LaTeX {case} macro doesn't seem to work in Xwiki 2.0 with the default LaTeX renderer. Try these two examples to reproduce it and compare with http://en.wikipedia.org/wiki/Math_markup#Examples_2: [XWIKI CODE STARTS HERE] === Continuation and cases=== This example from wikipedia doesn't seem to work: {{formula fontSize=normal}}f(x) = \begin{cases}1 \mbox{-1 \le x 0\par} \\ \frac{1}{2} \;\;\; \mbox{x = 0\par} \\ 1 - x^2 \mbox{otherwise\par}\end{cases}{{/formula}} ===Case definitions=== {{formula fontSize=normal}}f(n) = \begin{cases} n/2, \mbox{if } n\mbox{ is even} \\ 3n+1, \mbox{if } n\mbox{ is odd} \end{cases}{{/formula}} [XWIKI CODE ENDS HERE] Any suggestions? Greetings, Steven Calkins ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Latex {cases} command doesn't work in default xwiki 2.0 formula macro
Hi Sergiu, I tried what you said, adding the line macro.formula.renderer = native to WEB-INF/xwiki.properties and saving it. Then I restarted Xwiki but it didn't work. It still rendered the formula in a single line. Then I tried macro.formula.renderer = mathtran, saved it, and restarted xwiki. It still didn't work. Is there some part of the the TeX package still missing? I just installed XWiki Enterprise 2.0.3.24848, it runs on postgres. I was a little surprised that I had to add a line in the WEB-INF/xwiki.properties file and not uncomment a line and change its value, as you do in most cases. Could it be that I have an older config file or is the line in WEB-INF/xwiki.properties not available yet in the newest version? I used the config from the download, and changed only those values that pertained to my earlier system settings. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Freitag, 13. November 2009 12:31 An: XWiki Users Betreff: Re: [xwiki-users] Latex {cases} command doesn't work in default xwiki 2.0 formula macro On 11/13/2009 11:45 AM, Steven Calkins wrote: Dear all, The LaTeX {case} macro doesn't seem to work in Xwiki 2.0 with the default LaTeX renderer. Try these two examples to reproduce it and compare with http://en.wikipedia.org/wiki/Math_markup#Examples_2: [XWIKI CODE STARTS HERE] === Continuation and cases=== This example from wikipedia doesn't seem to work: {{formula fontSize=normal}}f(x) = \begin{cases}1 \mbox{-1 \le x 0\par} \\ \frac{1}{2} \;\;\; \mbox{x = 0\par} \\ 1 - x^2 \mbox{otherwise\par}\end{cases}{{/formula}} ===Case definitions=== {{formula fontSize=normal}}f(n) = \begin{cases} n/2, \mbox{if } n\mbox{ is even} \\ 3n+1, \mbox{if } n\mbox{ is odd} \end{cases}{{/formula}} [XWIKI CODE ENDS HERE] Any suggestions? The cases environment is not standard TeX, it belongs to the amsmath package. This means that it is not supposed to work using the default backend. It should work with the native one, which uses the amsmath package, and you could try using the mathtran one. If you decide to change the backend, you'll find instructions in the last paragraph on http://code.xwiki.org/xwiki/bin/view/Macros/FormulaMacro#HTechnicalinformation -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ 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] Latex {cases} command doesn't work in defaultxwiki 2.0 formula macro
Oh yes, and snuggletex doesn't work either. Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Steven Calkins Gesendet: Freitag, 13. November 2009 14:56 An: XWiki Users Betreff: Re: [xwiki-users] Latex {cases} command doesn't work in defaultxwiki 2.0 formula macro Hi Sergiu, I tried what you said, adding the line macro.formula.renderer = native to WEB-INF/xwiki.properties and saving it. Then I restarted Xwiki but it didn't work. It still rendered the formula in a single line. Then I tried macro.formula.renderer = mathtran, saved it, and restarted xwiki. It still didn't work. Is there some part of the the TeX package still missing? I just installed XWiki Enterprise 2.0.3.24848, it runs on postgres. I was a little surprised that I had to add a line in the WEB-INF/xwiki.properties file and not uncomment a line and change its value, as you do in most cases. Could it be that I have an older config file or is the line in WEB-INF/xwiki.properties not available yet in the newest version? I used the config from the download, and changed only those values that pertained to my earlier system settings. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Freitag, 13. November 2009 12:31 An: XWiki Users Betreff: Re: [xwiki-users] Latex {cases} command doesn't work in default xwiki 2.0 formula macro On 11/13/2009 11:45 AM, Steven Calkins wrote: Dear all, The LaTeX {case} macro doesn't seem to work in Xwiki 2.0 with the default LaTeX renderer. Try these two examples to reproduce it and compare with http://en.wikipedia.org/wiki/Math_markup#Examples_2: [XWIKI CODE STARTS HERE] === Continuation and cases=== This example from wikipedia doesn't seem to work: {{formula fontSize=normal}}f(x) = \begin{cases}1 \mbox{-1 \le x 0\par} \\ \frac{1}{2} \;\;\; \mbox{x = 0\par} \\ 1 - x^2 \mbox{otherwise\par}\end{cases}{{/formula}} ===Case definitions=== {{formula fontSize=normal}}f(n) = \begin{cases} n/2, \mbox{if } n\mbox{ is even} \\ 3n+1, \mbox{if } n\mbox{ is odd} \end{cases}{{/formula}} [XWIKI CODE ENDS HERE] Any suggestions? The cases environment is not standard TeX, it belongs to the amsmath package. This means that it is not supposed to work using the default backend. It should work with the native one, which uses the amsmath package, and you could try using the mathtran one. If you decide to change the backend, you'll find instructions in the last paragraph on http://code.xwiki.org/xwiki/bin/view/Macros/FormulaMacro#HTechnicalinformation -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] table border in xwiki
Hi, We had the same difficulty and resolved it by writing the style of each cell element locally, this had the effect of overriding the earlier settings of Xwiki. If there is a more elegant solution without overriding the entire CSS of Xwiki, I'd like to know. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von walido Gesendet: Donnerstag, 8. Oktober 2009 18:28 An: users@xwiki.org Betreff: [xwiki-users] table border in xwiki Hi, i maked a copy of an html page into an xwiki page but i have this problem with tables that appears with blue border around the text but the table border = 0 and no way to make this border invisible what should i do thanks for helping me on this one :) -- View this message in context: http://n2.nabble.com/table-border-in-xwiki-tp3789220p3789220.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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] FAQTutorial broken in 1.9
Hi Vincent, hi Zeljko, I initially got the same results as Zeljko when I tried it. It took me three or four tries before I got it right. The trouble is that so many things are going on at once. I don't exactly remember how I solved it, but I remember that the problem I had was changing the places in the macros correctly to correspond with my needs. I would just encourage you, Zelko, to continue trying and you will get it. Reading the concepts of Xwiki helped me, as well as just playing around with XWiki. If you mess things up you can in the history editor just roll back. After a while the parts begin to fit together. If you are familiar with Java's Class - Object paradigm, it will help too. Objects are just concrete examples of the classes you create along with their properties and methods. Xwiki seems to me to have this concept as well, with the added difficulty that the template pages are added to separate display from content. In IT circles this concept of separating those aspects of an application is called MVC for Model-View-Controller. That's why so much is happening. Until I got that, Xwiki was a bit confusing for me too. That's a bit abstract, I know, but I am convinced that checking into the deeper functioning of Xwiki is rewarding and will help when making new applications on top of the Xwiki engine. The FAQ I have is created on the page as shown in the tutorial, but to edit it after creation you need to go to the Object editor. Then you are with the concrete examples of the class you created. Vincent, it might help us who are new at Xwiki to take a screenshot of the page where the FAQ macro is shown and color-hightlight the items to be changed. That would avoid some of the confusion I think. Just an idea... Regards, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von zeljko Gesendet: Samstag, 19. September 2009 09:49 An: users@xwiki.org Betreff: Re: [xwiki-users] FAQTutorial broken in 1.9 vmassol wrote: On Sep 18, 2009, at 10:29 PM, zeljko wrote: Hi, It still doesn't work in 2.0 RC2. Can you explain what doesn't work? I've tested the class wizard in 2.0RC2 and it worked fine for me. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users I downloaded 2.0-rc-2.23761 Windows installer yesterday, tried FAQ example and got same result as described: if I leave Wiki syntax 2.0, I don't get page with 2 buttons, but rather page with macros. -- View this message in context: http://n2.nabble.com/FAQTutorial-broken-in-1-9-tp3151075p3674299.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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] problem connceting to openoffice server
Hi Paul, Initially we had problems connecting to the open office server too. Once we checked the Tomcat5.5\logs folder we found the complete error message in stderr_[DATE].log. [DATE] represents the date the error occurred. We searched the file and found an incorrect path to open office. Once we corrected that in the configuration, it worked without any windows service starting. In Xwiki at [YOUR DOMAIN]/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=XWiki.OfficeImporterAdmin you can edit these settings (also in the WEB-INF/xwiki.properties file). We just used the windows paths with a forward slash as the following settings show. Server type: Internally managed (local) Server port: 8100 Auto start: Yes Server path: C:/Programme/OpenOffice.org 3 ((Use your path, ours here is on a German language windows)) Server profile: C:/Dokumente und Einstellungen/All Users/Anwendungsdaten/OpenOffice.org/3 ((Use your path, ours here is on a German language windows)) Server state: Connected ((This shows that the open office server is working)) Be sure to restart Tomcat and then the windows service is superfluous. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Paul Rijnhout Gesendet: Mittwoch, 16. September 2009 17:38 An: users@xwiki.org Betreff: [xwiki-users] problem connceting to openoffice server Hi, I' running Xwiki (XWiki Enterprise 1.9.3.22597) on a windows machine with Tomcat 5.5.28 and MySQL 5.1. I've also installed openoffice 3.1.1 and have it run as a service with the command 'soffice -headless -accept=socket,host=127.0.0.1,port=8100;urp; -nofirststartwizard'. Still XE can not start/connect to the server. I've checked and changed de xwiki.properties file, but no changes are picked up by XE. Anyone, who can help me get this thing to work? Thanks Paul ___ 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] 3 x XWiki questions from a newbie
Steven Calkins wrote: -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Donnerstag, 17. September 2009 00:29 An: XWiki Users Betreff: Re: [xwiki-users] 3 x XWiki questions from a newbie Christophe FRAULE wrote: Hello, I'm a newbie with XWiki and I'm mostly experimenting with it so see if and how we could use it internally. I'm running XWiki 1.9.3.22597 on Tomcat6 with Fedora 11/MySQL 5.1.37 and had encountered no particular problem except that I have to launch and run the OpenOffice server externally on a regular account because it would not start when launched by XWiki. I suspect it's a memory access right issue because launching manually from the tomcat account I get this -sh-4.0$ /usr/bin/soffice -headless -accept=socket,host=127.0.0.1,port=8100;urp; -nofirststartwizard creation of executable memory area failed: Permission denied creation of executable memory area failed: Permission denied creation of executable memory area failed: Permission denied creation of executable memory area failed: Permission denied creation of executable memory area failed: Permission denied creation of executable memory area failed: Permission denied creation of executable memory area failed: Permission denied It's just the way the tomcat account is set I believe. (Seeing no xwiki user, I assume xwiki is using the tomcat account to launch soffice). I have 3 x questions regarding XWiki: 1) We want to use 'spaces' (no virtual XWiki) to create boundaries between what users can see. I have created Space A, User A and configured access rights so that User A can access Space A only. The problem is that when User A log into XWiki, XWiki returns and error message because User A tries to land on the main page = a. Can we configure XWiki so that User A automatically lands on Space A when login ? If yes, how ? You can write a little script instead of the default content of Main.WebHome, one which computes the right space for the current user, and redirects there. Something like: #set($space = $context.user.substring($context.user.indexOf('.'))) #set($space = ${space.substring(1)}.WebHome) $response.sendRedirect($xwiki.getURL($space)) b. I assume also that performing a search User A will not be able to see anything out of his user space A. Right ? It depends. The default search pages filter documents according to the user rights, but a user can write his own query to retrieve all document names, although he won't be able to access the content of those documents. If document names should also be private, it can easily be fixed by changing the Java code a bit (and actually it should). 2) I have made a quick Groovy/SQL test polling a rather large table out of an external database and displaying the result into HTML on XWiki. Scrolling down the dynamically generated XWiki HTML table, I suddenly got into a black hole or let's say the end of the XWiki web page = a.What is the way in XWiki to control the maximum length/size (or maximum characters ?) of a Web page ? The limit for the document content is a soft one: at least 200k characters, which is rounded up to the equivalent database data type, which for MySQL becomes mediumtext, large enough to hold 16M. Then, there is the max packet size, which is configured on the server, and it is not set by XWiki. I've had this problem as well, but only with very long pages. If e.g. an html page is very long, a black hole appears in XWiki, but not when viewed directly in Firefox. -- Steven Calkins If you're talking about a skin issue, meaning that the page suddenly ends, I think somebody else reported a similar problem a long time ago, but I don't remember what was the cause, and whether it was fixed or not. Can you be more specific about what's happening? 3) Is it possible to programmatically add pages into Xwiki based on the content of an external database. The idea here is to run a script (via Xwiki scheduler ?) to pull records out of an external database. For each (new) record, then a new XWiki page would be created which users could edit to bind their own additional pieces of information. When a database record is deleted, the corresponding XWiki pages would be move to the 'gone' space. Yes, it is possible, but this requires more time to write. A few pointers: there is an SQL plugin for XWiki which allows you to connect to an external database, there is the task scheduler which allows you to execute jobs at a given time/period, and the API allows you to manipulate documents as you like: create, rename, change, delete, etc. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] About the open office server
Francisco, Maybe you could explain to your Admins that the functionality is needed and request that they would please install OO on the server. Then they should tell you the URL to the installation in relation to your application server. You can enter this in Xwiki and I imagine it should work. Once that is done you won't need any access to it, provided you start it with your Xwiki. We run OO as a server that way and have no problems with it. If we ever do have problems we will just restart Tomcat to fix things. Sometimes we have to sell our ideas in our own firms to get things done. Most Admins would be obliging once they understand the issue, and realize it is safe. If the other server has a share on the application server, OO can be accessed that way too, provided the share has the privileges to do what you need. Then you need the path as seen from the wiki. Regards, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Hernández Cuchí, Francisco Ricardo Gesendet: Donnerstag, 10. September 2009 17:20 An: XWiki Users Betreff: Re: [xwiki-users] About the open office server Hello again, In my case, the Systems department allows us only to publish Java applications, not install server apps, and give us no admin access to the production machines, that means that it is not posible to use the OOffice where the xwiki is installed. I have it running in another machine, but in the externally managed server configuration I haven´t seen where to put the IP of the server. Any help? Thanks for everything, this list works really fast, Francisco -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Steven Calkins Enviado el: miércoles, 09 de septiembre de 2009 18:09 Para: XWiki Users Asunto: Re: [xwiki-users] About the open office server Hi Francisco, Just take the normal version and install it on your server as the instructions at http://code.xwiki.org/xwiki/bin/view/Applications/OfficeImporterApplication stipulate. You do need access to the server where xwiki is running. Regards, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Hernández Cuchí, Francisco Ricardo Gesendet: Mittwoch, 9. September 2009 10:13 An: XWiki Users Betreff: [xwiki-users] About the open office server Hello everybody, I've searched trough the web for the open Office server, and in the xwiki doc there are thigns about teh open office server, but, how do I install it? Is it a normal versión? Does it need admin privileges in the machine that runs it? Regards, Francisco -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información OFICINA ESPAÑOLA DE PATENTES Y MARCAS C\ Paseo de la Castella 75 tlf: 913496844 mail: francisco.hernan...@oepm.es mailto:francisco.hernan...@oepm.es ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ 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 ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ 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] Issue with the Import an Office documentfunctionality
Hi Chaudier, I tried it and you're right. It seems to be a bug. A workaround I found is to edit it changing the Syntax to version 1 and back to version 2 again. Then it works correctly, at least for the small snippets of text I used. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Chaudier Guillaume Gesendet: Dienstag, 8. September 2009 18:04 An: users@xwiki.org Betreff: [xwiki-users] Issue with the Import an Office documentfunctionality Hello, I try to import an Office (word 2003 document) with a Ç character (ALT 128). The result into the wiki page is: Ccedil;. The result is the same in UTF-8 or in ISO-8859-1. Is this due to a configuration issue or a bug? Thank's in advance for your answer. Best Regards, ___ 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] About the open office server
Hi Francisco, Just take the normal version and install it on your server as the instructions at http://code.xwiki.org/xwiki/bin/view/Applications/OfficeImporterApplication stipulate. You do need access to the server where xwiki is running. Regards, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Hernández Cuchí, Francisco Ricardo Gesendet: Mittwoch, 9. September 2009 10:13 An: XWiki Users Betreff: [xwiki-users] About the open office server Hello everybody, I've searched trough the web for the open Office server, and in the xwiki doc there are thigns about teh open office server, but, how do I install it? Is it a normal versión? Does it need admin privileges in the machine that runs it? Regards, Francisco -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información OFICINA ESPAÑOLA DE PATENTES Y MARCAS C\ Paseo de la Castella 75 tlf: 913496844 mail: francisco.hernan...@oepm.es mailto:francisco.hernan...@oepm.es ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ 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] Selective space export
Hallo Francisco, I recently exported my entire database for the first time. I noticed that when you import the XAR file there are checkboxes that permit you to leave out what you want. Is that what you need? Xwiki permits choosing which spaces to import, but the choice is on the import side not the export side. To export the entire DB you need to have Admin rights, though. Best regards, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Hernández Cuchí, Francisco Ricardo Gesendet: Montag, 7. September 2009 12:51 An: XWiki Users Betreff: [xwiki-users] Selective space export Hello everybody. Because of a java memory problem when exporting my wiki, I want to do selective space exports. The problem is that there is no easy snippet to do it. I found some code to export one space, and would be great to hace something with chekboxes or similiar to quickly select wich space to export. I am not good at the scripting language yet, so some help would be great. I attach the code for one space exporting #if(!$request.space) #set($space = All) #else #set($space = $request.space) #end #set($spacesText = {}) #set($spaces = $xwiki.spaces) #set($ok = $spacesText.put(All,All)) #foreach($space in $spaces) #set($ok = $spacesText.put($space,$space)) #end #macro(spaceoption $space $selectspace $spacesText) option value=$spacesText.get($space) #if($selectspace == $spacesText.get($space))selected=selected#end$space/option #end #macro(spaceselect $selectspace $spaces $spacesText) select name=space #spaceoption(All $selectspace $spacesText) #foreach($space in $spaces) #spaceoption($space $selectspace $spacesText) #end /select #end form action= {pre} div class=centered Space #spaceselect($space $spaces $spacesText) input type=submit value=Ver/ /div {/pre} /form #if ($request.space) 1.1 List of docs that will be Exported #set($parametros = ?format=xarhistory=falsename=+$space) #foreach ($item in $xwiki.getSpaceDocsName($request.space)) * $item #set( $parametros = $parametros + pages= + $space + . + $item ) #end #set( $parametros=$doc.getURL(export)+$parametros ) #set( $parametros=$parametro.toString.replace(/view/,/export/)) a href=$parametrosExportar/a #end -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información OFICINA ESPAÑOLA DE PATENTES Y MARCAS ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ 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
[xwiki-users] How do I create an ImageMap in Xwiki with Syntax 2.0?
Dear All, How do I create an ImageMap in Xwiki with Syntax 2.0? I already have the image map created with an open source tool. I can include an image in syntax 2 with the [[image:URL||width=xxx]] syntax. But where do I tell it to use the image map? And where can I put the image map? Thanks for any help. Steven Calkins ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Downloading Velocity macro documentor
Thanks Sergiu, The confusion arose because I didn't consider attachments to be on the page. I guess I have to think a bit more wiki-like. Maybe saying as attachments to the page would prevent others from making the same mistake. Greetings, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Sergiu Dumitriu Gesendet: Freitag, 28. August 2009 02:56 An: XWiki Users Betreff: Re: [xwiki-users] Downloading Velocity macro documentor Steven Calkins wrote: I tried to download the xwiki-plugin-velocidoc-0.3.jar, xwiki-core-xmlrpc-client-1.5.jar and velocidoc-0.3.xar from the page: http://dev.xwiki.org/xwiki/bin/view/Drafts/Documenting+XWiki+Velocity+ Ma cros But the link to the download is not available, as far as I can see. Can someone tell me where these tools are? And do they still work in XWiki Enterprise version 1.9? From the page: Download velocidoc-bin-0.3.zip from this page This means that the binaries are attachments of the document, which you can see at the bottom of the page (the Attachments tab). Or, directly: http://dev.xwiki.org/xwiki/bin/view/Drafts/Documenting+XWiki+Velocity+Macros?viewer=attachments -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ 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
[xwiki-users] A workaround for a PDF rendering problem
Dear XWiki users, I just wanted to share a workaround for a PDF rendering problem. I was copying and pasting html from a knowledgeroot system into xwiki. In the process I was changing the image paths to relative URLs. Normally nothing speaks against using the absolute URLs, but we may need to move the wiki soon, so I decided that relative paths are better. They display fine in Xwiki Enterprise, but then the disappointment came when I tried the PDF print. The first image appeared but the following were empty! So I needed an absolute path which I can change easily if we move the wiki. I went into the xwiki/skins/Albatross/template directory to the the xwikivars.vm file and added a variable of the form: #set($domain = http://domain:port;) After adding it, I saved the file, restarted Tomcat and tested by typing somewhere in a page $domain. That took care of it. The PDFs were just fine now. Now I can replace the relative URL everywhere by ${domain}/[ here relative URL]. When we move the wiki to another server it will work as soon as I make a single change in the xwiki/skins/Albatross/template/xwikivars.vm file. I am new at XWiki, so if anyone has a better solution I'd be very glad to hear it. Greetings, Steven Calkins ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Downloading Velocity macro documentor
I tried to download the xwiki-plugin-velocidoc-0.3.jar, xwiki-core-xmlrpc-client-1.5.jar and velocidoc-0.3.xar from the page: http://dev.xwiki.org/xwiki/bin/view/Drafts/Documenting+XWiki+Velocity+Ma cros But the link to the download is not available, as far as I can see. Can someone tell me where these tools are? And do they still work in XWiki Enterprise version 1.9? Thanks for any help you can offer. Steven Calkins ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Hello to the XWiki community
Hi Silvia, My first wish is a clear division between macros that work under syntax 1.0 and 2.0. Many descriptions in the code zone are already that way, but the description of the attach macro at http://code.xwiki.org/xwiki/bin/view/Macros/AttachMacro only provides the 1.0 syntax, and there doesn't seem to be a 2.0 version. Someone please correct me if I'm wrong. At least for me it didn't work under syntax 2.0. It would be great to cross-link examples between syntaxes for quick comparison. Regards, Steven Calkins -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Silvia Rusu Gesendet: Donnerstag, 20. August 2009 10:34 An: XWiki Users Betreff: [xwiki-users] Hello to the XWiki community Hi, I am Silvia Rusu (http://www.xwiki.org/xwiki/bin/view/XWiki/SilviaRusu) and I have joined the XWiki Iasi team this week as a tester and documentation writer. As a tester my role will be to uncover any issues and inconsistencies that might affect the products you love developing/using. I will also be talking to our project managers, product manager and mailing list users in order to find out more about our customers expectations and needs. Taking this into consideration I will come up with suggestions on how to improve user experience. As a documentation writer I will make sure users who aren't familiar with XWiki discover what the products do in order to take advantage of their features. In the process I will be making sure all user-facing features are well documented on XWIki.org, writing user guides, creating videos explaining how to use features, etc. I am happy to be joining XWiki and hope this will develop into a very successful collaboration. You can find me online on Twitter at http://twitter.com/silviarusu. Should you have any suggestions regarding testing and documentation please feel free to contact me by email at silvia.r...@xwiki.com. Thanks, Silvia ___ 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] Bug with olul etc
Hi Guillaume, I am using XE 1.9 in XWiki 1.0 syntax. I'll try switching this page to XWiki 2.0 syntax and insert the code as you suggest. Thanks Steven Calkins IT-Beratung und Vertrieb CMS - Cross Media Solutions GmbH Beethovenstraße 5 A 97080 Würzburg Tel: +49 (931) 385 - 351 Fax: +49 (931) 385 - 364 Mobil: +49 (175) 5758790 E-Mail: steven.calk...@crossmediasolutions.de Internet: http://www.crossmediasolutions.de Handelsregister: Würzburg HRB 8950 Geschäftsführer: Michael Schardt member of Euradius -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Guillaume Lerouge Gesendet: Donnerstag, 6. August 2009 11:35 An: XWiki Users Betreff: Re: [xwiki-users] Bug with olul etc Hi Stevens, On Thu, Aug 6, 2009 at 11:25 AM, Steven Calkins steven.calk...@crossmediasolutions.de wrote: Dear All, Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved: olliItem 1 characteristics: ul liItem 1, bullet 1/li liItem 1, bullet 2/li liItem 1, bullet 3/li /ul /li liItem 2 characteristics: ul liItem 2, bullet 1/li liItem 2, bullet 2/li /ul /li liItem 3 characteristics: ul liItem 3, bullet 1/li /ul /li /ol It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format. Greetings, Steven Calkins Which version of XWiki Enterprise are you using? If you're using XE 1.9 / pages in XWiki 2.0 syntax you can enclose such code in a HTML macro: {{html}} HTML code goes here {{/html}} This will protect your code when saving the page and make sure it gets displayed. Guillaume Steven Calkins IT Consulting and Sales ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ 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] Bug with olul etc
Guillaume It worked! Thanks Steven Calkins IT-Beratung und Vertrieb CMS - Cross Media Solutions GmbH Beethovenstraße 5 A 97080 Würzburg Tel: +49 (931) 385 - 351 Fax: +49 (931) 385 - 364 Mobil: +49 (175) 5758790 E-Mail: steven.calk...@crossmediasolutions.de Internet: http://www.crossmediasolutions.de Handelsregister: Würzburg HRB 8950 Geschäftsführer: Michael Schardt member of Euradius -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Steven Calkins Gesendet: Donnerstag, 6. August 2009 11:47 An: XWiki Users Betreff: Re: [xwiki-users] Bug with olul etc Hi Guillaume, I am using XE 1.9 in XWiki 1.0 syntax. I'll try switching this page to XWiki 2.0 syntax and insert the code as you suggest. Thanks Steven Calkins IT-Beratung und Vertrieb CMS - Cross Media Solutions GmbH Beethovenstraße 5 A 97080 Würzburg Tel: +49 (931) 385 - 351 Fax: +49 (931) 385 - 364 Mobil: +49 (175) 5758790 E-Mail: steven.calk...@crossmediasolutions.de Internet: http://www.crossmediasolutions.de Handelsregister: Würzburg HRB 8950 Geschäftsführer: Michael Schardt member of Euradius -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Guillaume Lerouge Gesendet: Donnerstag, 6. August 2009 11:35 An: XWiki Users Betreff: Re: [xwiki-users] Bug with olul etc Hi Stevens, On Thu, Aug 6, 2009 at 11:25 AM, Steven Calkins steven.calk...@crossmediasolutions.de wrote: Dear All, Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved: olliItem 1 characteristics: ul liItem 1, bullet 1/li liItem 1, bullet 2/li liItem 1, bullet 3/li /ul /li liItem 2 characteristics: ul liItem 2, bullet 1/li liItem 2, bullet 2/li /ul /li liItem 3 characteristics: ul liItem 3, bullet 1/li /ul /li /ol It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format. Greetings, Steven Calkins Which version of XWiki Enterprise are you using? If you're using XE 1.9 / pages in XWiki 2.0 syntax you can enclose such code in a HTML macro: {{html}} HTML code goes here {{/html}} This will protect your code when saving the page and make sure it gets displayed. Guillaume Steven Calkins IT Consulting and Sales ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users