Re: [xwiki-users] Tomcat error 500 for pages with in title
Hi D R! Does this URL included in the error message some special meaning for you? Could it be the only space with some reserved characters in the space name? http://10.80.75.216/xwiki/wiki/kunden/view/Some++Space/Kunden+Appstore+iPad+Apps Perhaps they were allowed in your Windows Server and Ubuntu rejects them? Cheers! -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de D R [rir@gmail.com] Enviado: miércoles, 22 de abril de 2015 11:33 Para: XWiki Users Asunto: Re: [xwiki-users] Tomcat error 500 for pages with in title Does anybody have additional hints how I can solve this blocking issue? Thanks in advance. 2015-04-21 9:56 GMT+02:00 D R rir@gmail.com: Thanks, Ricardo. I checked the encoding documentation and performed some steps but the issue still occurs. What I did: - XWiki encoding - web.xml: already UTF-8 - xwiki.cfg: already UTF-8 - HTML encoding: added to each wiki (Content-Type tag was completely missing) - Hibernate configuration: UTF-8 properties added - MySQL config: added UTF-8 settings and converted each database from utf8_general_ci to utf8_bin - Tomcat: already UTF-8 - System config: already en_US.UTF-8 - OpenOffice import: no changes needed because no issues so far I then rebooted the Ubuntu Server machine. When opening pages with in the title/link I still get the same error 500 from tomcat. Any further hints/suggestions? Regs, Dennis 2015-04-20 20:54 GMT+02:00 ricardo.julio.rodriguez.fernan...@sergas.es: Hi D R! Have you checked if the encoding in the whole enviroment is correctly set up? I've seen something similar here in a CentOS installation this morning while fine tunning encoding as per... http://goo.gl/RC2k5k I'm not able to remember what error resulted to at least a similar message, but it was an erroneous configuration in some step. I swear that it was while teaking with hibernate.cfg.xml thought... HTH! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de D R [rir@gmail.com] Enviado: lunes, 20 de abril de 2015 16:09 Para: XWiki Users Asunto: [xwiki-users] Tomcat error 500 for pages with in title Hi everybody, we migrated our XWiki from Windows Server (Tomcat 7, XWiki 6) to Ubuntu Server 14.10 (Tomcat 8, XWiki 7) installed via the apt repository. All issues up to now could be solved but I stumbled upon one remaining issue. Opening Pages with in the title/link lead to a tomcat 500 page. On the Windows instance the pages work. Could anybody help me to fix this? Thanks in advance. Example: Page: Kunden Appstore iPad Apps Link: http://10.80.75.216/xwiki/wiki/kunden/view/Some+%26+Space/Kunden+Appstore+%22iPad+Apps%22 Exception: HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some++Space/Kunden+Appstore+ iPad+Apps] type Exception report message com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some++Space/Kunden+Appstore+ iPad+Apps] description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some++Space/Kunden+Appstore+ iPad+Apps] org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
Re: [xwiki-users] Help me again ;)
Hi Maciek! As you can see, attachments are filtered out of this list. Please, for instance, attach the image to a public page on your XWiki installation and send the link to the list! Cheers! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Maciej Fokt [maciek.f...@taxi123.pl] Enviado: lunes, 20 de abril de 2015 12:17 Para: users@xwiki.org Asunto: [xwiki-users] Help me again ;) Hello, I'm writing in connection with the same problem as last time... I have double buttons on the top panel. Could you tell me how to hide this or switch off? I have cleared cache of my web browser, installed and deleted extensions of XWiki... all don't working. Please help me. I will really happy if you sent me screen shots or something to show me how to do that. Screen shot with issue in attachment. Greetings, Maciek. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to hide this?
Faster... http://goo.gl/SLZuPR -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Mahomed Hussein [maho...@custodiandc.com] Enviado: lunes, 20 de abril de 2015 18:22 Para: XWiki Users Asunto: Re: [xwiki-users] How to hide this? Could you use something like http://snag.gy/ or http://expirebox.com/ to post a screenshot? Kind regards, Mahomed -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Maciej Fokt Sent: 20 April 2015 15:10 To: users@xwiki.org Subject: [xwiki-users] How to hide this? Hi, I used inspector to examine the element (still my problem with double button on the top panel): class=dropdown-split-right dropdown-toggle hidden-xs dropdown-split-left Could anyone say something about this? Maybe I installed extension or something... Please help me :p I can't public XWiki with this bug. Greetings, Maciek. ___ 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 Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tomcat error 500 for pages with in title
Hi D R! Have you checked if the encoding in the whole enviroment is correctly set up? I've seen something similar here in a CentOS installation this morning while fine tunning encoding as per... http://goo.gl/RC2k5k I'm not able to remember what error resulted to at least a similar message, but it was an erroneous configuration in some step. I swear that it was while teaking with hibernate.cfg.xml thought... HTH! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de D R [rir@gmail.com] Enviado: lunes, 20 de abril de 2015 16:09 Para: XWiki Users Asunto: [xwiki-users] Tomcat error 500 for pages with in title Hi everybody, we migrated our XWiki from Windows Server (Tomcat 7, XWiki 6) to Ubuntu Server 14.10 (Tomcat 8, XWiki 7) installed via the apt repository. All issues up to now could be solved but I stumbled upon one remaining issue. Opening Pages with in the title/link lead to a tomcat 500 page. On the Windows instance the pages work. Could anybody help me to fix this? Thanks in advance. Example: Page: Kunden Appstore iPad Apps Link: http://10.80.75.216/xwiki/wiki/kunden/view/Some+%26+Space/Kunden+Appstore+%22iPad+Apps%22 Exception: HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some++Space/Kunden+Appstore+ iPad+Apps] type Exception report message com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some++Space/Kunden+Appstore+ iPad+Apps] description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some++Space/Kunden+Appstore+ iPad+Apps] org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) root cause com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some++Space/Kunden+Appstore+ iPad+Apps] com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:645) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:593) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:170) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) root cause org.xwiki.resource.CreateResourceReferenceException: Invalid URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some++Space/Kunden+Appstore+ iPad+Apps]
Re: [xwiki-users] searching for public user profile data in a XWiki Enterprise 2.4.30451 installation
Please, allow me to document this issue: the answer is in xwikivars.vm where $blacklistedSpaces is set. Once again, sorry for the noise. Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Rodriguez Fernandez, Ricardo Julio Enviado: sábado, 18 de abril de 2015 11:32 Para: users@xwiki.org Asunto: Re: [xwiki-users] searching for public user profile data in a XWiki Enterprise 2.4.30451 installation Sorry for the noise! I found this rigth now... [xwiki-users] search when not logged in http://markmail.org/thread/zcynk6cswjpoefgz I'll check it and report back. Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Rodriguez Fernandez, Ricardo Julio Enviado: sábado, 18 de abril de 2015 11:22 Para: users@xwiki.org Asunto: [xwiki-users] searching for public user profile data in a XWiki Enterprise 2.4.30451 installation Hi, Searching for first names, last names or any other public user profile data gives for guest user no hits in this old installation. I'm using database index. I'm not able to remember, and has not documented, any change affecting how search works on this information. Guest users can see that information, for instance... http://atriumkm.idisantiago.es/bin/XWiki/AteneaSotoSimon ... but search gives no hit looking for any string included in these fields. I see that XWiki 7.0 index that fields out of the box, thus I guess XWiki follows the same policy in previous releases. But I'm not able to find how/why I broke this feature. This old XWiki installation keeps been really useful for us and I would like keep it running. But we do need this search running. Please, could you please point me in the right direction? Where must I change to allow guests to get users' profiles in their searches? Thanks for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] searching for public user profile data in a XWiki Enterprise 2.4.30451 installation
Hi, Searching for first names, last names or any other public user profile data gives for guest user no hits in this old installation. I'm using database index. I'm not able to remember, and has not documented, any change affecting how search works on this information. Guest users can see that information, for instance... http://atriumkm.idisantiago.es/bin/XWiki/AteneaSotoSimon ... but search gives no hit looking for any string included in these fields. I see that XWiki 7.0 index that fields out of the box, thus I guess XWiki follows the same policy in previous releases. But I'm not able to find how/why I broke this feature. This old XWiki installation keeps been really useful for us and I would like keep it running. But we do need this search running. Please, could you please point me in the right direction? Where must I change to allow guests to get users' profiles in their searches? Thanks for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] searching for public user profile data in a XWiki Enterprise 2.4.30451 installation
Sorry for the noise! I found this rigth now... [xwiki-users] search when not logged in http://markmail.org/thread/zcynk6cswjpoefgz I'll check it and report back. Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Rodriguez Fernandez, Ricardo Julio Enviado: sábado, 18 de abril de 2015 11:22 Para: users@xwiki.org Asunto: [xwiki-users] searching for public user profile data in a XWiki Enterprise 2.4.30451 installation Hi, Searching for first names, last names or any other public user profile data gives for guest user no hits in this old installation. I'm using database index. I'm not able to remember, and has not documented, any change affecting how search works on this information. Guest users can see that information, for instance... http://atriumkm.idisantiago.es/bin/XWiki/AteneaSotoSimon ... but search gives no hit looking for any string included in these fields. I see that XWiki 7.0 index that fields out of the box, thus I guess XWiki follows the same policy in previous releases. But I'm not able to find how/why I broke this feature. This old XWiki installation keeps been really useful for us and I would like keep it running. But we do need this search running. Please, could you please point me in the right direction? Where must I change to allow guests to get users' profiles in their searches? Thanks for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [XWiki] change the font size and color in a livetable
Hi Adrien, I can't be more precise now, but these could be entry points to which you are trying to get... http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins http://platform.xwiki.org/xwiki/bin/view/AdminGuide/CSS+files http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial http://platform.xwiki.org/xwiki/bin/view/AdminGuide/CSSLayout You should be able to read the code of the HTML page and identify id and classes affecting the elements you want to modify the appearance. XWiki offers you total control on how information items are shown, but, as with any powerful tool, the way of getting it is not always obvious. Firebug or the developer tools bundled with Safari, Firefox or Chrome must be in your toolset. Looking for CSS related message in this list could also help you. HTH, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Adrien Moi [adrienmoi1...@hotmail.com] Enviado: viernes, 17 de abril de 2015 12:40 Para: users@xwiki.org Asunto: [xwiki-users] [XWiki] change the font size and color in a livetable Hello I'm creating a Live Table with the normal macro and I would like to know if it is possible to change the font size and color of the text inside the table ? {{velocity}} #set($columns = [doc.name, doc.date]) #set($columnsProperties = { doc.name : {displayName : Name }, doc.date : {displayName : }, }) #set($options = { className:, selectedColumn : doc.date, defaultOrder : desc, rowCount: 10 }) #livetable(userdirectory $columns $columnsProperties $options) {{/velocity}} This is the code I use to create the livetable (of all documents of the XWiki), but I have no idea how to change the font size and color for the whole table, and I would also like to know if it was possible to change the font size and color for a specific column? Thanks for the advice !! Greetings Adrien ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Keyboard icons in XWiki articles
Side note: after a some years without using Firebug in Firefox, I've just revisited that environment: well, Firebug Lite is great, but the big brother is impressive! Enjoy! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Rodriguez Fernandez, Ricardo Julio Enviado: miércoles, 15 de abril de 2015 14:46 Para: users@xwiki.org Asunto: Re: [xwiki-users] Keyboard icons in XWiki articles Hi Mahomed! Once again CSS is king! Install Firebug or Firebug Lite (http://getfirebug.com) or any other software that allow you to inspect the page and you'll see how CSS class key does the trick! XWiki view source feature is also useful for understanding the whole picture. A XWiki.StyleSheetExtension holds the CSS code rendering this nice key images. Hope this helps, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Mahomed Hussein [maho...@custodiandc.com] Enviado: miércoles, 15 de abril de 2015 14:27 Para: XWiki Users Asunto: [xwiki-users] Keyboard icons in XWiki articles Hi Can anyone please tell me how I can create keyboard icons in my own wiki/document similar to how the icons appear on this page - http://platform.xwiki.org/xwiki/bin/view/Features/KeyboardShortcuts ? Hopefully this is built in ☺ Thanks in advance. Kind regards, Mahomed ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Technical issues
Hi Maciek! CSS is King! Please, read this.. http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial I you read a previous message of mine, you already realized that I'm not a master here! :-) But we can learn together! Together with this entry point to documentation to control how/what pieces to show, you must install some software that allow you to understand how each page is composed. I'm using Firebug Lite for Safari, Chrome and Firefox and I'm almost enterely satisfied. You always should start reading about CSS as much as possible! It is a really powerful tool, but it takes time to get its point! Concerning the two precise questions you passed in in your message, please, read below... -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Maciej Fokt [maciek.f...@taxi123.pl] Enviado: lunes, 13 de abril de 2015 13:28 Para: users@xwiki.org Asunto: [xwiki-users] Technical issues Hello, My problems: 1. Double button on the top panel (How to switch off this?) (screen shot is in attachment) **If you are talking about the green bottom in upper menu, adding a StyleSheetExtension with this simple code will do the trick... #tmCreate { display: none; } 2. How to hide who modified something? **If you want to hide only the Last modified by line under the page title, this code inside a StyleSheetExtension will do it... .xdocLastModification { display: none; } If you also wants to hide the History, use this code in the body of the page... {{velocity}} #set ($showhistory=no) {{/velocity}} Hope this helps!!! Ricardo Greetings, Maciek. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Technical issues
Hi Maciej, I'm afraid you must expend sometime understanding how XWiki is built. The introduction of SkinExtensionsTutorial gives you links you must, at least, browse through to get an entry level understanding of how things work. Just two tips: 1) You can add an object to any XWiki page by editing it in object mode. It is available in the Edit menu while editing any page. 2) Once there, you can add a StyleSheetExtension object by selecting that class in the New object selector and clicking Add. 3) Once you get the object added, you can fill in its properties. One of them is called... code! That's the place to start playing! Maciej, I know I'm a bit slow, but I've had to devote many hours to understand how to start getting all the power from XWiki architecture! Good luck! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: Maciej Fokt [maciek.f...@taxi123.pl] Enviado: martes, 14 de abril de 2015 10:38 Para: users@xwiki.org; Rodriguez Fernandez, Ricardo Julio Asunto: Re: [xwiki-users] Technical issues Hello, Ok :p but how to open code to make any changes? Greetings, Maciek. W dniu .04.2015 o 09:02 ricardo.julio.rodriguez.fernan...@sergas.es pisze: Hi Maciek! CSS is King! Please, read this.. http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial I you read a previous message of mine, you already realized that I'm not a master here! :-) But we can learn together! Together with this entry point to documentation to control how/what pieces to show, you must install some software that allow you to understand how each page is composed. I'm using Firebug Lite for Safari, Chrome and Firefox and I'm almost enterely satisfied. You always should start reading about CSS as much as possible! It is a really powerful tool, but it takes time to get its point! Concerning the two precise questions you passed in in your message, please, read below... -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Maciej Fokt [maciek.f...@taxi123.pl] Enviado: lunes, 13 de abril de 2015 13:28 Para: users@xwiki.org Asunto: [xwiki-users] Technical issues Hello, My problems: 1. Double button on the top panel (How to switch off this?) (screen shot is in attachment) **If you are talking about the green bottom in upper menu, adding a StyleSheetExtension with this simple code will do the trick... #tmCreate { display: none; } 2. How to hide who modified something? **If you want to hide only the Last modified by line under the page title, this code inside a StyleSheetExtension will do it... .xdocLastModification { display: none; } If you also wants to hide the History, use this code in the body of the page... {{velocity}} #set ($showhistory=no) {{/velocity}} Hope this helps!!! Ricardo Greetings, Maciek. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org
Re: [xwiki-users] dashboardleft and CSS
Well... taking my own medicine I get the way how to control the appearance of this area of the site... a simple combination between StyleSheetExtensions in... $xwiki.ssx.use(XWiki.XWikiUserSheet)## $xwiki.ssx.use('Main.Dashboard')## Plus any instance created in any user's page (affecting only to this user page), plus any inline code injecting style code in a html tag... well, a lot of things to understand! Patience, time, and your help, by action or measured silence. Thanks all! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Rodriguez Fernandez, Ricardo Julio Enviado: domingo, 12 de abril de 2015 11:32 Para: users@xwiki.org Asunto: [xwiki-users] dashboardleft and CSS Hi! In a user profile page with new tabs, I wish div dashboardleft occupy all available width for privateSpacePane. I'm not able to find the right place to inject a width: 100%; property that is working for me when trying it with Inspector (Mac OS X, Safari) http://atriumkm.idisantiago.es/bin/download/ICT/CSS/css.OnPrivateSpace02.png Please, could you point me in the right direction? Must I add a XWiki.StyleSheetExtension object to XWiki.XWikiUserSheet? Must I add it to each user page? Could I use inline code in the concerned div element? I've tried a number of things but failed all and every time! Thanks for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to see setting changes in XWiki preferences?
Hi Valdis, I don't know if I've well understood your question, but to the best of my knowledge there is no out of the box way of following the changes in any class property or changes in configuration files. I know this answer is really poor, but your question remembered to me a feature I looked for time ago to be able to track changes, for instance, the telephone of a user. Currently, XWiki is able to track changes in XWiki pages' content (xwikidoc.XWD_CONTENT), and addition/deletion of objects or attached files to them, but not in properties of instantiate objects. Please, take into account that my understanding about how XWiki works is very limited! Just my two cents, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Valdis Vītoliņš [valdis.vitol...@odo.lv] Enviado: domingo, 12 de abril de 2015 18:11 Para: Xwiki Users Asunto: [xwiki-users] How to see setting changes in XWiki preferences? In XWiki configuration document extra panel is not shown, therefore one cannot easily see changes between settings. What is best/easiest way to enable this (e.g. enable showing document extra panel, or something other)? Thanks! Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] I don't understand this
Yes! Or even to thank developer for their hard work! Greetings! Ricardo -- Ricardo Rodríguez Técnico de Gestión y Promoción de la Investigación Secretaría Técnica Instituto de Investigación Sanitaria de Santiago de Compostela (IDIS) http://www.idisantiago.es -Mensaje original- De: users [mailto:users-boun...@xwiki.org] En nombre de Maciej Fokt Enviado el: lunes, 13 de abril de 2015 12:33 Para: users@xwiki.org Asunto: [xwiki-users] I don't understand this Hello, This e-mail is for users to sending technical questions? Greetings, Maciek. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] dashboardleft and CSS
Hi! In a user profile page with new tabs, I wish div dashboardleft occupy all available width for privateSpacePane. I'm not able to find the right place to inject a width: 100%; property that is working for me when trying it with Inspector (Mac OS X, Safari) http://atriumkm.idisantiago.es/bin/download/ICT/CSS/css.OnPrivateSpace02.png Please, could you point me in the right direction? Must I add a XWiki.StyleSheetExtension object to XWiki.XWikiUserSheet? Must I add it to each user page? Could I use inline code in the concerned div element? I've tried a number of things but failed all and every time! Thanks for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] database related issue while upgrading to the brand new 7.0 release
mysql-connector-java-5.1.35-bin.jar working fine here now. The point is that the update failed with 5.1.35, but succeed with 5.1.28. Now, I've substituted 5.1.28 with 5.1.35 and the server started and runs correctly. Here a file containing log messages from the shutdown with 5.1.28 to a restart cycle with versio 5.1.35 on place. http://goo.gl/KIv60m Please, do the logged errors some sense for you? It these messages are in any way relevant, could we help in any way to identiy the issue? Thanks for your work! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Thomas Mortagne [thomas.morta...@xwiki.com] Enviado: lunes, 06 de abril de 2015 21:10 Para: XWiki Users Asunto: Re: [xwiki-users] database related issue while upgrading to the brand new 7.0 release On Mon, Apr 6, 2015 at 11:16 AM, Manuel Smeria man...@xwiki.com wrote: Hello all, I've just tested an upgrade from XWiki 6.4.3 to 7.0 on MySQL using the JDBC driver v5.1.35 and I didn't have any problem. Both the upgrade process and starting the XWiki server afterwards worked as expected. The only thing I did notice was this line: 2015-04-06 12:11:07,687 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-search-lucene-ui-6.4.3] on namespace [wiki:xwiki] (InvalidExtensionException: No compatible extension is installed for dependency [org.xwiki.platform:xwiki-platform-search-lucene-api-6.4.3]) Lucene module is not part of the WAR anymore so it's just talling you that you have Lucene UI which is not valid anymore. which is always displayed when starting the server. Thanks, Manuel On Fri, Apr 3, 2015 at 2:03 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: De: Vincent Massol [vmas...@gmail.com] en nombre de vinc...@massol.net [ vinc...@massol.net] Enviado: jueves, 02 de abril de 2015 13:09 Para: XWiki Users CC: Rodriguez Fernandez, Ricardo Julio Asunto: Re: [xwiki-users] database related issue while upgrading to the brand new 7.0 release On 2 Apr 2015 at 12:57:48, ricardo.julio.rodriguez.fernan...@sergas.es ( ricardo.julio.rodriguez.fernan...@sergas.es(mailto: ricardo.julio.rodriguez.fernan...@sergas.es)) wrote: The 5.1.28 release of MySQL connector did the trick! hmm so you’re saying that versions 5.0.8 and 5.1.35 don’t work but version 5.1.28 works? Yes, this is at least what is happening here. The upgrade process seems to have been correctly completed. Here the log records I can see in when I shutdown and restart Tomcat with 5.1.28 on place... http://atriumkm.idisantiago.es/bin/download/ICT/XWikiUpgradeIssues/tomcatErrorLog.UpgradingTo70.connector.5.1.28.txt memory leak is a word combination that affrighting me! Please, let me know if and how I could be of any futher help! Cheers, Ricardo That’s strange. Would be great if someone could try and confirm this so that we can put it on the XWiki MySQL document page... Thanks -Vincent I've downloaded it from... http://mvnrepository.com/artifact/mysql/mysql-connector-java I'll keep enjoying XWiki! Thanks for your help, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: Vincent Massol [vmas...@gmail.com] en nombre de vinc...@massol.net [ vinc...@massol.net] Enviado: jueves, 02 de abril de 2015 10:56 Para: XWiki Users CC: Rodriguez Fernandez, Ricardo Julio Asunto: Re: [xwiki-users] database related issue while upgrading to the brand new 7.0 release FTR I’ve just tested an upgrade from XWiki 5.4 to 7.0 on Oracle 11.2.0.2.0 with ojdbc6.jar and it worked fine! :) This seems to mean that DBCP 2.1 only requires JDBC 4.0 (and not 4.1) since ojdbc6 doesn’t support JDBC 4.1 according to: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#01_03 Thanks -Vincent On 2 Apr 2015 at 10:22:05, vinc...@massol.net (vinc...@massol.net (mailto:vinc...@massol.net)) wrote: Hi Ricardo, We realized, after the release of XWiki 7.0 that due to our upgrade of DBCP to version 2.1 we’ve introduced a new requirement: JDBC 4 (I’m not sure if we require JDBC 4.0 or 4.1 actually, still trying to find out). See http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0 ( http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0 ) ( http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0 ) That said it seems that MySQL JDBC drivers 5.0.x are supposed to
Re: [xwiki-users] XWiki Users Displaying
Hi Vlad! I'm sure Brahms, Chopin, Schubert and many more colleagues would have enjoyed XWiki a lot! But I'm afraid it is a bit late for them all... but not for all of us! If I'm correct, what you are looking for it is simply the User Directory of any XWiki installation. Here you have the link to Wiki User Directory by itself... http://www.xwiki.org/xwiki/bin/view/Main/UserDirectory This page show, by default, information you load at user creating time (for creating users, go to HomeAdministe wiki, once you have logging in as admin or an user with admin rights). XWiki data model is easily extensible and you allways can create new properties in existing classes or brand new classes to hold any kind of people/user related information. Here you have a nice page on how create new users... http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/CreatingNewUsers About how advertise that pages in your wiki: by default, you'll find an User Indez link in the left column of any new XWiki installation. Just create some new users and play around a bit with them. You easily understand the basis of the system. But of course it could be included in the Dashboard or any other page that has been installed by the upgrade/installation process. This is a nice place to start to understand how XWiki pages are built... http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/EditingAPage Hope this helps! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Vlad Andreev [v...@cleveroad.com] Enviado: sábado, 04 de abril de 2015 1:01 Para: users@xwiki.org Asunto: Re: [xwiki-users] XWiki Users Displaying Something like this: https://i.vimeocdn.com/video/11065681_640.jpg Will be awesome! Please help! 2015-04-04 1:09 GMT+03:00 Vlad Andreev v...@cleveroad.com: Hello! I'm trying to use XWIki for purposes for company documentation and data. My first step is to setup XWiki for HR Department, and for now I have problems with that. Can you please help me? 1. How can I make some kind of Address Book? We need a place, where we can put in all contacts of our current team, their photo, emails, tel. numbers, skype, etc. 2. Is it possible to place this kind of information on dashboard? 3. Is there any way to place an announcement, so all xwiki users will see it? -- *Faithfully yours,Andreev Vladislav* *Head Project Manager* *Cleveroad Inc.* -- *Faithfully yours,Andreev Vladislav* *Head Project Manager* *Cleveroad Inc.* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] database related issue while upgrading to the brand new 7.0 release
De: Vincent Massol [vmas...@gmail.com] en nombre de vinc...@massol.net [vinc...@massol.net] Enviado: jueves, 02 de abril de 2015 13:09 Para: XWiki Users CC: Rodriguez Fernandez, Ricardo Julio Asunto: Re: [xwiki-users] database related issue while upgrading to the brand new 7.0 release On 2 Apr 2015 at 12:57:48, ricardo.julio.rodriguez.fernan...@sergas.es (ricardo.julio.rodriguez.fernan...@sergas.es(mailto:ricardo.julio.rodriguez.fernan...@sergas.es)) wrote: The 5.1.28 release of MySQL connector did the trick! hmm so you’re saying that versions 5.0.8 and 5.1.35 don’t work but version 5.1.28 works? Yes, this is at least what is happening here. The upgrade process seems to have been correctly completed. Here the log records I can see in when I shutdown and restart Tomcat with 5.1.28 on place... http://atriumkm.idisantiago.es/bin/download/ICT/XWikiUpgradeIssues/tomcatErrorLog.UpgradingTo70.connector.5.1.28.txt memory leak is a word combination that affrighting me! Please, let me know if and how I could be of any futher help! Cheers, Ricardo That’s strange. Would be great if someone could try and confirm this so that we can put it on the XWiki MySQL document page... Thanks -Vincent I've downloaded it from... http://mvnrepository.com/artifact/mysql/mysql-connector-java I'll keep enjoying XWiki! Thanks for your help, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: Vincent Massol [vmas...@gmail.com] en nombre de vinc...@massol.net [vinc...@massol.net] Enviado: jueves, 02 de abril de 2015 10:56 Para: XWiki Users CC: Rodriguez Fernandez, Ricardo Julio Asunto: Re: [xwiki-users] database related issue while upgrading to the brand new 7.0 release FTR I’ve just tested an upgrade from XWiki 5.4 to 7.0 on Oracle 11.2.0.2.0 with ojdbc6.jar and it worked fine! :) This seems to mean that DBCP 2.1 only requires JDBC 4.0 (and not 4.1) since ojdbc6 doesn’t support JDBC 4.1 according to: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#01_03 Thanks -Vincent On 2 Apr 2015 at 10:22:05, vinc...@massol.net (vinc...@massol.net(mailto:vinc...@massol.net)) wrote: Hi Ricardo, We realized, after the release of XWiki 7.0 that due to our upgrade of DBCP to version 2.1 we’ve introduced a new requirement: JDBC 4 (I’m not sure if we require JDBC 4.0 or 4.1 actually, still trying to find out). See http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0 (http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0) (http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0) That said it seems that MySQL JDBC drivers 5.0.x are supposed to be JDBC4 compliant and version 5.1.x certainly are too. Thomas has just tested XWiki 7.0 on MySQL with version 5.1.28 and it was working fine for him. The error you get is strange. ATM I don’t understand it. We’re going to do more tests on various DBs to see whether we need to rollback the DBCP upgrade or not. Stay tuned. Sorry about the problem Thanks -Vincent On 2 Apr 2015 at 09:39:45, ricardo.julio.rodriguez.fernan...@sergas.es (ricardo.julio.rodriguez.fernan...@sergas.es(mailto:ricardo.julio.rodriguez.fernan...@sergas.es)) wrote: Hi all! We have successfuly updated our XWiki 6.x installation along the whole 6 cycle, but I'm in troubles with the new 7.0 release. I think that with only the first four lines of the error stack XWiki initialization failed ! Exception thrown during job execution class java.lang.AbstractMethodError: null at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914) at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914) ... Here you could find all catalina.out logged me after a Tomcat shutdown/start cycle and a call to XWiki in that server... http://atriumkm.idisantiago.es/bin/download/ICT/XWikiUpgradeIssues/tomcatErrorLog.UpgradingTo70.txt XWiki is running in a CentOS box... [root@idis1 /]# cat /etc/centos-release CentOS release 6.5 (Final) With the following XWiki relevant pieces... [root@idis1 /]# java -version *java version 1.8.0_11 Java(TM) SE Runtime Environment (build 1.8.0_11-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode) ... concerning JDBC Since 1.7 -- new in the JDBC 4.1 API and part of the Java SE platform, version 7 *INFO: Starting Servlet Engine: Apache Tomcat/7.0.55 To the best of my knowledge, compatible with the new Servlet Spec as per...
Re: [xwiki-users] database related issue while upgrading to the brand new 7.0 release
The 5.1.28 release of MySQL connector did the trick! I've downloaded it from... http://mvnrepository.com/artifact/mysql/mysql-connector-java I'll keep enjoying XWiki! Thanks for your help, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: Vincent Massol [vmas...@gmail.com] en nombre de vinc...@massol.net [vinc...@massol.net] Enviado: jueves, 02 de abril de 2015 10:56 Para: XWiki Users CC: Rodriguez Fernandez, Ricardo Julio Asunto: Re: [xwiki-users] database related issue while upgrading to the brand new 7.0 release FTR I’ve just tested an upgrade from XWiki 5.4 to 7.0 on Oracle 11.2.0.2.0 with ojdbc6.jar and it worked fine! :) This seems to mean that DBCP 2.1 only requires JDBC 4.0 (and not 4.1) since ojdbc6 doesn’t support JDBC 4.1 according to: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#01_03 Thanks -Vincent On 2 Apr 2015 at 10:22:05, vinc...@massol.net (vinc...@massol.net(mailto:vinc...@massol.net)) wrote: Hi Ricardo, We realized, after the release of XWiki 7.0 that due to our upgrade of DBCP to version 2.1 we’ve introduced a new requirement: JDBC 4 (I’m not sure if we require JDBC 4.0 or 4.1 actually, still trying to find out). See http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0 (http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0) (http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0) That said it seems that MySQL JDBC drivers 5.0.x are supposed to be JDBC4 compliant and version 5.1.x certainly are too. Thomas has just tested XWiki 7.0 on MySQL with version 5.1.28 and it was working fine for him. The error you get is strange. ATM I don’t understand it. We’re going to do more tests on various DBs to see whether we need to rollback the DBCP upgrade or not. Stay tuned. Sorry about the problem Thanks -Vincent On 2 Apr 2015 at 09:39:45, ricardo.julio.rodriguez.fernan...@sergas.es (ricardo.julio.rodriguez.fernan...@sergas.es(mailto:ricardo.julio.rodriguez.fernan...@sergas.es)) wrote: Hi all! We have successfuly updated our XWiki 6.x installation along the whole 6 cycle, but I'm in troubles with the new 7.0 release. I think that with only the first four lines of the error stack XWiki initialization failed ! Exception thrown during job execution class java.lang.AbstractMethodError: null at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914) at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914) ... Here you could find all catalina.out logged me after a Tomcat shutdown/start cycle and a call to XWiki in that server... http://atriumkm.idisantiago.es/bin/download/ICT/XWikiUpgradeIssues/tomcatErrorLog.UpgradingTo70.txt XWiki is running in a CentOS box... [root@idis1 /]# cat /etc/centos-release CentOS release 6.5 (Final) With the following XWiki relevant pieces... [root@idis1 /]# java -version *java version 1.8.0_11 Java(TM) SE Runtime Environment (build 1.8.0_11-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode) ... concerning JDBC Since 1.7 -- new in the JDBC 4.1 API and part of the Java SE platform, version 7 *INFO: Starting Servlet Engine: Apache Tomcat/7.0.55 To the best of my knowledge, compatible with the new Servlet Spec as per... http://tomcat.apache.org/whichversion.html ... from XWiki 7.0 Release Notes mysql status -- *mysql Ver 14.14 Distrib 5.5.38, for Linux (x86_64) using readline 5.1 *mysql-connector-java-5.0.8-bin.jar (2007-10-09) Well, this piece is a good candidate for being identified as the poblem, but updating it to the last available release... mysql-connector-java-5.1.35-bin.jar (2015-03-23) ...doesn't solve the issue. As they are a lot of versions between mysql-connector-java-5.0.8-bin.jar (working for us nicely so far) and the newest mysql-connector-java-5.1.35-bin.jar (failing for us, at least with this combination of Java, Tomcat and MySQL), please, could you tell us if we are in the right direction? Should we update any other component but mysql-connector-java-x.y.z-bin.jar to get XWiki 7.0 working? Should we start trying one by one mysql-connector-java-x.y.z-bin.jar newer releases? Do you know which release introduces JDBC 4.1 support? Thanks you so much for your help! Ricardo Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A
Re: [xwiki-users] some issues upgrading to 6.4
I'd not found this problem until I restart the process as suggested by Clemens in its message posted at 13:02. I did something wrong in my previous attempt. Not, it seems all is working fine! Thanks for your help and sorry for the noise! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Thomas Mortagne [thomas.morta...@xwiki.com] Enviado: miércoles, 28 de enero de 2015 12:34 Para: XWiki Users Asunto: Re: [xwiki-users] some issues upgrading to 6.4 Did you removed solr index as suggested in the release note at http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki64 ? In this release, we're now providing an easy way to install SOLR as an external server. When doing this change, we moved a plugin inside the SOLR index directory. Thus, if you're using XWiki with SOLR in embedded mode (the default), when you upgrade, this plugin will not be present in your SOLR directory and XWiki will fail to start. To work around this problem, you'll need to remove the permanent directory/solr/ directory (which will trigger a new reindexing when you next start XWiki). This will be fixed in XWiki 6.4.1. On Wed, Jan 28, 2015 at 12:11 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Good morning! I've just updated a 6.3 installation to 6.4 and it seems to me that something went wrong... I think I followed the same steps I successfully did in previous upgrades of the 6.x series, but this time it doesn't work. The process is outlined in the first comment of this page... http://atriumkm.idisantiago.es/bin/ICT/XWikiUpgrade This time, the last line was not true... The upgrade of the interface will be launched once an administrator log in. Nothing happened once I've restarted the server. Thus, I've tried to import the 6.4 xar file. After a number of bad gateway errors, I managed to import all new files selecting only some pages in a series of import actions. Then, change default Admin password, remove login right to Guest and config again All and Admin groups. Almost all seems OK now, but there are at least a couple of issues here... 1) The installation keeps telling that it is a 6.3 release. This means that $xwiki.getVersion() is not aware of the update, or that the update has not succeed! You can check it here... http://portal.idisantiago.es http://portal.idisantiago.es/xwiki/bin/view/ICT/GetVersion 2) All top level links at http://portal.idisantiago.es/xwiki/bin/admin/XWiki/XWikiPreferences (Configuration, Email, Look Feel, ), led to this error... http://portal.idisantiago.es/xwiki/bin/download/ICT/Error/UpgradeTo6.4.Release.png Please, could you help me with this issues? Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] some issues upgrading to 6.4
Thanks Clemens! Followed your advice, I've restarted the process once I've checked that version.properties was not upgrade. I did something wrong in my previous attempt but I'm not able to figure out at which point I failed. Sorry for the noise and thanks for your help! Saúde! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Clemens Klein-Robbenhaar [c.robbenh...@espresto.com] Enviado: miércoles, 28 de enero de 2015 13:02 Para: users@xwiki.org Asunto: Re: [xwiki-users] some issues upgrading to 6.4 On 01/28/2015 12:11 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Good morning! I've just updated a 6.3 installation to 6.4 and it seems to me that something went wrong... I think I followed the same steps I successfully did in previous upgrades of the 6.x series, but this time it doesn't work. The process is outlined in the first comment of this page... http://atriumkm.idisantiago.es/bin/ICT/XWikiUpgrade This time, the last line was not true... The upgrade of the interface will be launched once an administrator log in. Nothing happened once I've restarted the server. Thus, I've tried to import the 6.4 xar file. After a number of bad gateway errors, I managed to import all new files selecting only some pages in a series of import actions. Then, change default Admin password, remove login right to Guest and config again All and Admin groups. Almost all seems OK now, but there are at least a couple of issues here... 1) The installation keeps telling that it is a 6.3 release. This means that $xwiki.getVersion() is not aware of the update, or that the update has not succeed! You can check it here... Unless I am mistaken, this version is stored in the property file: webapps/xwiki/WEB-INF/version.properties If you still see a 6.3 there it is not unlikely that something with the upgrade part on the file system did not succeed. If your XWiki installation still thinks it is 6.3, then the DW to update to 6.4 will not appear. (Actually the DW uses the version number found in the webapps/xwiki/META-INF/maven/org.xwiki.enterprise/xwiki-enterprise-web/pom.xml These should better not differ anyway. ) In WEB-INF/lib/ all the xwiki-platform-*.jar should have a 6.4 in the filename, too. If they do not, something went wrong. Maybe check first if you really have the 6.4-vesion of the *.war file installed, and retry this step of the install if this is not the case. http://portal.idisantiago.es http://portal.idisantiago.es/xwiki/bin/view/ICT/GetVersion 2) All top level links at http://portal.idisantiago.es/xwiki/bin/admin/XWiki/XWikiPreferences (Configuration, Email, Look Feel, ), led to this error... http://portal.idisantiago.es/xwiki/bin/download/ICT/Error/UpgradeTo6.4.Release.png Please, could you help me with this issues? Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing
[xwiki-users] some issues upgrading to 6.4
Good morning! I've just updated a 6.3 installation to 6.4 and it seems to me that something went wrong... I think I followed the same steps I successfully did in previous upgrades of the 6.x series, but this time it doesn't work. The process is outlined in the first comment of this page... http://atriumkm.idisantiago.es/bin/ICT/XWikiUpgrade This time, the last line was not true... The upgrade of the interface will be launched once an administrator log in. Nothing happened once I've restarted the server. Thus, I've tried to import the 6.4 xar file. After a number of bad gateway errors, I managed to import all new files selecting only some pages in a series of import actions. Then, change default Admin password, remove login right to Guest and config again All and Admin groups. Almost all seems OK now, but there are at least a couple of issues here... 1) The installation keeps telling that it is a 6.3 release. This means that $xwiki.getVersion() is not aware of the update, or that the update has not succeed! You can check it here... http://portal.idisantiago.es http://portal.idisantiago.es/xwiki/bin/view/ICT/GetVersion 2) All top level links at http://portal.idisantiago.es/xwiki/bin/admin/XWiki/XWikiPreferences (Configuration, Email, Look Feel, ), led to this error... http://portal.idisantiago.es/xwiki/bin/download/ICT/Error/UpgradeTo6.4.Release.png Please, could you help me with this issues? Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] localization string missing - xe.blog.code.title
Hi! Please, allow me to top post: it will be easier to summarise. Clemens's answer did the trick. Here you'll see how my Blog.BlogSheet looked before editing its title as Clemens suggested... http://goo.gl/k4T6ub Now, after an upgrade to 6.4 and after editing the title it looks good... http://idis1.idisantiago.es:8080/xwiki/bin/view/Blog/ I also come from a 5.x release. And I also remain clueless about the origin of the issue: all upgrades have been done by overwriting all pages with the new staff. Hope this helps to learn what could had been wrong! Thanks and cheers! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Clemens Klein-Robbenhaar [c.robbenh...@espresto.com] Enviado: martes, 11 de noviembre de 2014 15:39 Para: users@xwiki.org Asunto: Re: [xwiki-users] localization string missing - xe.blog.code.title On 11/11/2014 02:54 PM, Marius Dumitru Florea wrote: I don't have this problem. FYI, the Blog title comes from Blog.BlogSheet which uses this code #evaluate($!doc.getValue('title')) and the value of the title property (Blog.BlogClass) from Blog.WebHome is $services.localization.render('xe.blog.code.title') I guess #evaluate() fails in your case. But it's not related to missing translation. You would get 'xe.blog.code.title' displayed if the translation was really missing. I can reproduce it with a wiki upgraded from 5.4.x (forgot which x) to 6.2 The problem is that the #evaluate(...) is missing in the title To fix this manually, edit this page: http://idis1.idisantiago.es:8080/xwiki/bin/view/Blog/BlogSheet In the title input field it might just read: $doc.getValue(title) replace this with: #evaluate($doc.getValue(title)) and the issue should go away. I have to admit that I am a bit clueless why this might happen; but in my case I suspect I messed around with import/export too much and overwrote the BlogSheet with the wrong version ... Hope this helps, too ;) Clemens Hope this helps, Marius On Tue, Nov 11, 2014 at 3:32 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi everybody!!! Please, allow me some small talk... I'm really happy to be here again once I've managed to get and start enjoying a brand new 6.2.4. XWiki installation! Only a detail: after following the evolution of the 6.x branch and having installed the new 6.2.4 release, a string seems to keep lacking affecting the renderization of Blog.WebHome. Here it is what I see not only here, but in a number of installations around the net... http://atriumkm.idisantiago.es/bin/download/ICT/Images/blogLocalizationMissingVariable.png I guess you get the same result by accessing directly this site... http://idis1.idisantiago.es:8080/xwiki/bin/view/Blog/ Please, even though it is kind of a trivial problem not affecting, shouldn't it be fixed? Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users mit freundlichen Grüßen Clemens Klein-Robbenhaar -- Clemens Klein-Robbenhaar Software Development EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.763 Fax: +49.(0)30.90 226.760 robbenh...@espresto.com HRB 77554 B - Berlin-Charlottenburg Vorstand: Maya Biersack, Peter Biersack Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber Zertifiziert nach ISO 9001:2008 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a
[xwiki-users] localization string missing - xe.blog.code.title
Hi everybody!!! Please, allow me some small talk... I'm really happy to be here again once I've managed to get and start enjoying a brand new 6.2.4. XWiki installation! Only a detail: after following the evolution of the 6.x branch and having installed the new 6.2.4 release, a string seems to keep lacking affecting the renderization of Blog.WebHome. Here it is what I see not only here, but in a number of installations around the net... http://atriumkm.idisantiago.es/bin/download/ICT/Images/blogLocalizationMissingVariable.png I guess you get the same result by accessing directly this site... http://idis1.idisantiago.es:8080/xwiki/bin/view/Blog/ Please, even though it is kind of a trivial problem not affecting, shouldn't it be fixed? Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] anybody attending Horizon 2020/Digital Agenda for Europe ICT 2013 Conference, Vilnius, 6-8 November 2013?
It would be great to meet XWiki guys/gals there! Cheers! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc
Hi Vicent! Sorry for top-replying, but this email client is a PITA! Something else must be failing, this alternatives don't work neither: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,$string1).execute()) #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,'$string1').execute()) #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,$string1).execute()) I always get the same error... Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not locate named parameter [string1] Any idea will be welcome! Thanks! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 31 May 2013 08:15 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Hi Ricardo, On May 30, 2013, at 10:54 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi Vicent! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 28 May 2013 08:45 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Hi Ricardo, On May 28, 2013, at 7:35 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi Vincent, all! Please, do you think this is of any value and clear enough as to going to XWiki Extensions Query Module page? http://www.idisantiago.es/bin/XWQL/QueryOnComments Yes it would be great to add this to extensions.xwiki.org :) Since it's not a single query I'm not sure the best place is the query module page. I'd say that it could be added as an entire snippet on extensions.xwiki.org. Important Note: Your code is written dangerously and is subject to XSS attacks. You need to modify it and use binding: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE '$string1') should be: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') Thanks for the note, Vicent! I've already tried that, but I was not able to solve this error: Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not locate named parameter [string1] I've modified the code at the link below to show you the whole error message... http://www.idisantiago.es/bin/XWQL/QueryOnComments It's easy, you've used string1 instead of $string1 in bindValue()… :) Thanks -Vincent I read your reference to bind variables in http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module, but I'm not able to find my error! Please, where am I wrong? I'm still working with a XE 2.4.30451 installation. Thanks! And then: $services.query.xwql($xwqlquery).bindValue(string1, string1).execute() Thanks -Vincent Thanks! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 23 May 2013 08:09 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Getting closer :) Ricardo, when you resolve this, it would be great if you could add an example on http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module so that next time someone has the same question he/she can find some example of nested query there. Thanks -Vincent On May 23, 2013, at 1:36 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of BOUSQUET Jeremie [jeremie.bousq...@gemalto.com] Sent: 22 May 2013 22:38 To: XWiki Users Cc: Lista Garcia, Isabel Subject: [xwiki-users] Re : XWQL query on several objects of the same class instantiated in the same doc Hi, You miss the .execute() at the end :) Call me stupid! Thanks, Jeremie! Thanks Louis-Marie and Ebo! But I'm afraid I'm still not able to run the script without errors. It seems to me that the XWQL query... SELECT
Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc
Thanks Vincent! The evil were in the XWQL sentence: it read ':string1' instead of :string1. Could it be useful to add an XWQL sentence example to the Query Module page or a link to a page explaining the syntax to avoid this kind of errors? http://www.idisantiago.es/bin/XWQL/QueryOnComments I'll copy it to the snippet's repository ASAP! Cheers! Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 31 May 2013 09:26 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Try this: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE :string1) #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,test).execute()) Thanks -Vincent On May 31, 2013, at 9:14 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi Vicent! Sorry for top-replying, but this email client is a PITA! Something else must be failing, this alternatives don't work neither: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,$string1).execute()) #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,'$string1').execute()) #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,$string1).execute()) I always get the same error... Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not locate named parameter [string1] Any idea will be welcome! Thanks! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 31 May 2013 08:15 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Hi Ricardo, On May 30, 2013, at 10:54 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi Vicent! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 28 May 2013 08:45 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Hi Ricardo, On May 28, 2013, at 7:35 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi Vincent, all! Please, do you think this is of any value and clear enough as to going to XWiki Extensions Query Module page? http://www.idisantiago.es/bin/XWQL/QueryOnComments Yes it would be great to add this to extensions.xwiki.org :) Since it's not a single query I'm not sure the best place is the query module page. I'd say that it could be added as an entire snippet on extensions.xwiki.org. Important Note: Your code is written dangerously and is subject to XSS attacks. You need to modify it and use binding: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE '$string1') should be: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') Thanks for the note, Vicent! I've already tried that, but I was not able to solve this error: Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not locate named parameter [string1] I've modified the code at the link below to show you the whole error message... http://www.idisantiago.es/bin/XWQL/QueryOnComments It's easy, you've used string1 instead of $string1 in bindValue()… :) Thanks -Vincent I read your reference to bind variables in http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module, but I'm not able to find my error! Please, where am I wrong? I'm still working with a XE 2.4.30451 installation. Thanks! And then: $services.query.xwql($xwqlquery).bindValue(string1, string1).execute() Thanks -Vincent Thanks! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 23 May 2013 08:09 To: XWiki Users
Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc
Thanks! Here you have our very small contribution... http://extensions.xwiki.org/xwiki/bin/view/Extension/XWQL+Query+on+comments Thanks for your work and your help! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 31 May 2013 16:20 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc On May 31, 2013, at 10:50 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Thanks Vincent! The evil were in the XWQL sentence: it read ':string1' instead of :string1. Could it be useful to add an XWQL sentence example to the Query Module page or a link to a page explaining the syntax to avoid this kind of errors? Done, see http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module Thanks -Vincent http://www.idisantiago.es/bin/XWQL/QueryOnComments I'll copy it to the snippet's repository ASAP! Cheers! Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 31 May 2013 09:26 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Try this: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE :string1) #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,test).execute()) Thanks -Vincent On May 31, 2013, at 9:14 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi Vicent! Sorry for top-replying, but this email client is a PITA! Something else must be failing, this alternatives don't work neither: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,$string1).execute()) #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,'$string1').execute()) #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') #set ($results = $services.query.xwql($xwqlquery).bindValue(string1,$string1).execute()) I always get the same error... Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not locate named parameter [string1] Any idea will be welcome! Thanks! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 31 May 2013 08:15 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Hi Ricardo, On May 30, 2013, at 10:54 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi Vicent! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 28 May 2013 08:45 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Hi Ricardo, On May 28, 2013, at 7:35 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi Vincent, all! Please, do you think this is of any value and clear enough as to going to XWiki Extensions Query Module page? http://www.idisantiago.es/bin/XWQL/QueryOnComments Yes it would be great to add this to extensions.xwiki.org :) Since it's not a single query I'm not sure the best place is the query module page. I'd say that it could be added as an entire snippet on extensions.xwiki.org. Important Note: Your code is written dangerously and is subject to XSS attacks. You need to modify it and use binding: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE '$string1') should be: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') Thanks for the note, Vicent! I've already tried that, but I was not able to solve this error: Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not locate named parameter [string1] I've modified the code at the link below to show you the whole error
Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc
Hi Vicent! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 28 May 2013 08:45 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Hi Ricardo, On May 28, 2013, at 7:35 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi Vincent, all! Please, do you think this is of any value and clear enough as to going to XWiki Extensions Query Module page? http://www.idisantiago.es/bin/XWQL/QueryOnComments Yes it would be great to add this to extensions.xwiki.org :) Since it's not a single query I'm not sure the best place is the query module page. I'd say that it could be added as an entire snippet on extensions.xwiki.org. Important Note: Your code is written dangerously and is subject to XSS attacks. You need to modify it and use binding: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE '$string1') should be: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') Thanks for the note, Vicent! I've already tried that, but I was not able to solve this error: Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not locate named parameter [string1] I've modified the code at the link below to show you the whole error message... http://www.idisantiago.es/bin/XWQL/QueryOnComments I read your reference to bind variables in http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module, but I'm not able to find my error! Please, where am I wrong? I'm still working with a XE 2.4.30451 installation. Thanks! And then: $services.query.xwql($xwqlquery).bindValue(string1, string1).execute() Thanks -Vincent Thanks! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 23 May 2013 08:09 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Getting closer :) Ricardo, when you resolve this, it would be great if you could add an example on http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module so that next time someone has the same question he/she can find some example of nested query there. Thanks -Vincent On May 23, 2013, at 1:36 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of BOUSQUET Jeremie [jeremie.bousq...@gemalto.com] Sent: 22 May 2013 22:38 To: XWiki Users Cc: Lista Garcia, Isabel Subject: [xwiki-users] Re : XWQL query on several objects of the same class instantiated in the same doc Hi, You miss the .execute() at the end :) Call me stupid! Thanks, Jeremie! Thanks Louis-Marie and Ebo! But I'm afraid I'm still not able to run the script without errors. It seems to me that the XWQL query... SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE comm2.comment LIKE '%Withdrawal:2011%' doesn't generate a suitable list to enter in a NOT In construct. It generates this... [XWiki.MariaCerezo, XWiki.RodrigoCabanasGancedo, XWiki.JeronimoFortezaVila, ...] 'XWiki.MariaCerezo', 'XWiki.RodrigoCabanasGancedo', 'XWiki.JeronimoFortezaVila', ... At the bottom of the page... http://www.idisantiago.es/bin/XWQL/SnapshotE0012012 ... you'll find the error and the script split into several code chunks working perfectly. Please, am I right with the source of the problem? How could I change to the 'item','item2',ìtem3'... How could I change the way XWQL gives layout to the list? Thank you very much!! Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc
Hi Paul! Thanks for your comment. Performance is already an issue in our not so big wiki! Thus, we have to keep an eye on any alternative than can offer us a better response even with simple queries. But, even although we are still working with an old XE release, it is still possible to use it to better understand the XWiki Data Model and be ready to leverage its power when we can upgrade to a newer installation. Greetings! Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Paul Libbrecht [p...@hoplahup.net] Sent: 28 May 2013 08:48 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Wow, such a query is likely to be slow on a big wiki... I'd sift a word on that (as it uses the like operator of the DB). Using the lucene or solr search modules is likely to give a considerable amount of performance gain. paul On 28 mai 2013, at 08:45, Vincent Massol wrote: Hi Ricardo, On May 28, 2013, at 7:35 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi Vincent, all! Please, do you think this is of any value and clear enough as to going to XWiki Extensions Query Module page? http://www.idisantiago.es/bin/XWQL/QueryOnComments Yes it would be great to add this to extensions.xwiki.org :) Since it's not a single query I'm not sure the best place is the query module page. I'd say that it could be added as an entire snippet on extensions.xwiki.org. Important Note: Your code is written dangerously and is subject to XSS attacks. You need to modify it and use binding: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE '$string1') should be: #set ($xwqlquery = SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE doc2.translation = 0 and comm2.comment LIKE ':string1') And then: $services.query.xwql($xwqlquery).bindValue(string1, string1).execute() Thanks -Vincent Thanks! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent Massol [vinc...@massol.net] Sent: 23 May 2013 08:09 To: XWiki Users Cc: Lista Garcia, Isabel Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Getting closer :) Ricardo, when you resolve this, it would be great if you could add an example on http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module so that next time someone has the same question he/she can find some example of nested query there. Thanks -Vincent On May 23, 2013, at 1:36 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of BOUSQUET Jeremie [jeremie.bousq...@gemalto.com] Sent: 22 May 2013 22:38 To: XWiki Users Cc: Lista Garcia, Isabel Subject: [xwiki-users] Re : XWQL query on several objects of the same class instantiated in the same doc Hi, You miss the .execute() at the end :) Call me stupid! Thanks, Jeremie! Thanks Louis-Marie and Ebo! But I'm afraid I'm still not able to run the script without errors. It seems to me that the XWQL query... SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE comm2.comment LIKE '%Withdrawal:2011%' doesn't generate a suitable list to enter in a NOT In construct. It generates this... [XWiki.MariaCerezo, XWiki.RodrigoCabanasGancedo, XWiki.JeronimoFortezaVila, ...] And it seems that NOT IN needs something like this... 'XWiki.MariaCerezo', 'XWiki.RodrigoCabanasGancedo', 'XWiki.JeronimoFortezaVila', ... At the bottom of the page... http://www.idisantiago.es/bin/XWQL/SnapshotE0012012 ... you'll find the error and the script split into several code chunks working perfectly. Please, am I right with the source of the problem? How could I change to the 'item','item2',ìtem3'... How could I change the way XWQL gives layout to the list? Thank you very much!! Br, Jeremie Envoyé depuis mon HTC - Reply message - De : ricardo.julio.rodriguez.fernan...@sergas.es ricardo.julio.rodriguez.fernan...@sergas.es Pour : users@xwiki.org users@xwiki.org Cc : isabel.lista.gar...@sergas.es isabel.lista.gar...@sergas.es Objet : [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Date : mer., mai 22, 2013 21:24 Louis-Marie, Edo, thanks again! Louis-Marie, you perfectly understand what I'm trying to get: to use comments on documents as criteria for selection. I understand comments are not intended to satisfy this objetive, but, at least for me, they are extremely useful to draft data models to be implemented in new XWiki classes. Just a kind of
Re: [xwiki-users] Attachments Macro not showing
Are your attachments stored in the database or in the file system of the server? Database Attachment Store is the default, but perhaps anybody has change this setting! It is the only setting I can figure out could cause, in any way, this behaviour... HTH! Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Hamster [teun...@hotmail.com] Sent: 24 May 2013 13:01 To: users@xwiki.org Subject: Re: [xwiki-users] Attachments Macro not showing Ok, this is getting stranger by the minute... I can only see the attachments in the Attachments Macro when I am sitting behind my own computer. If I log onto XWiki on a different computer, I also can't see any attachments in the Attachments Macro. WTF is going on? :-) -- View this message in context: http://xwiki.475771.n2.nabble.com/Attachments-Macro-not-showing-tp7585339p7585370.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 Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Subwikis on a New Schema
So, finally hove you got a new XWiki 4.1.4 installation up and running (correctly) with the database backed up in your dump file? I'm trying to understand your situation. Greetings, Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mgiamtandil [mgiamberard...@gmail.com] Sent: 24 May 2013 01:56 To: users@xwiki.org Subject: Re: [xwiki-users] Subwikis on a New Schema Thank you again! I was just using that tutorial and i get this error, i was just looking at information about it but if you know how can i solve it it will be great. Regards. Trace: Estado HTTP 500 - com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context -- *type* Informe de Excepción *mensaje* *com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context* *descripción* *El servidor encontró un error interno que hizo que no pudiera rellenar este requerimiento.* *excepción* javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.TagClass] Wrapped Exception: Error number 3301 in 3: Exception while switching to database xwiki Wrapped Exception: Migration of database [xwiki] has failed, it could not be safely used! Database is currently in version [40001] while the required version is [5]. org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:723) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) *causa raíz* com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.TagClass] Wrapped Exception: Error number 3301 in 3: Exception while switching to database xwiki Wrapped Exception: Migration of database [xwiki] has failed, it could not be safely used! Database is currently in version [40001] while the required version is [5]. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:419) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:143) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:123) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:723) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) *causa raíz* com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.TagClass] Wrapped Exception: Error number 3301 in 3: Exception while switching to database xwiki Wrapped Exception: Migration of database [xwiki] has failed, it could not be safely used! Database is currently in version [40001] while the required version is [5]. com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) com.xpn.xwiki.XWiki.getDocument(XWiki.java:1488) com.xpn.xwiki.XWiki.getDocument(XWiki.java:1531) com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:869)
Re: [xwiki-users] About Use of Livetable Macro
Why not? :-) The only problem is to generate the right source of data. http://extensions.xwiki.org/xwiki/bin/view/Extension/List+Children+Of+Current+Document http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HDocumentIndex Greetings! Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Belkhiria Hamza Yazid [yoshipepper...@gmail.com] Sent: 19 May 2013 11:50 To: XWiki Users Subject: [xwiki-users] About Use of Livetable Macro Hi I wanted to ask if Live table Macro could be used to display only Child Pages of a page or related pages with backlinks Best Regards -- *BHY* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Searching only on current wiki
Hi! I think the answer is yes! Have you checked this? http://extensions.xwiki.org/xwiki/bin/view/Extension/Lucene+Search+Application#HSearchAdministration Cheers! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Denis Gotthans [gotth...@espresto.com] Sent: 24 May 2013 14:35 To: XWiki Users Subject: [xwiki-users] Searching only on current wiki Hallo, is it possible to configure the lucene search for searching only in the current wiki in a virtual wiki mode environment? Thanks Denis Gotthans -- Denis Gotthans Software Development EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.750 Fax: +49.(0)30.90 226.760 d.gotth...@espresto.com HRB 77554 B - Berlin-Charlottenburg Vorstand: Maya Biersack, Peter Biersack Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber Zertifiziert nach ISO 9001:2008 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Subwikis on a New Schema
Hi! Please, have you checked this? http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade I think it would be useful for you and for other that you follow and criticize this and linked documents. Any comment, doubt of proposal for modification I'm sure it will be really welcome by XWiki community! Greetings, Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Mauro Javier Giamberardino Fernandez [mgiamberard...@gmail.com] Sent: 24 May 2013 00:22 To: XWiki Users Subject: Re: [xwiki-users] Subwikis on a New Schema Thank you Ricardo for your help. I'm realizing now that the old XWiki was an XWiki 5 version but it was migrated from a 4.1.4 version in a wrong way. The people who was on charge of the server installed a 5.0 version and then restored the dump of 4.1.2 version on it. Then, by result, we have a broken XWiki. I need now to install the 4.1.4 version and then migrate to a 5.0 version in a wright way. I think it is by replacing the old .war file with the new one (5.0 version). If there is another thing i must know, please tell me. Thanks a lot! 2013/5/23 ricardo.julio.rodriguez.fernan...@sergas.es Hi Mauro! Great to read a post from a new user coming from a Spanish speaking country! The situation you describe is the regular one: by using XWiki Enterprise Manager you can have many wikis (better than sub-wikis) at the same time and a common management infrastructure. Each wiki will have its own database schema although only one of them will be considered as the controller. Databas dump/restoring processes must work (at least they worked for me a number of times in the past), but if what you are trying to do is to move contents from a running XWiki installation to a wiki in a new XWiki farm, there are export/import utilities that should do better and surer for that process! For instance, this could be useful for you... http://extensions.xwiki.org/xwiki/bin/view/Extension/Import+Export+Application HTH! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mgiamtandil [mgiamberard...@gmail.com] Sent: 23 May 2013 16:53 To: users@xwiki.org Subject: [xwiki-users] Subwikis on a New Schema Hello! My name is Mauro Javier Giamberardino and this is my first post in this forum. I'm studying Software Engineering at a University on Argentina. My english is not the best. I have installed XWiki and WikiManager to install multiple subwikis on a server at the University, and i need that each subwiki to have his own schema. Why? Because i have a dump from a XWiki that i want to restore on a new subwiki. Thanks for read. Regards -- View this message in context: http://xwiki.475771.n2.nabble.com/Subwikis-on-a-New-Schema-tp7585338.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 Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- *Mauro J Giamberardino* * * * * * * * * * * * * ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org
Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc
Hi! Thanks you both for answering! I'm afraid that your proposals didn't solve the problem. Please, see here... http://www.idisantiago.es/bin/XWQL/SnapshotE0012012 Both users have three comments each. This way: XWD_ID:416379378 Gender: Withdrawal:20121017 Formely:XWiki.XWikiIDISE001 XWD_ID:946660794 Gender: Withdrawal:20111231 Formely:XWiki.XWikiIDISE001 Thus, I'm still not able to design a query to retrive ONLY user XWD_ID:416379378 based on comments :-( Your proposals answer with a list including both users n times. I'm not able neither of explain n in both cases... any idea will be welcome! Thank you very much for your help, Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Guillaume Louis-Marie Delhumeau [gdelhum...@xwiki.com] Sent: 22 May 2013 13:02 To: XWiki Users Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Hi Ricardo and Edo, 2013/5/22 Edo Beutler ebeut...@synventis.com Hi Ricardo You are only checking in one object. So there has to be one object that contains the doc name, but not the withdrawal part which is fulfilled by the third object in your example. Whilst I don't recall ever having tried checking for multiple objects in XWQL, I would suspect this should work: #set ($xwlquery1 = from doc.object(XWiki.XWikiComments) as comm1, doc.object(XWiki.XWikiComments) as comm2 where doc.translation = 0 and comm1.comment like '%$doc.title%' and comm2.comment not like '%Withdrawal:2011%') You are right. But I think you should add comm1 comm2 in your query to make it work. Louis-Marie ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Re : XWQL query on several objects of the same class instantiated in the same doc
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of BOUSQUET Jeremie [jeremie.bousq...@gemalto.com] Sent: 22 May 2013 22:38 To: XWiki Users Cc: Lista Garcia, Isabel Subject: [xwiki-users] Re : XWQL query on several objects of the same class instantiated in the same doc Hi, You miss the .execute() at the end :) Call me stupid! Thanks, Jeremie! Thanks Louis-Marie and Ebo! But I'm afraid I'm still not able to run the script without errors. It seems to me that the XWQL query... SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE comm2.comment LIKE '%Withdrawal:2011%' doesn't generate a suitable list to enter in a NOT In construct. It generates this... [XWiki.MariaCerezo, XWiki.RodrigoCabanasGancedo, XWiki.JeronimoFortezaVila, ...] And it seems that NOT IN needs something like this... 'XWiki.MariaCerezo', 'XWiki.RodrigoCabanasGancedo', 'XWiki.JeronimoFortezaVila', ... At the bottom of the page... http://www.idisantiago.es/bin/XWQL/SnapshotE0012012 ... you'll find the error and the script split into several code chunks working perfectly. Please, am I right with the source of the problem? How could I change to the 'item','item2',ìtem3'... How could I change the way XWQL gives layout to the list? Thank you very much!! Br, Jeremie Envoyé depuis mon HTC - Reply message - De : ricardo.julio.rodriguez.fernan...@sergas.es ricardo.julio.rodriguez.fernan...@sergas.es Pour : users@xwiki.org users@xwiki.org Cc : isabel.lista.gar...@sergas.es isabel.lista.gar...@sergas.es Objet : [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Date : mer., mai 22, 2013 21:24 Louis-Marie, Edo, thanks again! Louis-Marie, you perfectly understand what I'm trying to get: to use comments on documents as criteria for selection. I understand comments are not intended to satisfy this objetive, but, at least for me, they are extremely useful to draft data models to be implemented in new XWiki classes. Just a kind of extreme development tool! :-) I think the only problem we are facing with this use is the kind of queries combining comments on the same document to retrive documents and properties of any class there instantiated. I'm truly learning a lot! I think I can understand the construction and it must answer the well-formed question Louis-Marie wrote down in his message, but I'm not able to understand the result. Here what I get... org.xwiki.query.internal.DefaultQuery@70687068 The integer after the @ changes it time I reload the page. I din't get neither a document fullName, nor an object. You can always check it in the same link posted before... http://www.idisantiago.es/bin/XWQL/SnapshotE0012012 In found DefaultQuery code here... http://maven.xwiki.org/site/clover/20120701/clover-platform-20120702/org/xwiki/query/internal/DefaultQuery.html Perhaps this construct doesn't work in my plain old XWIKI ENTERPRISE 2.4.30451 installation? Thanks for your help! Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Guillaume Louis-Marie Delhumeau [gdelhum...@xwiki.com] Sent: 22 May 2013 17:51 To: XWiki Users Subject: Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc Hi. I'm not sure I really understood what you need to do, but let me propose a solution anyway. I think what you need is to get the all the documents that contains comments with %doc.title% content and where there is NO comment with '%Withdrawal:2011% in the content. So, that's how I would solve the problem: #set ($xwlquery1 = FROM doc.object(XWiki. XWikiComments) AS commWHERE doc.translation = 0 AND and comm.comment LIKE :doctitle AND doc.fullName NOT IN (SELECT doc2.fullName FROM Document doc2, doc2.object(XWiki.XWikiComments) comm2 WHERE comm2.comment LIKE '%Withdrawal:2011%')) #set($results = $services.query.xwql($xwqlquery1).bindValue('doctitle', %${doc.title}%)) I didn't test it but it should work. Louis-Marie. 2013/5/22 ricardo.julio.rodriguez.fernan...@sergas.es Hi! Thanks you both for answering! I'm afraid that your proposals didn't solve the problem. Please, see here... http://www.idisantiago.es/bin/XWQL/SnapshotE0012012 Both users have three comments each. This way: XWD_ID:416379378 Gender: Withdrawal:20121017 Formely:XWiki.XWikiIDISE001 XWD_ID:946660794 Gender: Withdrawal:20111231 Formely:XWiki.XWikiIDISE001 Thus, I'm still not able to design a query to retrive ONLY user XWD_ID:416379378 based on comments :-( Your proposals answer with a list including both users n times. I'm not able neither of explain n in both cases... any idea will be welcome! Thank you very much for your help, Ricardo From:
[xwiki-users] XWQL query on several objects of the same class instantiated in the same doc
Hi!, I'm really impressed, again, with the performance and easiness of XWQL. Even though I'm using an old XWiki release, I'm able to follow almost all examples provided at... http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module But I'm not able to figure out how to solve one problem: I would like to retrieve documents (and read their properties) based on a combination of values of comments objects. That is: I only want to retrieve a document when a combination of values stored in comments happens. I've tried this... #set ($xwlquery1 = from doc.object(XWiki.XWikiComments) as comm where doc.translation = 0 and comm.comment like '%$doc.title%' and comm.comment not like '%Withdrawal:2011%') But this query retrieve also, for instance, this document holding three comments: Ricardo Rodríguez Fernández, 2012/06/15 07:49 Reply Edit Delete Gender:male Yolanda Liste Martínez, 2012/06/15 09:18 Reply Delete Withdrawal:20111231 Ricardo Rodríguez Fernández, 2013/05/21 13:24 Reply Edit Delete Formely:XWiki.XWikiIDISE001 I'm not able to find a way of not to retrieve this document while all others with comm.comment like '%$doc.title%'. Please, could anybody help me with this issue? Thank you so much for your help, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include Macro not showing documents as expected
Hi! __ From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Belkhiria Hamza Yazid [yoshipepper...@gmail.com] Sent: 19 May 2013 10:34 To: XWiki Users Subject: [xwiki-users] Include Macro not showing documents as expected Good morning I just discovered how useful can be Include Macro :) still it only works when the document Dashboard.Webhome is included, {{include document=Dashboard.WebHome context=new/}} Other documents do not show up when i try. Include Macro is extensively used throughout XWiki default pages themselves. If you have installed the default XAR, check/edit for instance any user's document and will find Include calling XWikiUserSheet this way... {{include document=XWiki.XWikiUserSheet/}} Thus, if you are enjoying XWiki, you are also enjoying Include macro! Are you receiving any error? For instance: please, just check if you have access rights in the document you are including. If you haven't access rights, you'll read... Failed to execute the [include] macro ... Caused by: org.xwiki.rendering.macro.MacroExecutionException: Current user doesn't have view rights on document ... HTH! I am not sure if this is due to the Macro itself or to problems within the structure like duplicated pages/ spaces or unclear view of parents child relations Thank you, Best Regards, -- *BHY* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include Macro not showing documents as expected
:-) From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Belkhiria Hamza Yazid [yoshipepper...@gmail.com] Sent: 19 May 2013 10:58 To: XWiki Users Subject: Re: [xwiki-users] Include Macro not showing documents as expected Problem solved :) the true paths to use should be the ones stated by the browser ! Well, I think it is better to state: you must use the couple space.document to include any document in your wiki by using Include Macro! Much better, check this... http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro Cheers! but now I am looking for a solution to just add the first Intro section of the page (whithout having to add a title to it if possible) Thank you, Best Regards On 19 May 2013 09:34, Belkhiria Hamza Yazid yoshipepper...@gmail.comwrote: Good morning I just discovered how useful can be Include Macro :) still it only works when the document Dashboard.Webhome is included, {{include document=Dashboard.WebHome context=new/}} Other documents do not show up when i try. I am not sure if this is due to the Macro itself or to problems within the structure like duplicated pages/ spaces or unclear view of parents child relations Thank you, Best Regards, -- *BHY* -- *BHY* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include Macro not showing documents as expected
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Belkhiria Hamza Yazid [yoshipepper...@gmail.com] Sent: 19 May 2013 11:17 To: XWiki Users Subject: Re: [xwiki-users] Include Macro not showing documents as expected it is also possible to include the first part thus making it a section and still without adding a Header Check section parameter here... http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro Check this to control headers and any other document item using CSS... http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Extension+Plugin To hide h1, here you have the simplest CSS entry for your XWiki.StyleSheetExtension object #document-title h1 { display:none; } Two other really interesting utilities: 1) If you are usign Chrome, don't forget Developer Tools available in the Tools menu 2) If you are using Firefox, Firebug is your friend! well technically by adding an empty header it works just tried it with adding this on top == == and choose then section option should be section= H just one more detail, i am not seeing difference between context new and current Well, if you don't use values of variables set in the current or included pages, you won't appreciate any difference between both options. HTH, Ricardo On 19 May 2013 10:07, ricardo.julio.rodriguez.fernan...@sergas.es wrote: :-) From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Belkhiria Hamza Yazid [yoshipepper...@gmail.com] Sent: 19 May 2013 10:58 To: XWiki Users Subject: Re: [xwiki-users] Include Macro not showing documents as expected Problem solved :) the true paths to use should be the ones stated by the browser ! Well, I think it is better to state: you must use the couple space.document to include any document in your wiki by using Include Macro! Much better, check this... http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro Cheers! but now I am looking for a solution to just add the first Intro section of the page (whithout having to add a title to it if possible) Thank you, Best Regards On 19 May 2013 09:34, Belkhiria Hamza Yazid yoshipepper...@gmail.com wrote: Good morning I just discovered how useful can be Include Macro :) still it only works when the document Dashboard.Webhome is included, {{include document=Dashboard.WebHome context=new/}} Other documents do not show up when i try. I am not sure if this is due to the Macro itself or to problems within the structure like duplicated pages/ spaces or unclear view of parents child relations Thank you, Best Regards, -- *BHY* -- *BHY* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- *BHY* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Use attachment of a page in another page
Please, chech attachments syntax here... http://extensions.xwiki.org/xwiki/bin/view/XWiki/XWikiSyntax#HImages You only need to have any image once. Cheers, -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Belkhiria Hamza Yazid [yoshipepper...@gmail.com] Sent: 19 May 2013 11:49 To: XWiki Users Subject: [xwiki-users] Use attachment of a page in another page Hi, I wanna ask if it is possible to ask a page to use an image attachment from another one to move attachments from one page to another Best Regards -- *BHY* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] redirecting 302 responses
Hi! I temporarily manage to solve this issue by using... http://www.tuckey.org/urlrewrite/ As a drawback: the servlet container must be restarted each time a redirection rule is edited. Perhaps this could be useful for somebody. Thank you so much for your help, Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Valdis Vītoliņš [valdis.vitol...@odo.lv] Sent: 27 April 2013 13:30 To: XWiki Users Subject: Re: [xwiki-users] redirecting 302 responses Ricardo, if your intention is to shorten Xwiki URLs permanently, look at http://odo.lv/Recipes/XwikiShortURLs_en BTW, I have question to Xwiki developers — why status 302 (found) is used? IMHO, to train crawlers for changes, 301 (moved permanently) seems more appropriate. Valdis Oops! Please, see below! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Rodriguez Fernandez, Ricardo Julio Sent: 27 April 2013 11:21 To: users@xwiki.org Subject: [xwiki-users] redirecting 302 responses Hi! I more or less understand how URLs to missing/wrong/moved XWiki pages work involving docdoesnotexist.vm, but I'm still not able to modify this behavior by reading/taking into account values of request/responses exchanges between client and server. For instance: I would like to redirect a number of short URLs like this... http://www.idisantiago.es/BIS2013 to a set of given XWiki pages. Currently I can, and I did, a redirection of all of them to a single page by modifying Main.DocumentDoesNotExist this way... {{velocity}} $response.sendRedirect($xwiki.getURL(BIS2013.Schedule)) {{/velocity}} But I'm not able to find the way of using request's name and status in Velocity #if(). Please, see attached file. I found a number of what I consider related information dealing with $response, $request, URL resolution, URL mappings and so on, so forth, but I 'm afraid this is too much for me to digest! Sorry! I forgot that attachments are filtered out of the list! Here it is the referenced image... http://www.idisantiago.es/bin/download/ICT/Request/BIS2013.302Response.png Thanks! Please, could anybody point me in the right direction? Am I completely lost? Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] no way to retrieve an attachment release over 1.15
Hi! Still running XWIKI ENTERPRISE 2.4.30451 on Tomcat 5. We have a XWiki doc holding a some 11 attachments. Most of them has 2-3 releases, but one, IDIS.publications.xlsx, has 35... IDIS.authors.xlsx 1.2 2013-01-23 11:34:53.0 IDIS.clinicalTrials.xlsx 1.2 2012-07-14 23:20:23.0 IDIS.contracts.xlsx 1.2 2012-07-14 23:20:23.0 IDIS.magazines.xlsx 1.2 2012-07-14 23:21:45.0 IDIS.patents.xlsx 1.2 2012-07-14 23:20:23.0 IDIS.projects.xlsx 1.2 2012-07-14 23:20:23.0 IDIS.publications.xlsx 1.35 2013-04-30 14:46:49.0 IDIS.seminars.xlsx 1.1 2013-02-05 13:32:11.0 IDIS.team.xlsx 1.2 2012-07-14 23:21:45.0 IDIS.thesis.xlsx 1.3 2013-01-31 14:17:22.0 IDIS.workplace.xlsx 1.2 2012-07-14 23:20:23.0 We can easily get releases 1.1 to 1.15 and 1.35 of IDIS.publications.xlsx using downloadrev action. But rev 1.16 to 1.34 (or any in between being 1.34 the previous to the current one) fail to download. No error message is recorded in xwiki.log and the entered URL is changed to the one allowing to download the current one. I've no clue by browsing around users list and Jira issues, nor by looking at viewattachrev.vm or xwiki.cfg. Please, could you help us with this issues? Is it no possible to retrieve releases over 1.15? Thank you so much for your help, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] redirecting 302 responses
Thanks! Please, read below... From: Valdis Vītoliņš [valdis.vitol...@odo.lv] Sent: 28 April 2013 12:27 To: Rodriguez Fernandez, Ricardo Julio Cc: users@xwiki.org Subject: RE: [xwiki-users] redirecting 302 responses Ricardo, then look also at: http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs I've already used this instructions to shorten a bit URLs. but I we do feel confortable with the /bin part of the URL so far... until I make a mistake and distribute a wrong address in printed material. Thus: I need to find a solution for a single, at least by now, URL. So, please, allow me to give you some more details: 1) Some time ago, playing with the instructions so shorten URL, we had a bad time with our plain old 2.4.30451 server. At that moment, we felt confortable with URLs like http://www.idisantiago.es/bin/ICT/CSS2, thus we sticked to that configurations. 2) Some weeks ago I distribute by mistake a wrong URL: it doesn't include the /bin part of the URL: this is the mistaken address: http://www.idisantiago.es/BIS2013. 3) By browsing, googling and stuff, I finally understood how to redirect all requests throwing a 302 error, the referenced above among them, to the right address http://www.idisantiago.es/bin/BIS2013: nothing fancy, just a simple $response.sendRedirect($xwiki.getURL(BIS2013.WebHome)) in Main.DocumentDoesNotExist. 4) This solution works fine, but it applies to only to the wrong /BIS2013 address, but to any other URL that doesn't include the struts action. Thus, for instance, all these addresses are redirected to the same place: http://www.idisantiago.es/dummy http://www.idisantiago.es/bread http://www.idisantiago.es/milk http://www.idisantiago.es/chocolate All of then are redirected to http://www.idisantiago.es/bin/BIS2013 5) While reading the conversation between client and server for this request, I see that the first piece of the dialogue includes something like this... Request URL:http://www.idisantiago.es/chocolate Request Method:GET Status Code:302 Moved Temporarily 6) And from this I figure out that it could be possible that, once the server answers the client and says: hei! .../chocolate doesn't exist! I'll invite you to make a new call and retrive Main.DocumentDoesNotExist and it includes $response.sendRedirect($xwiki.getURL(BIS2013.WebHome)), there must be any way of capturing and using the requested URL in an Velocity #if() structure. Something like this... #if(wrong requested URL is /chocolate) $response.sendRedirect($xwiki.getURL(BIS2013.WebHome)) #else $response.sendRedirect($xwiki.getURL(ICT.WebHome)) #end Beyond finding a the solution for this single use case, I'm imaging a database of requested URLs being matched to a set of valid ones the TinyURL way! :-) Please, forgive me if this is complete no sense! Any idea, or directly call me stupid if this has no sense at all, we'll be extremely welcome! Thanks once again, Ricardo Valdis Thanks, Vladis! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Valdis Vītoliņš [valdis.vitol...@odo.lv] Sent: 27 April 2013 13:30 To: XWiki Users Subject: Re: [xwiki-users] redirecting 302 responses Ricardo, if your intention is to shorten Xwiki URLs permanently, look at http://odo.lv/Recipes/XwikiShortURLs_en Your solution seems great, but I'm afraid I can't use it now: currently, I've no Apache web server behind the scene. Tomcat is directly serving on port 80. I know this is not a desirable situation, but it is how this server is running right now. So, I keep struggling to find a solution within XWiki. Any new idea will be welcome! BTW, I have question to Xwiki developers — why status 302 (found) is used? IMHO, to train crawlers for changes, 301 (moved permanently) seems more appropriate. Valdis Oops! Please, see below! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Rodriguez Fernandez, Ricardo Julio Sent: 27 April 2013 11:21 To: users@xwiki.org Subject: [xwiki-users] redirecting 302 responses Hi! I more or less understand how URLs to missing/wrong/moved XWiki pages work involving docdoesnotexist.vm, but I'm still not able to modify this behavior by reading/taking into account values of request/responses exchanges between client and server. For instance: I would like to redirect a number of short URLs like this... http://www.idisantiago.es/BIS2013 to a set of given XWiki pages. Currently I can, and I did, a redirection of all of them to a single page by modifying Main.DocumentDoesNotExist this way... {{velocity}} $response.sendRedirect($xwiki.getURL(BIS2013.Schedule)) {{/velocity}} But I'm not able to find the way of using
[xwiki-users] redirecting 302 responses
Hi! I more or less understand how URLs to missing/wrong/moved XWiki pages work involving docdoesnotexist.vm, but I'm still not able to modify this behavior by reading/taking into account values of request/responses exchanges between client and server. For instance: I would like to redirect a number of short URLs like this... http://www.idisantiago.es/BIS2013 to a set of given XWiki pages. Currently I can, and I did, a redirection of all of them to a single page by modifying Main.DocumentDoesNotExist this way... {{velocity}} $response.sendRedirect($xwiki.getURL(BIS2013.Schedule)) {{/velocity}} But I'm not able to find the way of using request's name and status in Velocity #if(). Please, see attached file. I found a number of what I consider related information dealing with $response, $request, URL resolution, URL mappings and so on, so forth, but I 'm afraid this is too much for me to digest! Please, could anybody point me in the right direction? Am I completely lost? Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] redirecting 302 responses
Oops! Please, see below! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Rodriguez Fernandez, Ricardo Julio Sent: 27 April 2013 11:21 To: users@xwiki.org Subject: [xwiki-users] redirecting 302 responses Hi! I more or less understand how URLs to missing/wrong/moved XWiki pages work involving docdoesnotexist.vm, but I'm still not able to modify this behavior by reading/taking into account values of request/responses exchanges between client and server. For instance: I would like to redirect a number of short URLs like this... http://www.idisantiago.es/BIS2013 to a set of given XWiki pages. Currently I can, and I did, a redirection of all of them to a single page by modifying Main.DocumentDoesNotExist this way... {{velocity}} $response.sendRedirect($xwiki.getURL(BIS2013.Schedule)) {{/velocity}} But I'm not able to find the way of using request's name and status in Velocity #if(). Please, see attached file. I found a number of what I consider related information dealing with $response, $request, URL resolution, URL mappings and so on, so forth, but I 'm afraid this is too much for me to digest! Sorry! I forgot that attachments are filtered out of the list! Here it is the referenced image... http://www.idisantiago.es/bin/download/ICT/Request/BIS2013.302Response.png Thanks! Please, could anybody point me in the right direction? Am I completely lost? Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] redirecting 302 responses
Thanks, Vladis! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Valdis Vītoliņš [valdis.vitol...@odo.lv] Sent: 27 April 2013 13:30 To: XWiki Users Subject: Re: [xwiki-users] redirecting 302 responses Ricardo, if your intention is to shorten Xwiki URLs permanently, look at http://odo.lv/Recipes/XwikiShortURLs_en Your solution seems great, but I'm afraid I can't use it now: currently, I've no Apache web server behind the scene. Tomcat is directly serving on port 80. I know this is not a desirable situation, but it is how this server is running right now. So, I keep struggling to find a solution within XWiki. Any new idea will be welcome! BTW, I have question to Xwiki developers — why status 302 (found) is used? IMHO, to train crawlers for changes, 301 (moved permanently) seems more appropriate. Valdis Oops! Please, see below! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Rodriguez Fernandez, Ricardo Julio Sent: 27 April 2013 11:21 To: users@xwiki.org Subject: [xwiki-users] redirecting 302 responses Hi! I more or less understand how URLs to missing/wrong/moved XWiki pages work involving docdoesnotexist.vm, but I'm still not able to modify this behavior by reading/taking into account values of request/responses exchanges between client and server. For instance: I would like to redirect a number of short URLs like this... http://www.idisantiago.es/BIS2013 to a set of given XWiki pages. Currently I can, and I did, a redirection of all of them to a single page by modifying Main.DocumentDoesNotExist this way... {{velocity}} $response.sendRedirect($xwiki.getURL(BIS2013.Schedule)) {{/velocity}} But I'm not able to find the way of using request's name and status in Velocity #if(). Please, see attached file. I found a number of what I consider related information dealing with $response, $request, URL resolution, URL mappings and so on, so forth, but I 'm afraid this is too much for me to digest! Sorry! I forgot that attachments are filtered out of the list! Here it is the referenced image... http://www.idisantiago.es/bin/download/ICT/Request/BIS2013.302Response.png Thanks! Please, could anybody point me in the right direction? Am I completely lost? Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to modify description for feed entries?
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 05 April 2013 11:01 To: XWiki Users Subject: Re: [xwiki-users] how to modify description for feed entries? Hi Ricardo, On Fri, Mar 29, 2013 at 6:48 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Sorry for coming back with a new question on this. I think I'm getting closer to understand how RSS feeds work in XWiki, but I do need the help of the community. I'm now usinga XE 4.3 installation. I'm able to customize channel elements easily by editing, for instance, Main.WebRss, but, please, how to customize item elements? For instance, how to customize description element? You could try to use [1] $xwiki.feed.getSyndEntryDocumentSource($map) or [2] $xwiki.feed.getSyndEntrySource('Space.YouClass', $map) to specify how the document/class is mapped to a feed item. Then you have to pass the returned object to one of the available [3] $xwiki.feed.getFeed(...) methods. [1] http://maven.xwiki.org/site/docs/xwiki-javadoc-4.5.x/com/xpn/xwiki/plugin/feed/FeedPluginApi.html#getSyndEntryDocumentSource(java.util.Map) [2] http://maven.xwiki.org/site/docs/xwiki-javadoc-4.5.x/com/xpn/xwiki/plugin/feed/FeedPluginApi.html#getSyndEntrySource(java.lang.String,%20java.util.Map) [3] http://maven.xwiki.org/site/docs/xwiki-javadoc-4.5.x/com/xpn/xwiki/plugin/feed/FeedPluginApi.html There was an old JIRA issue which described in details this API but I can't find it now.. Marius, I'm not able to find such a JIRA issue neither, but I found these entries in the xwiki.devs list... http://xwiki.markmail.org/search/getSyndEntrySource+list:org.xwiki.devs Could this be the stuff you are speaking about? I'll follow this threads! Any comment will be welcome! Thanks! Hope this helps, Marius Thank you so much for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Classification in Xwiki
Hi, I would like to add my humble 1 cent hoping it can help others to decide to get involved with XWiki. Even though I frequently receive comments in the same direction Geoffrey points to, that is, users complaining about not having a classical way of organizing contents (that usually means not having a way of creating folder, and subfolders, and subsubfolders and so on, so forth) I usually succeed when explaining that XWiki introduces a different way of organizing and structuring enterprise information. I'm really afraid of using the wrong way concepts as taxonomy or hierarchy, thus I simply use the idea of system-driven creation and retrieval of contents. What XWiki offers you is a more-than-reasonable set of features out of the box but, much more interesting, is an impressive capability of integration of different programming and scripting environments, an impressive set of APIs, a mature data model [1] and database schema implementation [2]. With XWiki, you'll be creating a set of documents structured for the future: you can use a complete set of possibilities based on parent/child relationship, spaces, tags, instantiation of existing and new classes to create, structure, annotate and retrieve new pieces of information. But having XWiki in your organization, at lease in ours works like that, does mean to have some person being able translate your team requirements to XWiki structure, features and new application design (extrem design) capabilities. HTH! Ricardo [1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel [2] http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Jeremie BOUSQUET [jeremie.bousq...@gmail.com] Sent: 09 April 2013 16:51 To: XWiki Users Subject: Re: [xwiki-users] Classification in Xwiki Hello, My humble 2 cents ... The Classification Extension may be of some help to start with [1]. I agree with you that having a real taxonomy transverse to all xwiki items (pages, spaces, objects..., blogs, tags, faq entries, ...) would be a great improvement IMO. Currently xwiki natural way of structuring content is more about parent/child relation-ship and spaces. Taxonomy could bring more meaning to that, as these relation-ships, in a big wiki, frequently are more technical, or driven by rights, more than by taxonomy. Very frequently, you can't put a document in only one place logically, with a taxonomy you could relate it to more than one topic for instance. BR, Jeremie [1] http://extensions.xwiki.org/xwiki/bin/view/Extension/Classification+Application 2013/4/9 geoffreyma geoffreyma...@gmail.com Hello, I have tried several enterprise wiki and I like Xwiki very much appart from one thing that makes me hesitant to go for it. This thing is the classification. It seems so messy for me to not have a clear classification of the pages and documents, and I think others get crazy with it too. What would seem logical and intuitive for me is to have by default a side panel with a tree of all the directories (or categories or spaces, depending on how you call it), sub directories, sub sub, and pages. By default this panel would be empty and as soon as you create a first test directory and a first test page, this panel would start to fill up. This would be the main menu by default. Xwiki has spaces, that's well. But why cannot we create sub spaces and why are they not displayed in a hierarchical menu on all pages? My suggestion is a kind of taxonomy improvement. We could have displayed by default on all pages: - a panel with a tree of the spaces and pages - a panel you can expand with the type of documents (wiki pages, documents, etc) so that you can access to a page displaying all the wiki pages, to a page displaying all the documents, to a page displaying all the blog posts, to a page displaying all the comments, etc. - a panel you can expand with collections (or categories). This collections would be created by the administrator and would be for example Procedure, Specification sheet, Documentation, News, etc. - a panel you can expand with all the users. When you click on a user, you can see a page with all the pages he has created, all the pages he as modified, etc. - a tag panel The Classification is one of the most important aspect in an ressources/knowledge/procedure portal. It seems for me that the classification should be improved in Xwiki. If I haven't understood something, could you help me by giving me the good practises on how enterprise organise their documents in xwiki so that it is easily and intuitively accessible by their users. Many thanks, Geoffrey -- View this message in context: http://xwiki.475771.n2.nabble.com/Classification-in-Xwiki-tp7584636.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Re: [xwiki-users] Registration validation
Hi Youcef! Perhaps this post is better suited to dev list! :-) Please, read below. From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Bey Youcef [youcef@gmail.com] Sent: 06 April 2013 19:51 To: XWiki Users Subject: [xwiki-users] Registration validation Hi All, I'm facing a problem with changing configuration of registration/validation method. Here is the scenario that I'm attempting to make without succes. When a new user make registration I would like that an Administrator User receive an Mail, in which, there is a link for validation the account of the user. After making this validation, the user receives an email for informing him that the validation is done and his account is accessible. What currently XWiki propose, is when a new user make registration, she/he receives an email for validating her/his new account; the validation is done by her/himself Anyone could hlep or lead me to the documentation? I would like to know if this can be by just configuation in preferences or it whether it need progmming stuffs to do. Even though I'm not a programmer myself, I've tracked down verification code in an old 2.4 XE release and reach this code file... https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java Lines 3058 to 31987 deals with the idea you are talking about. It seems to me that it is hardcoded and some development will be required to accomplish what you are seeking. In an updated release where this monolithic module has been exploded into smaller submodules, each handling a specific concern, it seems to me that this function is still in the same location. I can guess it is still pending the reorganization of this section of code, but I'm not a source of authority for this! Perhaps some more experienced people can help us to understand how the future is planned for this particular feature as it would be really welcome to be able to designed user validation processes as the one you are proposing. Please, take also into account this other XWiki development's pillar: Jira issue tracking system at http://jira.xwiki.org/ Hope this helps! Ricardo Thanks you in advances. Best regards Youcef BEY ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] how to modify description for feed entries?
Sorry for coming back with a new question on this. I think I'm getting closer to understand how RSS feeds work in XWiki, but I do need the help of the community. I'm now usinga XE 4.3 installation. I'm able to customize channel elements easily by editing, for instance, Main.WebRss, but, please, how to customize item elements? For instance, how to customize description element? Thank you so much for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] old API
Hi, I read in http://platform.xwiki.org/xwiki/bin/view/DevGuide/API Older Javadocs of XWiki can be found in our Maven Release repository. For example for XWiki Platform Core Javadocs, check the files suffixed by javadoc for the version you wish under this directory. In the Maven repository I think this is the oldest release I can find... http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-oldcore/3.1-milestone-1/ Please, where could I find the API Javadoc for a XWIKI ENTERPRISE 2.4.30451 release? Thanks for your help, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] RSS feed including modifications
Hi! Please, is there any easy way of configuring the global wiki RSS feed of a XE 2.4.30451 to include both newly created and modified pages? Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] understanding Watch in XE 2.4.30451
Hi, I'm trying to understand how Watch does work in a XE 2.4.30451. Please, must I see a XWiki.WatchListJobClass in all users? I see a XWiki.WatchListClass. But no Notifier is shown in Watchlist Preferences though, for instance, hourly email is scheduled and working fine. Thanks for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Rendering of a particular version of a document
Thanks for your help and thanks for the information about compatibility. I'll keep learning! Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 21 March 2013 07:56 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Thu, Mar 21, 2013 at 2:39 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: it worked! Great! Thank indeed! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 19 March 2013 08:23 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Tue, Mar 19, 2013 at 1:20 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! Thanks! Please, see below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 18 March 2013 09:40 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Sat, Mar 16, 2013 at 4:58 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Thanks, Marius! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 15 March 2013 10:24 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document Fixed in 2.5RC1 by https://github.com/xwiki/xwiki-platform/commit/c08cca8cae375ea306b071fedbae3b1809261126 . See http://jira.xwiki.org/browse/XWIKI-5575 . The viewattachrev action is needed for attachments of the context document because attachments are also versioned and when you view a revision of a document you want to view the version of the attached images from that revision. I get the point! Thank you very much for the explanation. Please, Marius, could it be possible to substitute the old XWikiServletURLFactory.java class with the new one in xwiki-core-2.4.jar and keep running XWiki Enterprise 2.4.30451? You can try taking XWikiServletURLFactory.class from xwiki-core-2.5.jar and put it in WEB-INF/classes where you have deployed XWiki (under the same path as in the jar, i.e. the class package) but it might not work properly because it may contain other changes besides XWIKI-5575 which are not compatible with the xwiki-core-2.4.jar. Understood. Your best option is to patch the xwiki-core.2.4.jar. It's quite easy if you're not afraid of Git and Maven: Well, I'm not afraid of these tools, but I'm not a maven myself! Some years ago I was much closer than now to understand how XWiki development does work :-) But I keep trying! Always with your help. Thanks! Use this to checkout the code. Note that will will take a while, depending on your bandwidth. $ git clone git://github.com/xwiki/xwiki-platform.git $ cd xwiki-platform xwiki-platform$ git checkout xwiki-core-2.4 xwiki-platform$ git cherry-pick c08cca8cae375ea306b071fedbae3b1809261126 xwiki-platform$ cd xwiki-core xwiki-platform/xwiki-core$ mvn clean install xwiki-platform/xwiki-core$ mv target/xwiki-core-2.4.jar target/xwiki-core-2.4-XWIKI-5575.jar Having known CVS and Subversion, GitHub seems as the great evolution that will ease democratic contributions to software development projects, big and small ones. It seems simply great even though I will need some some time to fully understand it! Thanks for your help! Make sure you use the same Java version as the one running your application server. Ummm... I'm afraid my application server is the only one running java version 1.5.0 over here! I'm looking for a suitable box. In the mean time, I'm trying to understand how the team Git/Maven works! Note that I tried to patch xwiki-core 2.4 myself, but I have Java 1.7, and besides the version, it seems the build requires Sun/Oracle JDK (there's a backward compatibility aspect that uses com.sun.* classes). The build should pass on Sun/Oracle JDK 1.5 though. I'm lost at this point. I've built xwiki-core-2.4.jar in a Mac OS X box running... java -version java version 1.6.0_43 Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-10M4203) Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode) And moved it to a different box running Suse Linux and... peat:~ # java -version java version 1.5.0 Java(TM) 2 Runtime Environment, Standard Edition (build pxi32devifx-20100511a (SR11 FP2 )) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20100510 (JIT enabled) J9VM - 20100509_57823_lHdSMr JIT - 20091016_1845ifx7_r8 GC - 20091026_AA) JCL - 20100511a peat:~ # And it seems it is working fine. Please, when must I expect problems when compiling with a newer
Re: [xwiki-users] Rendering of a particular version of a document
it worked! Great! Thank indeed! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 19 March 2013 08:23 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Tue, Mar 19, 2013 at 1:20 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! Thanks! Please, see below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 18 March 2013 09:40 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Sat, Mar 16, 2013 at 4:58 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Thanks, Marius! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 15 March 2013 10:24 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document Fixed in 2.5RC1 by https://github.com/xwiki/xwiki-platform/commit/c08cca8cae375ea306b071fedbae3b1809261126 . See http://jira.xwiki.org/browse/XWIKI-5575 . The viewattachrev action is needed for attachments of the context document because attachments are also versioned and when you view a revision of a document you want to view the version of the attached images from that revision. I get the point! Thank you very much for the explanation. Please, Marius, could it be possible to substitute the old XWikiServletURLFactory.java class with the new one in xwiki-core-2.4.jar and keep running XWiki Enterprise 2.4.30451? You can try taking XWikiServletURLFactory.class from xwiki-core-2.5.jar and put it in WEB-INF/classes where you have deployed XWiki (under the same path as in the jar, i.e. the class package) but it might not work properly because it may contain other changes besides XWIKI-5575 which are not compatible with the xwiki-core-2.4.jar. Understood. Your best option is to patch the xwiki-core.2.4.jar. It's quite easy if you're not afraid of Git and Maven: Well, I'm not afraid of these tools, but I'm not a maven myself! Some years ago I was much closer than now to understand how XWiki development does work :-) But I keep trying! Always with your help. Thanks! Use this to checkout the code. Note that will will take a while, depending on your bandwidth. $ git clone git://github.com/xwiki/xwiki-platform.git $ cd xwiki-platform xwiki-platform$ git checkout xwiki-core-2.4 xwiki-platform$ git cherry-pick c08cca8cae375ea306b071fedbae3b1809261126 xwiki-platform$ cd xwiki-core xwiki-platform/xwiki-core$ mvn clean install xwiki-platform/xwiki-core$ mv target/xwiki-core-2.4.jar target/xwiki-core-2.4-XWIKI-5575.jar Having known CVS and Subversion, GitHub seems as the great evolution that will ease democratic contributions to software development projects, big and small ones. It seems simply great even though I will need some some time to fully understand it! Thanks for your help! Make sure you use the same Java version as the one running your application server. Ummm... I'm afraid my application server is the only one running java version 1.5.0 over here! I'm looking for a suitable box. In the mean time, I'm trying to understand how the team Git/Maven works! Note that I tried to patch xwiki-core 2.4 myself, but I have Java 1.7, and besides the version, it seems the build requires Sun/Oracle JDK (there's a backward compatibility aspect that uses com.sun.* classes). The build should pass on Sun/Oracle JDK 1.5 though. I'm lost at this point. I've built xwiki-core-2.4.jar in a Mac OS X box running... java -version java version 1.6.0_43 Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-10M4203) Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode) And moved it to a different box running Suse Linux and... peat:~ # java -version java version 1.5.0 Java(TM) 2 Runtime Environment, Standard Edition (build pxi32devifx-20100511a (SR11 FP2 )) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20100510 (JIT enabled) J9VM - 20100509_57823_lHdSMr JIT - 20091016_1845ifx7_r8 GC - 20091026_AA) JCL - 20100511a peat:~ # And it seems it is working fine. Please, when must I expect problems when compiling with a newer Java release and moving back to an older one? Is there some compatibility table anywhere? Thanks again for your great help! Ricardo I'm following http://dev.xwiki.org/xwiki/bin/view/Community/Building, but it is not clear to me how must I check out the code. I'm running Mac OS X 10.6.8, thus I've no option to run GitHub. So, please, where could I learn how to use Git to checkout the code? See above. It's a matter of 1 command line. I found this...
Re: [xwiki-users] Rendering of a particular version of a document
Hi! Thanks! Please, see below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 18 March 2013 09:40 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document On Sat, Mar 16, 2013 at 4:58 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Thanks, Marius! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 15 March 2013 10:24 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document Fixed in 2.5RC1 by https://github.com/xwiki/xwiki-platform/commit/c08cca8cae375ea306b071fedbae3b1809261126 . See http://jira.xwiki.org/browse/XWIKI-5575 . The viewattachrev action is needed for attachments of the context document because attachments are also versioned and when you view a revision of a document you want to view the version of the attached images from that revision. I get the point! Thank you very much for the explanation. Please, Marius, could it be possible to substitute the old XWikiServletURLFactory.java class with the new one in xwiki-core-2.4.jar and keep running XWiki Enterprise 2.4.30451? You can try taking XWikiServletURLFactory.class from xwiki-core-2.5.jar and put it in WEB-INF/classes where you have deployed XWiki (under the same path as in the jar, i.e. the class package) but it might not work properly because it may contain other changes besides XWIKI-5575 which are not compatible with the xwiki-core-2.4.jar. Understood. Your best option is to patch the xwiki-core.2.4.jar. It's quite easy if you're not afraid of Git and Maven: Well, I'm not afraid of these tools, but I'm not a maven myself! Some years ago I was much closer than now to understand how XWiki development does work :-) But I keep trying! Always with your help. Thanks! xwiki-platform$ git checkout xwiki-core-2.4 xwiki-platform$ git cherry-pick c08cca8cae375ea306b071fedbae3b1809261126 xwiki-platform$ cd xwiki-core xwiki-platform/xwiki-core$ mvn clean install xwiki-platform/xwiki-core$ mv target/xwiki-core-2.4.jar target/xwiki-core-2.4-XWIKI-5575.jar Make sure you use the same Java version as the one running your application server. Ummm... I'm afraid my application server is the only one running java version 1.5.0 over here! I'm looking for a suitable box. In the mean time, I'm trying to understand how the team Git/Maven works! I'm following http://dev.xwiki.org/xwiki/bin/view/Community/Building, but it is not clear to me how must I check out the code. I'm running Mac OS X 10.6.8, thus I've no option to run GitHub. So, please, where could I learn how to use Git to checkout the code? I found this... http://dev.xwiki.org/xwiki/bin/view/Drafts/GitDevelopment http://extensions.xwiki.org/xwiki/bin/view/Extension/Git+Module Please, am I missing something? Thanks for your help! Hope this helps, Marius Thanks! For good or for bad I need to keep alive this server and I've not time to make a full update to the current version! I do hope I'll find that time soon! Thanks for your help! Hope this helps, Marius On Fri, Mar 15, 2013 at 2:41 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! In an old XWIKI ENTERPRISE 2.4.30451, I'm having problems when rendering a particular version of a document, rev is not null and the asked revision exists. I got this... div id=companylogo a href=/bin/Main/ title=Home rel=home img src=/bin/viewattachrev/XWiki/IDISSkin/glIdisMotto.png alt=Wiki Logo/ /a /div Instead of the HTML code generated when rev is not used... div id=companylogo a href=/bin/Main/ title=Home rel=home img src=/bin/download/XWiki/IDISSkin/glIdisMotto.png alt=Wiki Logo/ /a /div It seems that the use of ?rev forces the viewattachrev action to be included in the img URL. I don't understand why does this happen. Please, could this be avoided? Please, check this behavior on line here... 1) No rev in the URL: IT WORKS FINE http://www.idisantiago.es/bin/OpenInitiative/TranslationalOmics2013 2) Rev is not null and revision exists: THE LOGO DOESN'T SHOW UP http://www.idisantiago.es/bin/viewrev/OpenInitiative/TranslationalOmics2013?rev=27.1 3) Rev is not null but it doesn't exist: IT WORKS FINE http://www.idisantiago.es/bin/viewrev/OpenInitiative/TranslationalOmics2013?rev=30.7 4) Rev is used but null: IT THROUGHS AN EXCEPTION AND THE HEADER IS NOT RENDERED http://www.idisantiago.es/bin/viewrev/OpenInitiative/TranslationalOmics2013?rev= Please, is it possible to find a solution at least for case 1)? Thank you so much for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS)
Re: [xwiki-users] Rendering of a particular version of a document
Thanks, Marius! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 15 March 2013 10:24 To: XWiki Users Subject: Re: [xwiki-users] Rendering of a particular version of a document Fixed in 2.5RC1 by https://github.com/xwiki/xwiki-platform/commit/c08cca8cae375ea306b071fedbae3b1809261126 . See http://jira.xwiki.org/browse/XWIKI-5575 . The viewattachrev action is needed for attachments of the context document because attachments are also versioned and when you view a revision of a document you want to view the version of the attached images from that revision. I get the point! Thank you very much for the explanation. Please, Marius, could it be possible to substitute the old XWikiServletURLFactory.java class with the new one in xwiki-core-2.4.jar and keep running XWiki Enterprise 2.4.30451? For good or for bad I need to keep alive this server and I've not time to make a full update to the current version! I do hope I'll find that time soon! Thanks for your help! Hope this helps, Marius On Fri, Mar 15, 2013 at 2:41 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! In an old XWIKI ENTERPRISE 2.4.30451, I'm having problems when rendering a particular version of a document, rev is not null and the asked revision exists. I got this... div id=companylogo a href=/bin/Main/ title=Home rel=home img src=/bin/viewattachrev/XWiki/IDISSkin/glIdisMotto.png alt=Wiki Logo/ /a /div Instead of the HTML code generated when rev is not used... div id=companylogo a href=/bin/Main/ title=Home rel=home img src=/bin/download/XWiki/IDISSkin/glIdisMotto.png alt=Wiki Logo/ /a /div It seems that the use of ?rev forces the viewattachrev action to be included in the img URL. I don't understand why does this happen. Please, could this be avoided? Please, check this behavior on line here... 1) No rev in the URL: IT WORKS FINE http://www.idisantiago.es/bin/OpenInitiative/TranslationalOmics2013 2) Rev is not null and revision exists: THE LOGO DOESN'T SHOW UP http://www.idisantiago.es/bin/viewrev/OpenInitiative/TranslationalOmics2013?rev=27.1 3) Rev is not null but it doesn't exist: IT WORKS FINE http://www.idisantiago.es/bin/viewrev/OpenInitiative/TranslationalOmics2013?rev=30.7 4) Rev is used but null: IT THROUGHS AN EXCEPTION AND THE HEADER IS NOT RENDERED http://www.idisantiago.es/bin/viewrev/OpenInitiative/TranslationalOmics2013?rev= Please, is it possible to find a solution at least for case 1)? Thank you so much for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Rendering of a particular version of a document
Hi! In an old XWIKI ENTERPRISE 2.4.30451, I'm having problems when rendering a particular version of a document, rev is not null and the asked revision exists. I got this... div id=companylogo a href=/bin/Main/ title=Home rel=home img src=/bin/viewattachrev/XWiki/IDISSkin/glIdisMotto.png alt=Wiki Logo/ /a /div Instead of the HTML code generated when rev is not used... div id=companylogo a href=/bin/Main/ title=Home rel=home img src=/bin/download/XWiki/IDISSkin/glIdisMotto.png alt=Wiki Logo/ /a /div It seems that the use of ?rev forces the viewattachrev action to be included in the img URL. I don't understand why does this happen. Please, could this be avoided? Please, check this behavior on line here... 1) No rev in the URL: IT WORKS FINE http://www.idisantiago.es/bin/OpenInitiative/TranslationalOmics2013 2) Rev is not null and revision exists: THE LOGO DOESN'T SHOW UP http://www.idisantiago.es/bin/viewrev/OpenInitiative/TranslationalOmics2013?rev=27.1 3) Rev is not null but it doesn't exist: IT WORKS FINE http://www.idisantiago.es/bin/viewrev/OpenInitiative/TranslationalOmics2013?rev=30.7 4) Rev is used but null: IT THROUGHS AN EXCEPTION AND THE HEADER IS NOT RENDERED http://www.idisantiago.es/bin/viewrev/OpenInitiative/TranslationalOmics2013?rev= Please, is it possible to find a solution at least for case 1)? Thank you so much for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] $isUserInGroup doesn't inherrit subgroup membership
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Joris Dirks [jo...@user.stekje.nl] Sent: 30 May 2012 15:18 To: XWiki Users Subject: [xwiki-users] $isUserInGroup doesn't inherrit subgroup membership I have an issue with the working of API call $isUserInGroup. Imagine the group Employees consisting of two subgroups: Drones and Management. Each employee is in one of those groups. When a space has view rights for Employees, members of both groups have access. When I check ($xwiki.user.isUserInGroup('XWiki.Employees') however for a manager, I get a negative response, because the user is not in the group XWiki.Employees. I'm facing a similar issue here. Users' groups are included in areas. I didn't find a way of checking if an user belongs to this or that area until I read your message! Thank you very much. I find a drawback, although. It works great when a given user is granted the rigth you check with $xwiki.hasAccessLevel() only through the right you grant to the top-level group to the dummy page/space you propose to create. But, what about administrators? They will be listed as belonging to the top-level group in any case. We could filter out members of the administration group but, in some cases, those guys/gals belong to other groups that I would like to check! I can't find a simple solution for this issue. Please, any ideas? Some kind of method taking into account this inherited membership will be extremely welcome. Please, could anybody point me to the keywords or relevant Jira entries about this or related topics? I'm sure advanced users or dev team members are talking about it! Thanks! Ricardo My work-around: create a page/space where Employees has access to, and use this call: $xwiki.hasAccessLevel(view, $context.user, Intranet.WebHome) Hope this helps those who don't understand why the call is giving a negative result ;) Kind regards, Joris ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki users edition
Hi, Joris! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Joris Dirks [jo...@user.stekje.nl] Sent: 30 May 2012 15:03 To: XWiki Users Subject: Re: [xwiki-users] XWiki users edition Oh, complex question.. On 25 May 2012 18:21, ricardo.julio.rodriguez.fernan...@sergas.es wrote: I would like to allow an user, or a group of users A, to edit users' profiles on a per users' group basis. Thus given five users' groups, A, B, C, D, E, I would like to allow, for instance,... 1. User01 to edit all groups B, D and E members users' profiles . 2. B group members, to edit users' profiles of group A members. I'm almost sure I'm missing something obvious, but to the best of my understanding rights management utility allows rights management on a per space and per page basis, but it is not obvious how to manage rights as I do need to. Rights are trusted based on XWikiRights objects instances in each page. If it is possible to manage access rights on spaces as a hole, or wikis in a farm, it is for sure possible to manage users on per group basis. But I'm afraid I don't know how. Rights are indeed set per page or space. Thus, you could give group A the right to edit pages (including users) in the space XWiki, as all users are in the space XWiki. What I normally do is group all pages in a space for easy access management, but from what I understood it's not advisable to move users to a space other than XWiki. Perhaps you could script something so when a user is added to group A, predefined rights (periodically or directly) are set for these users/pages. But I don't even know if there's an API call for setting access rights. Yes, there are a big number of references both in XWiki sites and XWki e email list and related issues in Jiri and all points to a solution based on scripting instantiating XWiki.XWikiRights with each new page as required. But if there is a heritage from space to document, it would be possible to have some thing similar from group to group member. But I'm afraid this is a question for developers! A doc, a space, a user or a group all of them are particular cases of doc holding the required instantiated objects. So, I'm afraid my question is far beyond my own understanding about how XWiki does work! Thanks for your time. Ricardo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Saúde! Ricardo Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] xwiki.cfg seems not to be applied?
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Florian Rustedt [florian.rust...@unitedexperts.de] Sent: 31 May 2012 17:19 To: XWiki Users Subject: Re: [xwiki-users] xwiki.cfg seems not to be applied? The effect of xwiki.showviewaction should be visible almost right away. Note that URLs with the /view/ part in them will still work, and there won't be any redirection from an URL with /view/ to an URL without it. But clicking on wiki links should point to non-/view/ URLs. I expected after the login to have no /view any more in the url but it still was there? The other two are pretty much useless... Since getting access to the configured values is hard, most of the code doesn't take them into consideration and Main and WebHome are hardcoded all over the code. My advice is to not use those. If your goal is to change the homepage URL, then you should add a redirect inside the existing Main.WebHome to your desired page. I tried that one but didn't receive the expected results. I opened the page Main.webHome in the WYSIWYG-Editor and went to the coding perspecvive. There I entered $response.sendRedirect($xwiki.getURL('Space.Page')), but it showed me the source directly :) So: WHERE do I add this code snippet on the Main.webHome page? Right in the body of the page. Please, check what syntax you are using. For XWiki 2.x syntaxes you must enclose the redirect line/method within Velocity script beginning and end tags. I received time ago the same advice and it is working fine here. Here the snippet in one of our homepages: {{velocity}} $response.sendRedirect($xwiki.getURL('Main.HomeMV2')) {{/velocity} HTH, Ricardo Best regards Florian ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] help with a query
From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 29 May 2012 09:45 To: XWiki Users Subject: Re: [xwiki-users] help with a query On Mon, May 28, 2012 at 11:54 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 28 May 2012 08:48 To: XWiki Users Subject: Re: [xwiki-users] help with a query On Sun, May 27, 2012 at 10:29 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu [ser...@xwiki.com] Sent: 27 May 2012 02:44 To: XWiki Users Subject: Re: [xwiki-users] help with a query On 05/26/2012 07:29 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Sorry, but I'm not able to get a query getting this: All comments added to XWiki users. Do you want to get the comments themselves as a whole, just the comment body, or just the name of the user documents where comments have been added? I've found this... http://extensions.xwiki.org/xwiki/bin/Extension/Get+Last+Comment Coming from this thread... http://xwiki.markmail.org/thread/qwnwzoa23ewdt64w Sorry, I should have found it before! it requires programming rigths, but this is not a problem rigth now for us. What I'm not able to understand here is the role of setLimit(1). Please, check this... setLimit sets the maximum number of rows to return. In this case, since the snippet is showing the last comment, the query needs to return at most one row. http://atriumkm.idisantiago.es/bin/ICT/ListCommentsWithProgrammingRights We get the same result by using or not using it. Please, what am I missing here? Also, whatever value I use for setLimit(), I always get the first value in the list as ordered in the xwql statement. Maybe you changed the query in the mean time, but I can see both comments displayed when you don't set the limit. Thanks, Marius. No, I didn't change the query. Please, see this... $services.query.xwql($xwlquery).setLimit(1).execute().get(0) First $services.query.xwql($xwlquery).execute().get(0) First Only First (comment) is displayed in both cases. The first code lines includes setLimit(1) but the second one doesn't. Please, where am I lost? Thanks! It's simple. execute() returns a list: ['First'] ['First', 'Second'] In both cases, the first item in the list obtained with get(0) is 'First'. There's nothing wrong with that. setLimit() sets the maximum size of the returned list. In the first case the list has maximum one element, and in the second case it has the size equal with the number of matching rows found in the database. Great! Thanks for the explanation! I've added some more lines to check that I've perfectly understood the issue. So, setLimit() is used to recover a list as short as required to satisfy what we are looking for, the first or last comment on a row, and get(0) is used to get this single item. http://atriumkm.idisantiago.es/bin/ICT/ListCommentsWithProgrammingRights I do hope I'm able to remember all things I learn here! Thanks for your help, Ricardo Hope this helps, Marius Hope this helps, Marius I would not be hard to apply this query to all desired documents by looping through them. Please, is this the most effective/economic in terms of process work way of doing this query? Thank you so much for your help!!! Please, could you help me? Thank you very much, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a
Re: [xwiki-users] help with a query
From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 28 May 2012 08:48 To: XWiki Users Subject: Re: [xwiki-users] help with a query On Sun, May 27, 2012 at 10:29 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu [ser...@xwiki.com] Sent: 27 May 2012 02:44 To: XWiki Users Subject: Re: [xwiki-users] help with a query On 05/26/2012 07:29 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Sorry, but I'm not able to get a query getting this: All comments added to XWiki users. Do you want to get the comments themselves as a whole, just the comment body, or just the name of the user documents where comments have been added? I've found this... http://extensions.xwiki.org/xwiki/bin/Extension/Get+Last+Comment Coming from this thread... http://xwiki.markmail.org/thread/qwnwzoa23ewdt64w Sorry, I should have found it before! it requires programming rigths, but this is not a problem rigth now for us. What I'm not able to understand here is the role of setLimit(1). Please, check this... setLimit sets the maximum number of rows to return. In this case, since the snippet is showing the last comment, the query needs to return at most one row. http://atriumkm.idisantiago.es/bin/ICT/ListCommentsWithProgrammingRights We get the same result by using or not using it. Please, what am I missing here? Also, whatever value I use for setLimit(), I always get the first value in the list as ordered in the xwql statement. Maybe you changed the query in the mean time, but I can see both comments displayed when you don't set the limit. Thanks, Marius. No, I didn't change the query. Please, see this... $services.query.xwql($xwlquery).setLimit(1).execute().get(0) First $services.query.xwql($xwlquery).execute().get(0) First Only First (comment) is displayed in both cases. The first code lines includes setLimit(1) but the second one doesn't. Please, where am I lost? Thanks! Hope this helps, Marius I would not be hard to apply this query to all desired documents by looping through them. Please, is this the most effective/economic in terms of process work way of doing this query? Thank you so much for your help!!! Please, could you help me? Thank you very much, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a
Re: [xwiki-users] help with a query
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu [ser...@xwiki.com] Sent: 27 May 2012 02:44 To: XWiki Users Subject: Re: [xwiki-users] help with a query On 05/26/2012 07:29 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Sorry, but I'm not able to get a query getting this: All comments added to XWiki users. Do you want to get the comments themselves as a whole, just the comment body, or just the name of the user documents where comments have been added? I've found this... http://extensions.xwiki.org/xwiki/bin/Extension/Get+Last+Comment Coming from this thread... http://xwiki.markmail.org/thread/qwnwzoa23ewdt64w Sorry, I should have found it before! it requires programming rigths, but this is not a problem rigth now for us. What I'm not able to understand here is the role of setLimit(1). Please, check this... http://atriumkm.idisantiago.es/bin/ICT/ListCommentsWithProgrammingRights We get the same result by using or not using it. Please, what am I missing here? Also, whatever value I use for setLimit(), I always get the first value in the list as ordered in the xwql statement. I would not be hard to apply this query to all desired documents by looping through them. Please, is this the most effective/economic in terms of process work way of doing this query? Thank you so much for your help!!! Please, could you help me? Thank you very much, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] help with a query
Sorry, but I'm not able to get a query getting this: All comments added to XWiki users. Please, could you help me? Thank you very much, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] help with a query
Thanks, Sergiu, From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu [ser...@xwiki.com] Sent: 27 May 2012 02:44 To: XWiki Users Subject: Re: [xwiki-users] help with a query On 05/26/2012 07:29 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Sorry, but I'm not able to get a query getting this: All comments added to XWiki users. Do you want to get the comments themselves as a whole, just the comment body, or just the name of the user documents where comments have been added? First of all: the body of all comments liked to given group of users. Then, I would like to understand how comments could be retrieve to have full control about what I'm getting. I do need all three queries you list, then I also like to be able to answer questions as: 1. Tabulated how many replies users posted in all pages of a given space like the one below on a per user/per page basis? http://atriumkm.idisantiago.es/bin/OpenInitiative/InVitroPreclinicalModels2012 2. What is the name and the surname of the users holding a comment with a given string in one of her/his comments? I found comments, spaces and groups really interesting metaphors available out of the box with XWiki to store different kinds of information without effort. But that effort must be done while retrieving it!!! All of these pieces of information could be stored in a more structured way designing ad hoc classes, creating applications in a minute, and so on, so forth... but, for instance, comments, are really useful to make our mind about what we want to translate to an application. I do hope this has sense for you! Thanks for your help! Please, could you help me? Thank you very much, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki users edition
Hi Joris! Thanks for answering. Please, see below. From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Joris Dirks [jo...@user.stekje.nl] Sent: 22 May 2012 17:09 To: XWiki Users Subject: Re: [xwiki-users] XWiki users edition Hi Ricardo, It's not clear to me what your objective is. Do you want open registration and only certain people to be able to edit pages? Or do you want a group of users to edit user profiles? Or give group A the right to add users to group A or group B? I would like to allow an user, or a group of users A, to edit users' profiles on a per users' group basis. Thus given five users' groups, A, B, C, D, E, I would like to allow, for instance,... 1. User01 to edit all groups B, D and E members users' profiles . 2. B group members, to edit users' profiles of group A members. I'm almost sure I'm missing something obvious, but to the best of my understanding rights management utility allows rights management on a per space and per page basis, but it is not obvious how to manage rights as I do need to. Rights are trusted based on XWikiRights objects instances in each page. If it is possible to manage access rights on spaces as a hole, or wikis in a farm, it is for sure possible to manage users on per group basis. But I'm afraid I don't know how. Any help will be extremely welcome! This link is probably redundant: http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement Joris On 20 May 2012 01:47, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! We do need to organize tasks concerning XWiki in our small group. We have not people expert enough in using XWiki as per trusting them by using Admin rights to edit XWiki users content. Please, how could be trust edition rights to a small group of users to allow them edit information about users? Perhaps any way of trusting them access only to a given user? Thanks! -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] sorting of space index macro
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Account [acco...@zae.uni-wuerzburg.de] Sent: 11 May 2012 11:03 To: users@xwiki.org Subject: [xwiki-users] sorting of space index macro hi all, id like to use the Space-Index macro to list all pages on the WebHome page of every Space. With {{spaceindex count=0/}} i get a list which is sorted by the time the page was created (or last modified?), but i'd like a list which is sorted in alphabetical order. Is that possible? thanks in advance, zae. I'm not sure to understand you. Please, check this... http://www.xwiki.org/xwiki/bin/view/Main/SpaceIndex It gots a list sorted in alphabetical order. HTH! Ricardo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki users edition
Hi! We do need to organize tasks concerning XWiki in our small group. We have not people expert enough in using XWiki as per trusting them by using Admin rights to edit XWiki users content. Please, how could be trust edition rights to a small group of users to allow them edit information about users? Perhaps any way of trusting them access only to a given user? Thanks! -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [Announcement] XWiki Enterprise and XWiki Enterprise Manager 4.0 released
Congratulations to the whole team! -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Thomas Mortagne [thomas.morta...@xwiki.com] Sent: 02 May 2012 16:12 To: XWiki Developers; XWiki Users Subject: [xwiki-users] [Announcement] XWiki Enterprise and XWiki Enterprise Manager 4.0 released The XWiki development team is pleased to announce the release of XWiki Enterprise and XWiki Enterprise Manager 4.0. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download This is the first release of the 4.x cycle. See http://enterprise.xwiki.org/xwiki/bin/view/Main/Roadmap for more informations about the 4.x cycle. The highlights of this release are: * reduced document database id collision. It has been well tested but you might want to make sure you have a working backup of your database. * new LDAP administration UI * Annotations merged with Comments * Extension Manager improvements * App Within Minutes improvements * User profile customization * User directory improvements and user customized view * ColorThemes gradients customizable from ColorTheme Wizard * New IRC Bot Application On development side: * Extension Manager (without xar support and wiki UI) is now part of XWiki Commons project and can be easily used outside of XWiki * Component roles are now based on java.lang.reflect.Type instead of java.lang.Class which mean you can now have different roles with the same class and different generic types (e.g. ) * New Velocity tool to serialize Java objects to JSON format * Class reference always local * New Rights Implementation (Experimental). You can enable and test it in xwiki.cfg. * New technical content hiding system * A new ApplicationReadyEvent event has been introduce for component that need to access the database at init. For more information see the Release notes at http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise40 and http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXEM40 Thanks -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Announcement] XWiki Enterprise and XWiki Enterprise Manager 4.0 released
Downloading! Thanks! -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Thomas Mortagne [thomas.morta...@xwiki.com] Sent: 02 May 2012 20:36 To: XWiki Users Subject: Re: [xwiki-users] [xwiki-devs] [Announcement] XWiki Enterprise and XWiki Enterprise Manager 4.0 released On Wed, May 2, 2012 at 7:56 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi guys, gals! Please, check this... http://download.forge.objectweb.org/xwiki/xwiki-manager-web-4.0.war Not Found The requested URL /xwiki/xwiki-manager-web-4.0.war was not found on this server. Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g Server at download.forge.objectweb.org Port 80 Just added it on OW2 thanks, looks like there is an issue in our release script. I think you need to wait a bit for it to be really available (not sure how long). Thanks!!! -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: devs-boun...@xwiki.org [devs-boun...@xwiki.org] On Behalf Of Guillaume Lerouge [guilla...@xwiki.com] Sent: 02 May 2012 16:20 To: XWiki Users Cc: XWiki Developers Subject: Re: [xwiki-devs] [xwiki-users] [Announcement] XWiki Enterprise and XWiki Enterprise Manager 4.0 released Hi, On Wed, May 2, 2012 at 4:12 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: The XWiki development team is pleased to announce the release of XWiki Enterprise and XWiki Enterprise Manager 4.0. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download This is the first release of the 4.x cycle. See http://enterprise.xwiki.org/xwiki/bin/view/Main/Roadmap for more informations about the 4.x cycle. The highlights of this release are: * reduced document database id collision. It has been well tested but you might want to make sure you have a working backup of your database. * new LDAP administration UI * Annotations merged with Comments * Extension Manager improvements * App Within Minutes improvements * User profile customization * User directory improvements and user customized view * ColorThemes gradients customizable from ColorTheme Wizard * New IRC Bot Application On development side: * Extension Manager (without xar support and wiki UI) is now part of XWiki Commons project and can be easily used outside of XWiki * Component roles are now based on java.lang.reflect.Type instead of java.lang.Class which mean you can now have different roles with the same class and different generic types (e.g. ) * New Velocity tool to serialize Java objects to JSON format * Class reference always local * New Rights Implementation (Experimental). You can enable and test it in xwiki.cfg. * New technical content hiding system * A new ApplicationReadyEvent event has been introduce for component that need to access the database at init. For more information see the Release notes at http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise40 The correct link is of course this one: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise40 Kudos to the dev team! Guillaume and http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXEM40 Thanks -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal
[xwiki-users] XEM 4.0 in April?
Hi! Please, could we expect XEM 4.0 in April? Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] HTML code in document title
Hi, Please, how could I enter HTML equivalents to UNICODE codes in document title? I didn't get them rendered while working with XE 2.4.30451. Please, check this... http://atriumkm.idisantiago.es/bin/download/ICT/UNICODE/085onTGFbeta.png Beta is correctly rendered in breadcrumbs and body text, but not in document title. Any solution? Thanks for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Enterprise or Manager
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of du du [ddd...@gmail.com] Sent: 08 April 2012 15:28 To: XWiki Users Subject: Re: [xwiki-users] XWiki Enterprise or Manager Hi, Guillaume, Thanks for your response, the problem is after I switched to Postgres, my WikiManager became missing, I used to use it to list all the wikis I have, now I searched WikiManger from my XWiki search combo box, no WikiManager anymore. Also when you create another wiki, how do you specify this new wiki to use different database? Thanks again for your help. Dave I'm a bit lost with this issue. Well, I've not Postgresql here, so I'm just talking from a theoretical POW. Please, Dave, how have you switched to Postgresql from whatever full supported RDBMS you where using before? Could you search for WikiManager xwd_fullname field in your new xwikidoc table? At least three pages must be there if the migration was successful! It you what to use simply SQl, this should be enough... /*Documents in space WikiManager*/ select XWD_FULLNAME from xwiki.xwikidoc where XWD_FULLNAME like '%WikiManager.%'; If the documents are there, it seems to me that something is failing at XWiki level. HTH! Cheers! On Sun, Apr 8, 2012 at 6:38 AM, Guillaume Fenollar guillaume.fenol...@xwiki.com wrote: Hello, The point of XEM (manager) is to create subwiki. It's thus acting like a farm, and every subwiki can be managed in a totally different way. If there is troubles with XEM and postgres, it's about the subwiki creation (a subwiki is in fact a new database), which could not work with this database management system. You can try to create a subwiki (go into WikiManager space) and tell us if this step is working well :-) Regards Guillaume Fenollar 2012/4/8 ricardo.julio.rodriguez.fernan...@sergas.es Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of du du [ddd...@gmail.com] Sent: 07 April 2012 20:25 To: XWiki Users Subject: [xwiki-users] XWiki Enterprise or Manager Hi, all, I installed XWiki manager on one machine, and installed Enterprise on another machine, I cannot tell which is manager and which is enterprise sometimes. Anyway to check that? If you are talking about XWiki Enterprise Manager (XEM) when you said XWiki manager, I guess the simplest way is to look for XWiki Enterprise Manager specific pages in your installation. For instance, XemManager and WikiManager spaces. These spaces won't exist in a XWiki Enterprise (XE), the default wiki product based on the XWiki Platform, installation. Also, a XEM installation has two plugins XE doesn't need: com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin,\ com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin and xwiki.virtual=1 in your xwiki.cfg file. I'm sure you have already checked this... http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HTutorials Also the user's guide says the manager does not support postgresql, I checked the hibernate config file, switched from mysql to postgres, now both versions of my xwiki are using postgres on different machine, they both work fine, but I am not sure whether something may go wrong someday with the manager because I switched the postgresql for it, so what are the concerns of using postgres with xwiki manager? how do I overcome? Hot on databases support... http://dev.xwiki.org/xwiki/bin/view/Community/DatabaseSupportStrategy http://markmail.org/message/b4eihzaulneqiqhd Please, could you post the link to the page where is said that PostgreSQL is not supported? Probably an update is needed there or a but is required in the DatabaseSupportStrategy brand new page! HTH! Ricardo Thanks Dave ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org
Re: [xwiki-users] XWiki Enterprise or Manager
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of du du [ddd...@gmail.com] Sent: 07 April 2012 20:25 To: XWiki Users Subject: [xwiki-users] XWiki Enterprise or Manager Hi, all, I installed XWiki manager on one machine, and installed Enterprise on another machine, I cannot tell which is manager and which is enterprise sometimes. Anyway to check that? If you are talking about XWiki Enterprise Manager (XEM) when you said XWiki manager, I guess the simplest way is to look for XWiki Enterprise Manager specific pages in your installation. For instance, XemManager and WikiManager spaces. These spaces won't exist in a XWiki Enterprise (XE), the default wiki product based on the XWiki Platform, installation. Also, a XEM installation has two plugins XE doesn't need: com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin,\ com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin and xwiki.virtual=1 in your xwiki.cfg file. I'm sure you have already checked this... http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HTutorials Also the user's guide says the manager does not support postgresql, I checked the hibernate config file, switched from mysql to postgres, now both versions of my xwiki are using postgres on different machine, they both work fine, but I am not sure whether something may go wrong someday with the manager because I switched the postgresql for it, so what are the concerns of using postgres with xwiki manager? how do I overcome? Hot on databases support... http://dev.xwiki.org/xwiki/bin/view/Community/DatabaseSupportStrategy http://markmail.org/message/b4eihzaulneqiqhd Please, could you post the link to the page where is said that PostgreSQL is not supported? Probably an update is needed there or a but is required in the DatabaseSupportStrategy brand new page! HTH! Ricardo Thanks Dave ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Group rename bug?
Hi! Please, check this... http://jira.xwiki.org/browse/XWIKI-3548 From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Dmitry Bakbardin [haru_mamb...@mail.ru] Sent: 07 April 2012 10:08 To: XWiki Users Subject: [xwiki-users] Group rename bug? Hi! By accident I found wierd XWiki behaviour. I played with 3.4. If you rename any Group, all access rights set to this group are gone and admin should set them back once more. Is it a bug or desired behaviour? Kind regards, Dmitry ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki feedback
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Trevor Russ [tr.w...@telus.net] Sent: 06 April 2012 16:26 To: users@xwiki.org Subject: [xwiki-users] XWiki feedback We chose XWiki back in 2009 as our wiki solution and we had successfully set up a complete farm of 4 wikis. I have been following the progress of XWiki since then, but unfortunately it was never utilized by our team, mostly because the users did not want to invest the time in learning a new WYSIWYG editor. In the end I was the only one who used it so the time has finally come to shut it down and look at an alternative solution -- perhaps a simple document manager. I saw a lot of potential in XWiki for our purposes, but didn't quite have the time to sell it to the others. I was thinking a bit about this comment. In general, it is hard to introduce any change in the workflow of an organization... if any exists! Concerning XWiki, our take is don't consider it as a simple colaborative environment for text construction and edition. This is a huge simplification about what XWiki can offer. XWiki is a complete development framework for online extrem development of applications. Collaborating the XWiki way is not just a facet of the collaborartion environment of an organization. It can easily be promoted to be THE way things are done: ubiquitous access through port 80/443, registered changes, trustees assignment... allow any organization to define and implement access, use and content creation policies with unprecedent easiness. Before I remove myself from the mailing list, I just wanted to put forward one comment as feedback: don't discount the learning curve that confronts users new to the wiki. Many of them are proficient in their ways of editing documents (which usually means MS Word) and don't have the time to invest learning new document formatting tools. If you want to capture a larger share of the market, look at ways of integrating with users' favourite editors; I think that would go a long way. You have a very impressive product, and I've been amazed at the level of commitment and professionalism that has gone into this wiki. Thanks for everybody's efforts and best of luck going forward. Let me to hijack this thread to add my own two cents on this comment! Even though I'm not able to follow XWiki development in all its extent, I'm lucky to be still able to keep it working here and to have each day some more people appreciating what thinking the XWiki way can do for our team! Thanks to everybody! Trevor Trevor, I do think you must not remove yourself from this list! At least you'll be able to know what kind of issues users are facing! Cheers! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Group rename bug?
There you have my vote! But I would like to understand what Sergiu meant by August 2007 when said but we must first decide if this is a good idea Please, when it could not be a good idea to keep assigned rights for a renamed user or group? Thanks! Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Dmitry Bakbardin [haru_mamb...@mail.ru] Sent: 07 April 2012 11:30 To: XWiki Users Subject: Re: [xwiki-users] Group rename bug? Thanks a lot, Ricardo! I voted for this problem to be solved, because sometimes it's very annoying to catch misteriously dissapeared access rights, that causes data leaks or access denial. :-( I appeal to the community to vote for this jira issue if you suffered from this bug also and want to see it fixed. :-) Kind Regards, Dmitry Sat, 7 Apr 2012 10:54:21 +0200 от ricardo.julio.rodriguez.fernan...@sergas.es: Hi! Please, check this... http://jira.xwiki.org/browse/XWIKI-3548 From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Dmitry Bakbardin [haru_mamb...@mail.ru] Sent: 07 April 2012 10:08 To: XWiki Users Subject: [xwiki-users] Group rename bug? Hi! By accident I found wierd XWiki behaviour. I played with 3.4. If you rename any Group, all access rights set to this group are gone and admin should set them back once more. Is it a bug or desired behaviour? Kind regards, Dmitry ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm Kind regards, Dmitry ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informacion contida nesta mensaxe e os seus posibles documentos adxuntos e privada e confidencial e esta dirixida unicamente o seu destinatario/a. Se vostede non e o/a destinatario/a orixinal desta mensaxe, por favor eliminea. A distribucion ou copia desta mensaxe non esta autorizada. Nota: La informacion contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y esta dirigida unicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor eliminelo. La distribucion o copia de este mensaje no esta autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Configuration to user different database schema for a particular space?
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 07 April 2012 15:07 To: XWiki Users Subject: [xwiki-users] Configuration to user different database schema for a particular space? Hi Folks, i want to use different database schema for a particular space due to some requirement, though everything else will remain same.I am not sure how i can go for this.I mean is there a way among below options:- 1)Can I mention connection.url in xwikiContext at request level or 2)Can I keep two hibernate.cfg files and specify to pick one of these on the basis of space name? Too tricky for my basic knowledge! Of course I know nothing about the requirements that are leading you to use a different schema but, have you considered the option of using an XWiki farm? Two, in fact, any number, different perfectly integrated virtual wikis. In general, objects are stored in different database schemas, but a lot of great stuff is available out of the box to share contents and cross-manage the whole farm. I would give Enterprise Manager a try before going for fancy solutions! http://manager.xwiki.org/xwiki/bin/view/Main/WebHome HTH! Ricardo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] using XWiki groups
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 06 April 2012 09:58 To: XWiki Users Subject: Re: [xwiki-users] using XWiki groups On Fri, Apr 6, 2012 at 12:53 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi, We found XWiki groups really useful as a metaphor for rather different types of entities. But we are facing a problem. Please, could you follow this reasoning? Given an user, let's say, USER01, she/he will belong to a given number of XWiki groups. Our doubt is, how to represent/stora the particularities of a given user when he/she is included in a given group. Let's me to describe an example. Any user in our organization could play different roles. For instance, for given set of groups he/she could play a coordinator role. But this fact won't affect /conditonate his/her roles when assigned to a different group. The only solution I could think off is to create one property per group a given user belongs to to store his/her role in this group. You mean extending XWiki.XWikiGroups class with a 'role' property? So when you add an user to a group you add a new XWiki.XWikiGroups object to the group's document and set the 'member' property to the user name (XWiki.Ricardo) and the 'role' property to the role the user will have in that group (e.g. 'coordinator'). This sounds good to me. Yeap, this sounds easy and good. But IMO there is still one thing I'm not confortable with in this approach. We use, or intend to use, XWiki group concept for different real life objects. Let me give you three examples: 1. research groups (this is classical approach with a one person-one group belonging relationship) 2. research projects (the group will represent the research team); closer to research groups, but it has its own oddities and 3. scientific papers (the group will represent the paper's authorship); in this case, author order will be king. If we add a single new property to XWiki.XWikiGroups class, 'role' property, it will have different meanings and values depending of what kind of group it will represent. Won't be more advisable to create as many new properties as different meanings XWiki.XWikiGroups object instances will have? In this case, only one property will have a given value. The others will remain empty. This last fact together with the another issue: we are still using a 2.4 XE release, thus we are facing an update in the short time, make me very reluctant to extend any XWiki class. But, of course, if this is the best or the only solution, will go for it! We are thinking about a third party brand new class characterizing any group membership relation. But we have not conceptual model for this data system yet, so I can't offer an objective and independent representation about we are thinking about. Thank you so much for your help! Any idea, comment or criticism will be extremely welcome! Ricardo Hope this helps, Marius Please, could you figure out a better solution? Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm
Re: [xwiki-users] using XWiki groups
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Thomas Mortagne [thomas.morta...@xwiki.com] Sent: 06 April 2012 10:30 To: XWiki Users Subject: Re: [xwiki-users] using XWiki groups On Thu, Apr 5, 2012 at 11:53 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi, We found XWiki groups really useful as a metaphor for rather different types of entities. But we are facing a problem. Please, could you follow this reasoning? Given an user, let's say, USER01, she/he will belong to a given number of XWiki groups. Our doubt is, how to represent/stora the particularities of a given user when he/she is included in a given group. Let's me to describe an example. Any user in our organization could play different roles. For instance, for given set of groups he/she could play a coordinator role. But this fact won't affect /conditonate his/her roles when assigned to a different group. The only solution I could think off is to create one property per group a given user belongs to to store his/her role in this group. Please, could you figure out a better solution? Note sure what exactly you mean by role in your use case but couldn't you achieve this with a right configuration ? I mean some group have access to some part in view, other in edit, others not at all, etc. Thanks, Thomas! Yes, role will have practical implications that must be represented at right configuration level. As Marius said, a good example of role is that of group's coordinator. In fact we call this figure group's leader trying to fit as much as possible to the EFQM (European Foundation for Quality Management) Model. But the point now is the design a method to characterize that role each time an object become member of a given group. Later we'll have to face another issue: could we create some kind of dynamic groups based on that new 'role assignment method? I mean, could we trust some kind of rights to a virtual group integrated by all group leaders? But this is another question that probably deserve its own thread! Any idea will be welcome!!! Thanks, Ricardo Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Looking for these xwiki java API'S or java class containing these functionality?
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 06 April 2012 19:42 To: XWiki Users Subject: [xwiki-users] Looking for these xwiki java API'S or java class containing these functionality? The first thing I would like to understand someday is what does API apply to! I mean, has XWiki a single API? Or has it a lot of them? Perhaps it is only a matter of taste, but I do really like to know how to correctly use this concept. Can Method and API be indistinctly used? Hi Folks, I am looking for three xwiki java api's that do the following functionality 1) I give the space name to api and it creates the space with default home page . Perhaps this could be useful: {{velocity}} #set ($mydoc = $xwiki.getDocument(Dummy.WebHome)) $mydoc.setContent(content) $mydoc.save() {{/velocity}} 2)I give userName,SpaceName and rightsName(like view,edit,delete,admin) to api and it gives these rights on given space name for the given username Does this page through any light to your doubt? http://extensions.xwiki.org/xwiki/bin/view/Extension/Setting+Rights 3)I give spaceName to api and it gives me whether the given space exists or not? I don't know how XWiki checks if a space exists when entered in an URL, but perhaps this could help... $xwiki.getSpaceDocsName('YourSpaceHere).size() If size 0 does mean that YourSpace exists! I was looking for three apis in classes ---com.xpn.xwiki.xwiki.java and com.xpn.xwiki.api.xwiki.java but i could not locate these. But i am sure these api's must be existing (as user is able to do these stuff from user interface). I will be grateful if i can be directed to these apis? Thanks in advance. HTH! Ricardo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] using XWiki groups
Hi, We found XWiki groups really useful as a metaphor for rather different types of entities. But we are facing a problem. Please, could you follow this reasoning? Given an user, let's say, USER01, she/he will belong to a given number of XWiki groups. Our doubt is, how to represent/stora the particularities of a given user when he/she is included in a given group. Let's me to describe an example. Any user in our organization could play different roles. For instance, for given set of groups he/she could play a coordinator role. But this fact won't affect /conditonate his/her roles when assigned to a different group. The only solution I could think off is to create one property per group a given user belongs to to store his/her role in this group. Please, could you figure out a better solution? Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki on Glassfish
Hi! Even though this is a bit off-topic, could you tell me what is the newest Glassfish release that I could run in a java 1.5.0 box? Is there anybody running this environment? Pleaes, what is your experience with it? I keep having memory management problems with a XWiki Enterprise 2.4.30451 installation I do need to keep alive for some more months! Perhaps giving Glassfish a trial could help? I'm currently running Tomcat. Thank you so much!! -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki on Glassfish
I think this is the answer... http://glassfish.java.net/downloads/v2.1.1-final.html Please, anybody running XWiki on OGS 2.1.1? Any comment? Thanks! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Rodriguez Fernandez, Ricardo Julio Sent: 31 March 2012 09:46 To: users@xwiki.org Subject: [xwiki-users] XWiki on Glassfish Hi! Even though this is a bit off-topic, could you tell me what is the newest Glassfish release that I could run in a java 1.5.0 box? Is there anybody running this environment? Pleaes, what is your experience with it? I keep having memory management problems with a XWiki Enterprise 2.4.30451 installation I do need to keep alive for some more months! Perhaps giving Glassfish a trial could help? I'm currently running Tomcat. Thank you so much!! -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to the restrict the user name and group name serach?
Hi! Sorry for being late at following this issue! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 28 March 2012 08:10 To: XWiki Users Subject: Re: [xwiki-users] How to the restrict the user name and group name serach? Hi Racardo, in templates/xwikivars.vm i already see below code #if ($hasAdmin || $isAdvancedUser) #set ($blacklistedSpaces = []) #else #set ($blacklistedSpaces = ['Import', 'Panels', 'Scheduler', 'Stats', 'XAppClasses', 'XAppSheets', 'XAppTemplates', 'XWiki', 'WatchCode', 'WatchSheets', 'XApp', 'WatchAdmin', 'Watch', 'ColorThemes', 'AnnotationCode']) #end As per above code looks like 'XWiki' space is already a blacklisted space nor user other than admin rights.But still i am able to search user and group name? Well, as far as I see here, xwikivars.vm is woking as expected. Please, are you sure you are using a simple user that is not an Admin? As you see in the if clausule, for Admin and Advanceduser, $blacklistedSpaces is set to a blank list. Thus, documents in all spaces are in the result set of any given search. HTH! Ricardo On Wed, Mar 28, 2012 at 3:16 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 27 March 2012 13:49 To: XWiki Users Subject: [xwiki-users] How to the restrict the user name and group name serach? Hi All, I dont want to allow the user name or group name search on xwiki(either it is on click of search button and search sugest). *Basically what i want is if any user put some user name or user group name in search text box , it should not return any results. Looking for your expert suggestion how i can go for it?* I am sure it should be possible in xwiki looking at its flexibility but could not figure it out how. Even if i have to make some modification in code iam open for that. Thanks in advance. By default, users and groups are created in XWiki space. Perhaps could it be useful and enough for you to blacklist XWiki space as stated here...? http://jira.xwiki.org/browse/XWIKI-6679 HTH! Ricardo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to the restrict the user name and group name serach?
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 27 March 2012 13:49 To: XWiki Users Subject: [xwiki-users] How to the restrict the user name and group name serach? Hi All, I dont want to allow the user name or group name search on xwiki(either it is on click of search button and search sugest). *Basically what i want is if any user put some user name or user group name in search text box , it should not return any results. Looking for your expert suggestion how i can go for it?* I am sure it should be possible in xwiki looking at its flexibility but could not figure it out how. Even if i have to make some modification in code iam open for that. Thanks in advance. By default, users and groups are created in XWiki space. Perhaps could it be useful and enough for you to blacklist XWiki space as stated here...? http://jira.xwiki.org/browse/XWIKI-6679 HTH! Ricardo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] setting a value for a class property
Thanks Sergiu, please, see below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu [ser...@xwiki.com] Sent: 25 March 2012 03:44 To: XWiki Users Subject: Re: [xwiki-users] setting a value for a class property On 03/24/2012 06:42 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! Please, allow me to add some code here. From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Rodriguez Fernandez, Ricardo Julio Sent: 24 March 2012 19:57 To: users@xwiki.org Subject: [xwiki-users] setting a value for a class property Hi, I'm struggling with the way of setting values for properties using forms. I think I understand how to use displayEdit (some minor customization of calendar application is up and running here!) but I'm not able to set a value for another properties programmatically. Something that simple as setting the value of one property with the current user. This form works nicely, but how could I make, for instance, asign to location a given value, for instance the current user? Thanks! 1.1.1.1 $msg.get(eventNew) #set($cclass = $xwiki.getDocument(XWiki.CalendarEvent).getxWikiClass()) #set($event = $cclass.newObject()) $event.set('location', 'Paris, France') Please, are equivalent these two snippets? The first one uses $event.set, the second one input type=hidden... SNIPPET 1 1.1.1.1 $msg.get(eventNew) #set($cclass = $xwiki.getDocument(XWiki.CalendarEvent).getxWikiClass()) #set($event = $cclass.newObject()) $event.set('location', 'Paris, France') form action=$doc.getURL('objectadd') method=get div div class=hidden ... /div dl ... input type=submit value=$msg.get(eventAdd) / /div /form SNIPPET 2 1.1.1.1 $msg.get(eventNew) #set($cclass = $xwiki.getDocument(XWiki.CalendarEvent).getxWikiClass()) #set($event = $cclass.newObject()) form action=$doc.getURL('objectadd') method=get div div class=hidden input type=hidden name=XWiki.XWiki.CalendarEvent_location value='Paris, France' / ... /div dl ... input type=submit value=$msg.get(eventAdd) / /div /form Thanks!!! Ricardo form action=$doc.getURL('objectadd') method=get div div class=hidden input type=hidden name=classname value=XWiki.CalendarEvent / input type=hidden name=xredirect value=${doc.getURL('view')} / /div dl #set($pclass = $cclass.get(location)) dt class=labellabel$msg.get(eventLocation):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd #set($pclass = $cclass.get(startDate)) dt class=labellabel$msg.get(eventStartdate):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd #set($pclass = $cclass.get(endDate)) dt class=labellabel$msg.get(eventEnddate):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd #set($pclass = $cclass.get(description)) dt class=labellabel$msg.get(eventDescription):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd /dl input type=submit value=$msg.get(eventAdd) / /div /form Please, could you point me to some example? Thanks for your help! Ricardo -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] setting a value for a class property
Hi! Please, allow me to add some code here. From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Rodriguez Fernandez, Ricardo Julio Sent: 24 March 2012 19:57 To: users@xwiki.org Subject: [xwiki-users] setting a value for a class property Hi, I'm struggling with the way of setting values for properties using forms. I think I understand how to use displayEdit (some minor customization of calendar application is up and running here!) but I'm not able to set a value for another properties programmatically. Something that simple as setting the value of one property with the current user. This form works nicely, but how could I make, for instance, asign to location a given value, for instance the current user? Thanks! 1.1.1.1 $msg.get(eventNew) #set($cclass = $xwiki.getDocument(XWiki.CalendarEvent).getxWikiClass()) #set($event = $cclass.newObject()) form action=$doc.getURL('objectadd') method=get div div class=hidden input type=hidden name=classname value=XWiki.CalendarEvent / input type=hidden name=xredirect value=${doc.getURL('view')} / /div dl #set($pclass = $cclass.get(location)) dt class=labellabel$msg.get(eventLocation):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd #set($pclass = $cclass.get(startDate)) dt class=labellabel$msg.get(eventStartdate):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd #set($pclass = $cclass.get(endDate)) dt class=labellabel$msg.get(eventEnddate):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd #set($pclass = $cclass.get(description)) dt class=labellabel$msg.get(eventDescription):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd /dl input type=submit value=$msg.get(eventAdd) / /div /form Please, could you point me to some example? Thanks for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] setting a value for a class property
And now, the solution: http://lists.xwiki.org/pipermail/users/2006-June/001526.html Here you can find lines like this one: input type=hidden name=XWiki.XWikiComments_author value=$context.user / Easy! But I've spent sometime loking for this solution. I must have guessed the structure of the name of the properties of a given class from Calendar examples. But I didn't! Thanks and sorry for the noise! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Rodriguez Fernandez, Ricardo Julio Sent: 24 March 2012 23:42 To: users@xwiki.org Subject: Re: [xwiki-users] setting a value for a class property Hi! Please, allow me to add some code here. From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Rodriguez Fernandez, Ricardo Julio Sent: 24 March 2012 19:57 To: users@xwiki.org Subject: [xwiki-users] setting a value for a class property Hi, I'm struggling with the way of setting values for properties using forms. I think I understand how to use displayEdit (some minor customization of calendar application is up and running here!) but I'm not able to set a value for another properties programmatically. Something that simple as setting the value of one property with the current user. This form works nicely, but how could I make, for instance, asign to location a given value, for instance the current user? Thanks! 1.1.1.1 $msg.get(eventNew) #set($cclass = $xwiki.getDocument(XWiki.CalendarEvent).getxWikiClass()) #set($event = $cclass.newObject()) form action=$doc.getURL('objectadd') method=get div div class=hidden input type=hidden name=classname value=XWiki.CalendarEvent / input type=hidden name=xredirect value=${doc.getURL('view')} / /div dl #set($pclass = $cclass.get(location)) dt class=labellabel$msg.get(eventLocation):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd #set($pclass = $cclass.get(startDate)) dt class=labellabel$msg.get(eventStartdate):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd #set($pclass = $cclass.get(endDate)) dt class=labellabel$msg.get(eventEnddate):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd #set($pclass = $cclass.get(description)) dt class=labellabel$msg.get(eventDescription):/label/dt dd$doc.displayEdit($pclass,XWiki.CalendarEvent_,$event)/dd /dl input type=submit value=$msg.get(eventAdd) / /div /form Please, could you point me to some example? Thanks for your help! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la
Re: [xwiki-users] Xwiki Enterprise Vs Platform
Thanks! http://www.xwiki.org/xwiki/bin/view/FAQ/XWiki+Enterprise+Vs+Platform%3A+what+is+the+difference+between+them%3F From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu [ser...@xwiki.com] Sent: 23 March 2012 05:11 To: XWiki Users Subject: Re: [xwiki-users] Xwiki Enterprise Vs Platform On 03/22/2012 07:06 AM, mohit gupta wrote: At link http://www.xwiki.org/xwiki/bin/view/Main/Forge I see the XWiki Enterprisehttp://enterprise.xwiki.org/xwiki/bin/view/Main/WebHome and XWiki Platformhttp://platform.xwiki.org/xwiki/bin/view/Main/WebHome as two differnt projects. But features explained at below two links looks almost same to me.As per my understanding basic war file( xwiki-enterprise-web-3.2-war ) is considered as platform project and when we import XAR file on top of that it becomes enterprise project. This is just a guess. Probably you folks can provide better inside what is the basuc difference between these two projects. http://enterprise.xwiki.org/xwiki/bin/view/Main/Features http://platform.xwiki.org/xwiki/bin/view/Main/WebHome The platform is all that can be found in http://maven.xwiki.org/releases/org/xwiki/platform/ There is no final package that one can install to get the XWiki Platform running. The platform consists of all the different modules that are developed by the XWiki community and included by the committers in the official repository. The real outcome of the platform is this collection of modules that can be combined together to make useful applications. Each module serves a different purpose and brings one or more features to the XWiki Platform offering. XWiki Enterprise is just a way to group some platform modules, in order to get a usable product. All the built packages available under http://maven.xwiki.org/releases/org/xwiki/enterprise/ are XE, even if they don't include the default set of documents (the Enterprise XAR). All the features of XWiki Enterprise are actually features provided by the platform. But the platform provides more feature than what XE includes. For example, the IRC application allows a wiki to connect to an IRC channel and communicate in both ways: log in the wiki what happens on IRC, and notify in the IRC of what happens in the wiki. But this application isn't included in XWiki Enterprise, since it's too specific and doesn't match the goal of the XE distribution. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki Enterprise Vs Platform
Hi! I think you are simply right. As stated in a number of places along XWiki sites, **XWiki Enterprise** is the default wiki product based on the **XWiki Platform**. XWiki Platforms adds a number of out of the box features making your life easier! I you want a simpler way, install only Platform and develop on your own what you prefer for your users. HTH, Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 22 March 2012 12:06 To: XWiki Users Subject: [xwiki-users] Xwiki Enterprise Vs Platform At link http://www.xwiki.org/xwiki/bin/view/Main/Forge I see the XWiki Enterprise http://enterprise.xwiki.org/xwiki/bin/view/Main/WebHome and XWiki Platform http://platform.xwiki.org/xwiki/bin/view/Main/WebHome as two differnt projects. But features explained at below two links looks almost same to me.As per my understanding basic war file( xwiki-enterprise-web-3.2-war ) is considered as platform project and when we import XAR file on top of that it becomes enterprise project. This is just a guess. Probably you folks can provide better inside what is the basuc difference between these two projects. http://enterprise.xwiki.org/xwiki/bin/view/Main/Features http://platform.xwiki.org/xwiki/bin/view/Main/WebHome ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] java heap out of memory error during import of 72MB XAR file?
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Thomas Mortagne [thomas.morta...@xwiki.com] Sent: 21 March 2012 14:45 To: XWiki Users Subject: Re: [xwiki-users] java heap out of memory error during import of 72MB XAR file? Note that the file has to be on the same server than XWiki, it's not getting the file from the client. On Wed, Mar 21, 2012 at 2:30 PM, mohit gupta motgu...@gmail.com wrote: Hi Ricardo, Thanks a lot . Link http://atriumkm.idisantiago.es/bin/ICT/LargeXARImport#Attachments worked.It helped a lot. But one more question as it is said Once installed, indicate the full server file system path of the XAR you wish to import. A confirmation will be asked. i tried giving the path in below formats Format1 :-E:/MyWiki/src/main/resource/FIPWikiXar Format1 :-E:/MyWiki/src/main/resource/FIPWikiXar.xar Format1 :-E:\\MyWiki\\src\\main\\resourc\\/FIPWikiXar.xar But it says java.io.FileNotFoundException: E:MyWikisrcmainresourceFIPWikiXar (The system cannot find the path specified). Could you give a example how i am supposed to give path? In a Suse Linux box this simple syntax works for me (I'm using a small xar file including a XWiki application as a sample)... /home/RicardoRodriguez/Documents/xwiki-application-calendar-1.1.xar I get this nice screen... http://atriumkm.idisantiago.es/bin/download/ICT/LargeXARImport/myImportXARPageSample.png What O.S. and application container are you running over there? HTH! Ricardo On Wed, Mar 21, 2012 at 4:14 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 20 March 2012 09:46 To: XWiki Users Subject: Re: [xwiki-users] java heap out of memory error during import of 72MB XAR file? Hi Recardo, At step 6 i.e the moment i save code snippet, gets below error.Looks like there a issue in code snippet. Can you send it as attachment, if you have it or pint me to correct code snippet location.Thanks in advance. I can send it to you as an attachment, of course, but it is the snipet available here... http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import Here you have a file with the code... http://atriumkm.idisantiago.es/bin/ICT/LargeXARImport#Attachments But it is not a good idea to copy/paste original code in different locations! The best idea is to discuss and, if needed contribute changes to the XWiki location. *Wrapped Exception:* * org.apache.velocity.runtime.parser.TemplateParseException: Encountered :395)rntat org.apache.velocity.util.introspection.UberspectImpl at xwiki:MySpace.ImportXAR**line 46, column 106?* https://localhost/fipwiki/bin/edit/FIP/line+46%2C+column+106?parent=FIP.ImportXAR * Was expecting one of: [ … , … ) … WHITESPACE ...* Please, what editor are you using? As stated in the Install section, you must use Wiki Editor, not WYSIWYG one. I've no clue about the error. WTW, is this the same XWiki installation where you are having problems with admin password? Is it finally working fine? Could you try to save any other Groovy snippet? Could you try, for instance, to run Large Wiki Export? It is available here... http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Wiki+Export Please, let me know if it works for you! Thanks! * *at org.apache.velocity.runtime.parser.Parser.parse(Parser.java:131) at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:1226) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:179) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:152) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:94) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:291) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:221) On Tue, Mar 20, 2012 at 4:11 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 19 March 2012 18:28 To: XWiki Users Subject: Re: [xwiki-users] java heap out of memory error during import of 72MB XAR file? Thanks Ricardo for reply. But want to confirm few questions about how to install it.I would be really grateful if you can answer them. Let me tell you what i did 1)Create a new page with name myImportXARPage 2)Then i put the complete code snippet given at
Re: [xwiki-users] java heap out of memory error during import of 72MB XAR file?
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 20 March 2012 09:46 To: XWiki Users Subject: Re: [xwiki-users] java heap out of memory error during import of 72MB XAR file? Hi Recardo, At step 6 i.e the moment i save code snippet, gets below error.Looks like there a issue in code snippet. Can you send it as attachment, if you have it or pint me to correct code snippet location.Thanks in advance. I can send it to you as an attachment, of course, but it is the snipet available here... http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import Here you have a file with the code... http://atriumkm.idisantiago.es/bin/ICT/LargeXARImport#Attachments But it is not a good idea to copy/paste original code in different locations! The best idea is to discuss and, if needed contribute changes to the XWiki location. *Wrapped Exception:* * org.apache.velocity.runtime.parser.TemplateParseException: Encountered :395)rntat org.apache.velocity.util.introspection.UberspectImpl at xwiki:MySpace.ImportXAR**line 46, column 106?*https://localhost/fipwiki/bin/edit/FIP/line+46%2C+column+106?parent=FIP.ImportXAR * Was expecting one of: [ … , … ) … WHITESPACE ...* Please, what editor are you using? As stated in the Install section, you must use Wiki Editor, not WYSIWYG one. I've no clue about the error. WTW, is this the same XWiki installation where you are having problems with admin password? Is it finally working fine? Could you try to save any other Groovy snippet? Could you try, for instance, to run Large Wiki Export? It is available here... http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Wiki+Export Please, let me know if it works for you! Thanks! * *at org.apache.velocity.runtime.parser.Parser.parse(Parser.java:131) at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:1226) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:179) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:152) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:94) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:291) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:221) On Tue, Mar 20, 2012 at 4:11 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 19 March 2012 18:28 To: XWiki Users Subject: Re: [xwiki-users] java heap out of memory error during import of 72MB XAR file? Thanks Ricardo for reply. But want to confirm few questions about how to install it.I would be really grateful if you can answer them. Let me tell you what i did 1)Create a new page with name myImportXARPage 2)Then i put the complete code snippet given at http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Importunder this page. But pagge looks totally weird and dont know how to proceed with this. PFA the screenshot of that. It would be helpful if you can let me know how to exactly follow the steps at http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import. Like in install section it says *Edit a page in wiki mode, make sure the syntax of the page is xwiki/1.0 and save it. * i am not sure which page needs to be edited. You have to create a new XWiki document, let's say, YourSpace/myImportXARPage. As it probably doesn't exist on your wiki, the system will offer you the posibility to create it. Thus, create it! And do it using XWiki 1.0 syntax! The easiest and simples way of doing this is: 1. Copy the code of the snippet. It is available at http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import#HSnippet 2. Login with an admin account in your system. 3. Point your browser to the new page. Let's say http://yourhostname/bin/ICT/yourImportXARPage 4. Edit the page, select XWiki 1.0 as Page Syntax (right column). 5. Paste the code of the snippet and save it. 6. You must see, more or less, this... http://atriumkm.idisantiago.es/bin/download/ICT/Images/myImportXARPage.png Then in* how to use * section it says *Once installed, indicate the full server file system path of the XAR you wish to import. A confirmation will be asked. * Well, this is self-explaining! What needs to be installed here and where i am expected to mention the path of XAR file. At One place it also says *The snippet requires programming rights to run.* Whatexactly needs to be run. Nothing to be installed! XWiki is a great framework that a allows you to develop
Re: [xwiki-users] java heap out of memory error during import of 72MB XAR file?
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 19 March 2012 18:28 To: XWiki Users Subject: Re: [xwiki-users] java heap out of memory error during import of 72MB XAR file? Thanks Ricardo for reply. But want to confirm few questions about how to install it.I would be really grateful if you can answer them. Let me tell you what i did 1)Create a new page with name myImportXARPage 2)Then i put the complete code snippet given at http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import under this page. But pagge looks totally weird and dont know how to proceed with this. PFA the screenshot of that. It would be helpful if you can let me know how to exactly follow the steps at http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import. Like in install section it says *Edit a page in wiki mode, make sure the syntax of the page is xwiki/1.0 and save it. * i am not sure which page needs to be edited. You have to create a new XWiki document, let's say, YourSpace/myImportXARPage. As it probably doesn't exist on your wiki, the system will offer you the posibility to create it. Thus, create it! And do it using XWiki 1.0 syntax! The easiest and simples way of doing this is: 1. Copy the code of the snippet. It is available at http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import#HSnippet 2. Login with an admin account in your system. 3. Point your browser to the new page. Let's say http://yourhostname/bin/ICT/yourImportXARPage 4. Edit the page, select XWiki 1.0 as Page Syntax (right column). 5. Paste the code of the snippet and save it. 6. You must see, more or less, this... http://atriumkm.idisantiago.es/bin/download/ICT/Images/myImportXARPage.png Then in* how to use * section it says *Once installed, indicate the full server file system path of the XAR you wish to import. A confirmation will be asked. * Well, this is self-explaining! What needs to be installed here and where i am expected to mention the path of XAR file. At One place it also says *The snippet requires programming rights to run.* Whatexactly needs to be run. Nothing to be installed! XWiki is a great framework that a allows you to develop great application at presentation level! Thus, in this case, you have only to copy and paste the snippet code to have a great application to import big XARs. Sorry Ricardo, too many questions here, but really looking what are the exact steps to execute this code snippet. Again thanks for your patience. Glad to be useful! i do hope other correct me if I'm wrong at any step/comment! Thanks to eveybody! HTH! Ricardo On Mon, Mar 19, 2012 at 1:38 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! Have you tried this? http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import HTH! Ricardo From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 18 March 2012 13:26 To: XWiki Users Subject: [xwiki-users] java heap out of memory error during import of 72MB XAR file? I have XAR file of 72MB . When i Import it thru XWI UI i get java heap out of memory error. I have mentioened the value of JAVA_OPTS as -Xms1024m -Xmx1024m. My hardware specification is 32 bit windows operating system and 4 GB RAM. and using the tomcat as webserver. If i increase the value of JAVA_OPTS to -Xms1536m -Xmx1536m, tomcat does not even start(Probably reason is 32 bit operating system and 4 GB RAM). I can not increase change the server configuration somehow.How should i go about resolving this issue? The only thing i can take help for now is do all the set up stuff on 8GB machine and do restore of database on 4GB machine. But again i am worried with some repurcussion of this approach i.e if there is a deltion/rename of some column etc , on new xwiki version an. then it will be hard time for me to restore the databse. Looking for quick response. i am sure you guys also must had faced this issue in past. Kindly share your experiences For your information same xar file gets imported on 64 bit operating system and 8GB RAM but how should i successfully resolve import of 72MB XAR file on 32 bit OS and 4 GB RAM? i can not upgrade this client machine due to some restrictions. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es
Re: [xwiki-users] How to change the default font size of the colibri skin
Hi Ralf, please, see below, From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of qupera [ra...@gmx.de] Sent: 17 March 2012 10:42 To: users@xwiki.org Subject: Re: [xwiki-users] How to change the default font size of the colibri skin Hi there, hm, no answer yet. Is it that difficult? Or is the question somewhat unclear? Did nobody ever change the font or the font size of a skin? Or is it so easy and I am too dumb to see it? Do I have to provide more informations? Please let me know and thanks in advance Ralf To the best of my knowledge there is not a concept like default font or font size of a skin. XWiki relays on a reach CSS based system to customized any aspect of the layout. Unfortunately I've been far from XWiki development for a while and can't give you a clear insight about this issue, but I think I can provide some hints. Please, check this out... 1. Use this link as a reference for any question posted here: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins 2. Install and extensively use some tool like Firebug for Firefox. It easily allow you test the effect of CSS changes and track it to the required files in XWiki skins files. 3. Check and understand this interesting feature http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Extension+Plugin Thus, the change of the font or font size depends somehow on what component we are speaking about. Others will correct me if there is something like a roor level to define font styles within XWiki! I'm sure list users will do their best/our best to answer any more precise question HTH!!! Ricardo -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-change-the-default-font-size-of-the-colibri-skin-tp7374744p7381364.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 Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [GSOC] XWiki has been accepted as a mentoring organization for Google Summer of Code 2012
Congratulations! I'm afraid I'm not the one to apply :-) ! But I keep trying to find students that want to accept this challenge! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: devs-boun...@xwiki.org [devs-boun...@xwiki.org] On Behalf Of Eduard Moraru [enygma2...@gmail.com] Sent: 17 March 2012 15:33 To: XWiki Developers Cc: XWiki Users Subject: [xwiki-devs] [GSOC] XWiki has been accepted as a mentoring organization for Google Summer of Code 2012 Hi devs and users, I would like to announce that XWiki has been accepted as a mentoring organization for Google Summer of Code 2012. This is our 7th year participating in the program. If you are an interested student, please have a look over the list of proposed projects and feel free ask any questions on the devs@xwiki.orglist. http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/WebHome#HProposedProjects2829 If you plan to be a mentor this summer, don`t forget to *register* as such on XWiki's melange page http://www.google-melange.com/gsoc/org/google/gsoc2012/xwiki. The program's timeline is available at http://www.google-melange.com/gsoc/events/google/gsoc2012 Additional information can be found at http://gsoc.xwiki.org Thanks, Eduard ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to change the default font size of the colibri skin
Please, Ralf, have you installed Firebug? It is a great and indispensable piece of software while working, among other things, with layouts What is the element you are trying to customize? Cheers! -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Ralf Quebbemann [ra...@gmx.de] Sent: 17 March 2012 11:26 To: XWiki Users; users@xwiki.org Subject: Re: [xwiki-users] How to change the default font size of the colibri skin Hi Ricardo, thanks for your answer. I already checked The admin skin guide but the extension is new to me. I will give it a try. Also i already tried changes to the css but i cant seem to find The correct Element so far. Bye ralf -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. ricardo.julio.rodriguez.fernan...@sergas.es schrieb: Hi Ralf, please, see below, _ From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of qupera [ra...@gmx.de] Sent: 17 March 2012 10:42 To: users@xwiki.org Subject: Re: [xwiki-users] How to change the default font size of the colibri skin Hi there, hm, no answer yet. Is it that difficult? Or is the question somewhat unclear? Did nobody ever change the font or the font size of a skin? Or is it so easy and I am too dumb to see it? Do I have to provide more informations? Please let me know and thanks in advance Ralf To the best of my knowledge there is not a concept like default font or font size of a skin. XWiki relays on a reach CSS based system to customized any aspect of the layout. Unfortunately I've been far from XWiki development for a while and can't give you a clear insight about this issue, but I think I can provide some hints. Please, check this out... 1. Use this link as a reference for any question posted here: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins 2. Install and extensively use some tool like Firebug for Firefox. It easily allow you test the effect of CSS changes and track it to the required files in XWiki skins files. 3. Check and understand this interesting feature http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Extension+Plugin Thus, the change of the font or font size depends somehow on what component we are speaking about. Others will correct me if there is something like a roor level to define font styles within XWiki! I'm sure list users will do their best/our best to answer any more precise question HTH!!! Ricardo -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-change-the-default-font-size-of-the-colibri-skin-tp7374744p7381364.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 Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm _ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada. Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users