Re: [xwiki-users] theoretical question about a data model
Hi, I think one way is this. As a connector for this classes use xwiki document. I mean you have two xwiki classes. One is FishProvider and other one is Fishes or for each fish species one class. You connect both of them by adding them to some xwiki document. So you will get unique connection for FishProvider and Fishes. For example you have class Fish1 and class FishProvider. Fish1 will have propertie like size. FishProvider will have propertie like name. Now you create xwiki document, for example with name Fishery, and as next step you create object for class Fish1 and another object for class FishProvider. These two objects is now attached to xwiki document Fishery. In database it connected throught table XWikiObjects. I hope that, it will help you. Jan On Sat, May 3, 2008 at 11:06 AM, [Ricardo Rodriguez] Your EPEC Network ICT Team [EMAIL PROTECTED] wrote: Hi all, I am afraid the title of this thread is a bit pompous :-) In fact the question seems to me to be an entry level object oriented database design, but I am not able to make my mind about this. Your help will be greatly appreciated! Here a simple chart about the problem: http://mire.environmentalchange.net/~webmaster/pdr/dataModelpdR.pnghttp://mire.environmentalchange.net/%7Ewebmaster/pdr/dataModelpdR.png I have two ever-growing pools of data: providers and fishes. By following the ToDo and FAQ tutorials, I easily could create and instantiate the two classes but, how could I establish the relationship between providers and fishes? Thanks! Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ 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] Multiple file attaching
Hi, i made a plugin which is capable to get email from pop3 and loaded to xwiki as a page. It works with attachments too. So you can easy forward your mails to xwiki from outlook. It is not ready for publish, because it is not document well. But in a couple of weeks I will publish it on xwiki.org Jan On Fri, May 2, 2008 at 12:54 PM, goldring, richard [EMAIL PROTECTED] wrote: Hi, Does anyone know how to select files from a directory and have XWiki attach all those files in that directory to a wiki page? I'm thinking I could have a directory with a load of outlook emails copied there that would be useful to attach and index in a wiki page so the emails can be searched within XWiki - except Lucene doesn't seem to be able to search attached Outlook email files as I've just discovered. What I want is to be able to get emails into XWiki so say a marketing department could search on them - is there another way? Regards, Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Benjamin K Leung Sent: 01 May 2008 14:33 To: 'XWiki Users' Subject: Re: [xwiki-users] Import/Export Hi, I think the export failed due to insufficient memory. Increasing the memory pool available the container would solve this. I agree the export code should definitely generate an error message appropriately. BL -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of goldring, richard Sent: Thursday, May 01, 2008 3:54 AM To: 'XWiki Users' Subject: Re: [xwiki-users] Import/Export Vincent, I had this exception while (having first attached the file) importing (clicking on the file) (even when I exported from 1.3.2 and then tried to import again) er 11015 in 11: Exception while importing Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file. com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while importin g Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file. at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198) at org.apache.struts.action.RequestProcessor.processActionPerform(Reques tProcessor.java:431) ...and then a message saying there was no documents in the file! I eventually traced it down to an empty WebHome file in the archive - I deleted this from the archive and the import worked. Why the export produced an empty WebHome file - I don't know!? But I hope this information helps other users with similar difficulties. Maybe the export code needs refactoring so it can't produce empty files, and maybe the import code needs to be more robust so it doesn't produce an exception if it fails to read anyone file, but produces an message to flag up the problem but continues processing the other files so the import doesn't fail completely because of one file. I wish I had some to time to help fix this at this time ... maybe these issues can be addressed later in the year. Best Regards, Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Vincent Massol Sent: 29 April 2008 07:31 To: XWiki Users Subject: Re: [xwiki-users] Import/Export On Apr 29, 2008, at 8:25 AM, goldring, richard wrote: Hi all, I've exported from xwiki enterprise hsqldb 1.2 milestone 2 and tried to import into xwiki enterprise hsqldb 1.3.2 by attaching the exported file, but when I click on the attached file it doesn't list the exported files within so I can import them. That should work fine. So you need to tell us what error you get in the xwiki logs. Also make sure you click only once and you wait enough. If your XAR is large it'll take time to display the items. BTW what's the size of your XAR? Anyone know how to get my pages from 1.2 to 1.3.2? See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail is confidential. It may also be legally privileged. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. We may monitor all e-mail communications through our networks. If you have received this e-mail in error, please inform us immediately on +44 (0) 1749 672081 and delete it and all copies from your system. We
[xwiki-users] groovy script as xpage
Hi All, i just wondering i cant use groovy when i call page from parameter xpage? I mean, when I call something like this http://localhost:8080/xwiki/bin/view/Test/?xpage=myPage the groovy script is written like normal text. What am i doing wrong? Or I have missed something? Thanks, Honza ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] New product proposal and request for volunteers
Hi, I used XWiki for my diploma thesis. I mean, my teacher was checking my progress in xwiki. I used following schema. Every chapter was one wiki page. There was one page, where were all links to chapters. Some sort of main page. When the chapter is in one page, makes comments is easy. You know the context, so it clear what you want comment. What I missed, was the transfer to LaTex. I had to do this manually. But i think it is better to keep the text in wiki syntax. My point is, you can convert it to LaTex when you want. Why make it incompatible to rest of xwiki? During my work, i realize that will be great to have special tags like first draw, finished, commented, errors and so on. So you have the summary of your work. These tags will show on the page next to links. So i think that xwiki is ready for collaboration on the diploma thesis right now. One thesis one space. Maybe first page will be special with some code, but rest of them will be normal xwiki pages. With Latex export and tags you will have what you need. It is my personal opinion, but that is what i missed when i used xwiki for diploma thesis. Jan On Feb 6, 2008 2:54 PM, Tim Chippington Derrick [EMAIL PROTECTED] wrote: Sounds like a great project. We are a small (2 person) company working in mathematical optimisation, and we would like to be able to use XWiki for requirements capture, logging issues, developing documentation and similar. We often need to include equations and the like in our documents. I love LaTeX, but nobody else I know really gets it, so we end up using (yuk!) MS Word and (ugh!) Sharepoint. Would love to be able to contribute to the project, but at present the workload is about 6+ days per week due to overlapping projects... so we have *no* time to spare just now. Maybe later in the year I could help. Tim Sergiu Dumitriu wrote: Hi everybody, On the mailing lists, we noticed several people trying to use XWiki in academic environments, requesting features such as support for mathematical equations or support for LaTeX. We took some time to design a product that would be great for writing scientific papers, identifying some important features, and some would be nice to have features. You can see the current design proposal at http://dev.xwiki.org/xwiki/bin/view/Design/SPAWN (feel free to send comment on the mailing list). Given the fact that this is not a product which can easily be sold, and that there are other more critical projects to work on for the moment, the core XWiki developers cannot dedicate much time on it. This is why we need help from the community. Whoever would like to use this product, and has the power and knowledge to work on in, please help us. If you are in an university as a student, you can propose one of the sub-applications as a project for one of your classes. If you are a teacher, you can propose some sub-applications as student projects. We can help with coordination, more detailed description/requirements, question answering, code review, etc. Some of the features require mostly programming skills, while others require more advanced research skills, like the positioned comments in a dynamic text (adapting some sequence alignment algorithms from bioinformatics seems the best idea for the moment, but also some fuzzy systems theory could be applied), or an automatic merge algorithm based on Operational Transformations, so some publications can come out of this, too. If we gather a few volunteers, I'll make the necessary Jira setup and mark the product as active. Regards, The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Tim Chippington Derrick Chippington Derrick Consultants Ltd Tel: 01276 508949 Mob: 07971 997948 http://www.chippingtonderrick.co.uk ___ 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] wiki to latex
Hi, I just searched for some LaTex stuff, and I found this http://goessner.net/articles/wiky/ . *Wiky* is a clientside Wiki http://en.wikipedia.org/wiki/Wiki markup to HTML converter written in javascripthttp://en.wikipedia.org/wiki/JavaScript. As it is bidirectional, it can convert Wiki markup to HTML and later convert that generated HTML text back to Wiki markup. Optionally *Wiky* will create math formulas from a simple notation similar to LaTeX. It may be great to make inline math editor. Or another option how to get latex math syntax is JSPWiki Math Plugin. It is written in pure java. Honza ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] rights of current user
Hi, i think the problem is, that space preferences is in ${space}.WebPreferences page and not in WebHome. Your script just find, if the user have rights to WebHome page not for entire space. WebPreferences has object global rights and i think there you have to do some sql query to find out, if user have rights or not. Jan On 12/17/07, Bjørnar Libæk [EMAIL PROTECTED] wrote: I would like to have a script that finds out for which spaces the current user has view rights. I try to do: #set($spaces = $xwiki.spaces) #foreach($space in $spaces) #set($whome = $xwiki.getDocument(${space}.WebHome)) [$space${space}.WebHome] #if($whome.hasAccessLevel(view,$xwiki.getUser())) acess? Yupbr #else access? Nopebr #end #end but hasAccessLevel always return false. What am I missing? Is there any other way to do this? ___ 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] German letters changed to ? by pdf export
Hi, i think, that problem is in class which generate PDFs. In the class is preset to encoding latin-1. The problem is in this line tidy.setCharEncoding(Configuration.LATIN1); in PdfExportImpl class. So only solution is change this line and recompile the xwiki. Or maybe compile only this class and change struts action to your new file. Jan On 12/12/07, Roman Anastasini [EMAIL PROTECTED] wrote: Hi there, Unfortunately e have a little problem with the export to a pdf file out of our xwiki. Some German letters (e.g.: ö, ä, ß) are printed to ? when generating a pdf. Does anybody know how to solve the this? Looking forward for helpfully answers. Thanks a lot! Roman A. Anastasini Roman Anastasini Apprentice AdLINK Internet Media AG Phone: +49 (0)2602 96 1868 HRB Montabaur 5432 Vorstand: Stéphane Cordier, Andreas Janssen, Marc Stilke Elgendorfer Str. 57 Fax: +49 (0)2602 96 1912 56410 Montabaur Mobile: Germany [EMAIL PROTECTED] [image: AdLINK Group] http://www.adlinkgroup.net/ www.adlinkgroup.net [image: AdLINK Media] http://www.adlinkmedia.net/[image: Affilinet] http://www.affili.net/[image: Composite Digital] http://www.compositedigital.com/[image: net:dialogs] http://www.netdialogs.de/[image: Sedo] http://www.sedo.com/ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient of this e-mail, you are hereby notified that saving, distribution or use of the content of this e-mail in any way is prohibited. If you have received this e-mail in error, please notify the sender and delete the e-mail. ___ 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] Database List Class
Hi All, i want use database list class as property in my class. I tried hibernate query to fill in values of property. After this, the select box was empty. I think there is no problem in query (Select doc from XWikiDocument as doc) and I filled in value (doc.name) and id (doc.id) and also i filled in which class should hibernate use. (XWikiDocument). I dont know, what I am doing wrong. Is there some tutorial for this? There is values which i filled in Display type : select Relational Storage: yes Use Picker: yes Size : 1 Sort: value Hibernate Query:select doc from XWikiDocument as doc XWiki Class Name: XWikiDocument Id Field Name: doc.name Value Field Name: doc.name Thank you. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] wikimanger problem
Hi All, i have installed WikiManger. But always, when I click to wikimanger webhome i get this error Error number 4001 in 4: Error while parsing velocity page WikiManager.WebHome Wrapped Exception: Invocation of method 'get' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NoClassDefFoundError: com/xpn/xwiki/plugin/applicationmanager/core/doc/objects/classes/AbstractSuperClass @ WikiManager.WebHome1,28? Any idea what is go wrong? Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users