[xwiki-users] Scheduler not working on virtual Wiki
Hallo, I encountered a problem with the scheduler application. I call a groovy skript which should create a new Document. It works fine with the Main Wiki for the scheduler application, it works for virtual wiki's if I call the script from a Document. However, when I create a scheduler job with exactly the same script in a virtual wiki it does nothing. Tried both with the Admin account from the main Wiki and with the Owner account of the virtual wiki. I assume its a rights issue but I have no idea what the problem is. Can anyone help? Best Regards Thomas -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] FWD: TAG Application with international characters
Hi, Could you provide more details? OS, XWiki version (and whether it was upgraded from later version), browser version, which DB... Standard Jetty+HSQLDB on FF works fine for me with índio as tag. Regards, Alex On 08/30/2010 09:36 PM, Ramon Gomes Brandão - SERINT wrote: Hi, In the Tags Application at the bottom of Main.WebHome, all the assigned tags are displayed correctly with international characters (like í, ç, ô á etc). When Ii click on one of them to present the tagged documents, the tag appears all messed up due to the intl chars (such as Atilde; in place of í etc). Clicking on it, a Failed to execute velocity macro message appears (maybe due to the invalid URL, example for the word índio .../Main/Tags?do=viewTagtag=%C3%83%C2%ADndio). How can I fix that? Regards, Ramon Gomes Brandão ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki Variable's list
Where can I see the name of all the default variables used by xwiki, for example, the user name, e mail, etc. Thanks a lot -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-Variable-s-list-tp5481740p5481740.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Help needed with customizing of Toucan skin
Many thanks for all the advise and tips Raluca!! I really appreciate that :-) Best regards, Kaya On 30/08/2010 10:50, Raluca Stavro wrote: Hello, On Sat, Aug 28, 2010 at 4:21 PM, Kaya Samankayasa...@gmail.com wrote: Ok I actually managed to sort this out First up I played around with the style.css file and used the @include statement to include the css for the red background just to try out. I then created a new css style sheet called bg-mod.css under /usr/local/apache-tomcat-6.0/webapps/xwiki/skins/toucan/css/colors in my FreeBSD jail which has this content: body#body, #allviewpanels .accordionTabContentBox{background-image: url( ../../images/colors/gray/H4x4-GRAY.png); } body#body #xwikimaincontainer, body.hideright #xwikimaincontainer, body#body.hideright #xwikimaincontainerinner, body.importbody #xwikimaincontainerinner, body.exportbody #xwikimaincontainerinner, body.adminbody #xwikimaincontainerinner, body.hidelefthideright #xwikimaincontainerinner, body#body.hidelefthideright #xwikimaincontainerinner { background-image :url( ../../images/colors/bg/gpl.png) ; } #xwikimaincontainerinner, body#body.editbody #xwikimaincontainerinner, body#body.eportbody #xwikimaincontainer, body#body.importbody #xwikimaincontainer, body#body.adminbody #xwikimaincontainer, body#body.hidelefthideright #xwikimaincontainer, body#body.hideleft #xwikimaincontainer, body#body.editbody #xwikimaincontainer { background-image :url( ../../images/colors/bg/gpl_right.png) ;} body#body.editbody #globallinks, #globallinks, #rightPanels, #editPanels.panels{ background-image: url( ../../images/colors/bg/gpl.png);} #company { background-image: url( ../../images/colors/bg/gpl.png); } I then created the subdir under images/colors called bg and uploaded some files into it. My style.css file now looks like so: @import microformats.css; @import toucan.css; @import css/colors/bg-mod.css; After that was done and tested I edited the toucan.css file generating this code: #companylogo { padding: 0; ###background-color: #FFF; ###background-color: #666; background-color: #transparent; margin-right: 220px; ###margin-right: 0px; height: 80px; ###background-image: url($xwiki.getSkinFile(sunv210mod.png)); } What seems to not have been working is the url($xwiki.getSkinFile(sunv210mod.png) line I got from here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins#HD.OverridingtheSkincomponents $xwiki.getSkinFile(sunv210mod.png) searches the image file like this : 1. in the current skin 1.1 in the specified Skin Document ( http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins#HA.CreatingaSkindocument ) 1.2 if no success, in the '/skins/myskin/' directory (in your case: '/skins/toucan/') 1.3 if no success, in the '/resources/' directory 2. if no success, in the parent skin (if the current skin is a Skin Document and has set a parent skin) 3. if no success, in the default base skin directory (the one set it 'xwiki.cfg') So, do like you did with the other images - put it under the '/bg/' directory and use a relative path for the url: #companylogo { background-image: url(../../images/colors/bg/sunv210mod.png); } or attach the image to the current Skin Document. Raluca. I mean either it does work or I just don't know how to use it but never the less what I wanted to achieve is done to an extent :-) Thanks for all the help and regards, Kaya On 08/28/2010 11:32 AM, Raluca Stavro wrote: Hello, I tend to think that your CSS selectors are not specific enough. See http://www.w3.org/TR/CSS2/cascade.html . You have to make sure that your CSS rules are taken in account after the default XWiki CSS rules (ex: CSS StyleSheet linked in the header after the default ones that contain the rules that you want to change =this can be done by using skin extensions http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial ) and you have to make sure that your selector's specificity is correct. Raluca. On Sat, Aug 28, 2010 at 9:38 AM, Kaya Samankayasa...@gmail.comwrote: Thanks Lockie for the suggestion only the same thing is happening!! Firebug definitely shows the CSS alright but I alter what the screen is telling and nothing happens even though Firebug reports the change after a refresh The issue is that the CSS is quite complex and am no CSS expert meaning that if things are dependent on certain criteria I won't be able to see it. Am back where I started I guess :-( Regards, Kaya On 08/28/2010 03:51 AM, Lockie wrote: Hi Kaya, While I haven't worked with Toucan skin before, the easiest way to edit the .css file of any skin is to get the Firebug addon for the Firefox browser. Then its just a matter clicking on the html in the main panel, and seeing what css is related to which part of
[xwiki-users] How do I for order a data list in xwiki?
I have the following data that I recover from the XWiki data base, but I need order it. Thanks in advance #set ($list = $xwiki.tag.getDocumentsWithTag($tag)) div div id=dashboardleft div id=dashboardleftcontent #displayDocumentList($list true $blacklistedSpaces) /div /div /div div style=clear:both; margin-bottom: 40px;!-- --/div -- View this message in context: http://xwiki.475771.n2.nabble.com/How-do-I-for-order-a-data-list-in-xwiki-tp5481842p5481842.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Mindmap macro
I just discovered the Freemind macro and I'm very happy. This macro displays an attached freemind file in a wiki page using a flash component. It works fine, and the installation is straightforward. Thank you Fabio Mancinelli. A valuable enhancement would be to specify the height of the map as a parameter of the macro. I found a way to do it using the following snippet : (% id=flashcontent style=height:800px %)((( {{freemind map=FileName/}} ))) It works but it's clearly dirty, it generates 2 div with the same id. If you have a better idea, I'll be happy to read you. Regards, Maxime ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Variable's list
The user name is available through $xcontext.getUser() The other user information is not stored in variables, you can get it by loading the user's document and getting the user object from it: #set($userObj = $xwiki.getDocument($xcontext.getUser()).getObject('XWiki.XWikiUsers')) $userObj.getProperty('first_name') For a list of properties of the user object (eg: 'first_name') go to yourwiki/xwiki/bin/view/XWiki/XWikiUsers For more information about other variables and scripting in general you can check: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting Caleb abrante wrote: Where can I see the name of all the default variables used by xwiki, for example, the user name, e mail, etc. Thanks a lot ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How do I for order a data list in xwiki?
You may want to look at the velocity SortTool. http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/SortTool.html Depending on what value you want to sort by, you might need to replace getDocumentsWithTag with a custom query. Caleb abrante wrote: I have the following data that I recover from the XWiki data base, but I need order it. Thanks in advance #set ($list = $xwiki.tag.getDocumentsWithTag($tag)) div div id=dashboardleft div id=dashboardleftcontent #displayDocumentList($list true $blacklistedSpaces) /div /div /div div style=clear:both; margin-bottom: 40px;!-- --/div ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] administering users in a XWiki Farm
Hi, xwikiers! I am sure I am missing some clear point, but I am not able to find documentation on how administer users in a XWiki Farm. My basic concern relates with global users being included in virtual wikis' groups. I've reached this document... http://manager.xwiki.org/xwiki/bin/view/AdminGuide/ Could it be welcome a link to User and Group Management there and to complete this document to include management in a xwiki farm? Am I missing anything obvious? Thanks for your help! Ricardo -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Help needed with customizing of Toucan skin
On Tue, Aug 31, 2010 at 12:27 PM, Kaya Saman kayasa...@gmail.com wrote: Many thanks for all the advise and tips Raluca!! You're welcome! :) Raluca. I really appreciate that :-) Best regards, Kaya On 30/08/2010 10:50, Raluca Stavro wrote: Hello, On Sat, Aug 28, 2010 at 4:21 PM, Kaya Samankayasa...@gmail.com wrote: Ok I actually managed to sort this out First up I played around with the style.css file and used the @include statement to include the css for the red background just to try out. I then created a new css style sheet called bg-mod.css under /usr/local/apache-tomcat-6.0/webapps/xwiki/skins/toucan/css/colors in my FreeBSD jail which has this content: body#body, #allviewpanels .accordionTabContentBox{background-image: url( ../../images/colors/gray/H4x4-GRAY.png); } body#body #xwikimaincontainer, body.hideright #xwikimaincontainer, body#body.hideright #xwikimaincontainerinner, body.importbody #xwikimaincontainerinner, body.exportbody #xwikimaincontainerinner, body.adminbody #xwikimaincontainerinner, body.hidelefthideright #xwikimaincontainerinner, body#body.hidelefthideright #xwikimaincontainerinner { background-image :url( ../../images/colors/bg/gpl.png) ; } #xwikimaincontainerinner, body#body.editbody #xwikimaincontainerinner, body#body.eportbody #xwikimaincontainer, body#body.importbody #xwikimaincontainer, body#body.adminbody #xwikimaincontainer, body#body.hidelefthideright #xwikimaincontainer, body#body.hideleft #xwikimaincontainer, body#body.editbody #xwikimaincontainer { background-image :url( ../../images/colors/bg/gpl_right.png) ;} body#body.editbody #globallinks, #globallinks, #rightPanels, #editPanels.panels{ background-image: url( ../../images/colors/bg/gpl.png);} #company { background-image: url( ../../images/colors/bg/gpl.png); } I then created the subdir under images/colors called bg and uploaded some files into it. My style.css file now looks like so: @import microformats.css; @import toucan.css; @import css/colors/bg-mod.css; After that was done and tested I edited the toucan.css file generating this code: #companylogo { padding: 0; ###background-color: #FFF; ###background-color: #666; background-color: #transparent; margin-right: 220px; ###margin-right: 0px; height: 80px; ###background-image: url($xwiki.getSkinFile(sunv210mod.png)); } What seems to not have been working is the url($xwiki.getSkinFile(sunv210mod.png) line I got from here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins#HD.OverridingtheSkincomponents $xwiki.getSkinFile(sunv210mod.png) searches the image file like this : 1. in the current skin 1.1 in the specified Skin Document ( http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins#HA.CreatingaSkindocument ) 1.2 if no success, in the '/skins/myskin/' directory (in your case: '/skins/toucan/') 1.3 if no success, in the '/resources/' directory 2. if no success, in the parent skin (if the current skin is a Skin Document and has set a parent skin) 3. if no success, in the default base skin directory (the one set it 'xwiki.cfg') So, do like you did with the other images - put it under the '/bg/' directory and use a relative path for the url: #companylogo { background-image: url(../../images/colors/bg/sunv210mod.png); } or attach the image to the current Skin Document. Raluca. I mean either it does work or I just don't know how to use it but never the less what I wanted to achieve is done to an extent :-) Thanks for all the help and regards, Kaya On 08/28/2010 11:32 AM, Raluca Stavro wrote: Hello, I tend to think that your CSS selectors are not specific enough. See http://www.w3.org/TR/CSS2/cascade.html . You have to make sure that your CSS rules are taken in account after the default XWiki CSS rules (ex: CSS StyleSheet linked in the header after the default ones that contain the rules that you want to change = this can be done by using skin extensions http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial ) and you have to make sure that your selector's specificity is correct. Raluca. On Sat, Aug 28, 2010 at 9:38 AM, Kaya Samankayasa...@gmail.com wrote: Thanks Lockie for the suggestion only the same thing is happening!! Firebug definitely shows the CSS alright but I alter what the screen is telling and nothing happens even though Firebug reports the change after a refresh The issue is that the CSS is quite complex and am no CSS expert meaning that if things are dependent on certain criteria I won't be able to see it. Am back where I started I guess :-( Regards, Kaya On 08/28/2010 03:51 AM, Lockie wrote: Hi Kaya, While I haven't worked with Toucan skin before, the easiest way to edit the .css file of any skin is to get the Firebug addon for the Firefox browser. Then its just a matter clicking on the
[xwiki-users] RES: FWD: TAG Application with international characters
Hi Alex, Sorry, I forgot to mention this information. I'm using a clean install of the latest build of XWiki Enterprise (2.4.30451), running on JBoss 4.3 and MySQL 5.0, with Apache 2.0. Using Firefox 3.6.8 and IE 8. Something related to char encoding of DB/JBoss/Apache? Which one? Regards, Ramon Gomes Brandão -Mensagem original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome de Alex Busenius Enviada em: terça-feira, 31 de agosto de 2010 05:19 Para: users@xwiki.org Assunto: Re: [xwiki-users] FWD: TAG Application with international characters Hi, Could you provide more details? OS, XWiki version (and whether it was upgraded from later version), browser version, which DB... Standard Jetty+HSQLDB on FF works fine for me with índio as tag. Regards, Alex On 08/30/2010 09:36 PM, Ramon Gomes Brandão - SERINT wrote: Hi, In the Tags Application at the bottom of Main.WebHome, all the assigned tags are displayed correctly with international characters (like í, ç, ô á etc). When Ii click on one of them to present the tagged documents, the tag appears all messed up due to the intl chars (such as Atilde; in place of í etc). Clicking on it, a Failed to execute velocity macro message appears (maybe due to the invalid URL, example for the word índio .../Main/Tags?do=viewTagtag=%C3%83%C2%ADndio). How can I fix that? Regards, Ramon Gomes Brandão ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] SOLVED: RES: FWD: TAG Application with internationalcharacters
Hi all, I've found the issue: it's na Apache/JBoss charset configuration: on JBoss, just add URIEncoding=UTF-8 to Connector section and on Apache, add AddDefaultCharset utf-8 to the VirtualHost section. It's working now. Thanks anyway. Ramon Gomes Brandão -Mensagem original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome de Ramon Gomes Brandão - SERINT Enviada em: terça-feira, 31 de agosto de 2010 13:14 Para: XWiki Users Assunto: [xwiki-users] RES: FWD: TAG Application with internationalcharacters Hi Alex, Sorry, I forgot to mention this information. I'm using a clean install of the latest build of XWiki Enterprise (2.4.30451), running on JBoss 4.3 and MySQL 5.0, with Apache 2.0. Using Firefox 3.6.8 and IE 8. Something related to char encoding of DB/JBoss/Apache? Which one? Regards, Ramon Gomes Brandão -Mensagem original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome de Alex Busenius Enviada em: terça-feira, 31 de agosto de 2010 05:19 Para: users@xwiki.org Assunto: Re: [xwiki-users] FWD: TAG Application with international characters Hi, Could you provide more details? OS, XWiki version (and whether it was upgraded from later version), browser version, which DB... Standard Jetty+HSQLDB on FF works fine for me with índio as tag. Regards, Alex On 08/30/2010 09:36 PM, Ramon Gomes Brandão - SERINT wrote: Hi, In the Tags Application at the bottom of Main.WebHome, all the assigned tags are displayed correctly with international characters (like í, ç, ô á etc). When Ii click on one of them to present the tagged documents, the tag appears all messed up due to the intl chars (such as Atilde; in place of í etc). Clicking on it, a Failed to execute velocity macro message appears (maybe due to the invalid URL, example for the word índio .../Main/Tags?do=viewTagtag=%C3%83%C2%ADndio). How can I fix that? Regards, Ramon Gomes Brandão ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] SOLVED: RES: FWD: TAG Application with internationalcharacters
Hi, Would be great if you could add something about it on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding#HTomcat. 2010/8/31 Ramon Gomes Brandão - SERINT ramon.bran...@tjdft.jus.br: Hi all, I've found the issue: it's na Apache/JBoss charset configuration: on JBoss, just add URIEncoding=UTF-8 to Connector section and on Apache, add AddDefaultCharset utf-8 to the VirtualHost section. It's working now. Thanks anyway. Ramon Gomes Brandão -Mensagem original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome de Ramon Gomes Brandão - SERINT Enviada em: terça-feira, 31 de agosto de 2010 13:14 Para: XWiki Users Assunto: [xwiki-users] RES: FWD: TAG Application with internationalcharacters Hi Alex, Sorry, I forgot to mention this information. I'm using a clean install of the latest build of XWiki Enterprise (2.4.30451), running on JBoss 4.3 and MySQL 5.0, with Apache 2.0. Using Firefox 3.6.8 and IE 8. Something related to char encoding of DB/JBoss/Apache? Which one? Regards, Ramon Gomes Brandão -Mensagem original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome de Alex Busenius Enviada em: terça-feira, 31 de agosto de 2010 05:19 Para: users@xwiki.org Assunto: Re: [xwiki-users] FWD: TAG Application with international characters Hi, Could you provide more details? OS, XWiki version (and whether it was upgraded from later version), browser version, which DB... Standard Jetty+HSQLDB on FF works fine for me with índio as tag. Regards, Alex On 08/30/2010 09:36 PM, Ramon Gomes Brandão - SERINT wrote: Hi, In the Tags Application at the bottom of Main.WebHome, all the assigned tags are displayed correctly with international characters (like í, ç, ô á etc). When Ii click on one of them to present the tagged documents, the tag appears all messed up due to the intl chars (such as Atilde; in place of í etc). Clicking on it, a Failed to execute velocity macro message appears (maybe due to the invalid URL, example for the word índio .../Main/Tags?do=viewTagtag=%C3%83%C2%ADndio). How can I fix that? Regards, Ramon Gomes Brandão ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Variable's list
Hello, The XWiki default variables are defined in 'xwikivars.vm' template under '/xwiki/templates/' directory ( http://servername/xwiki/templates/xwikivars.vm ). You can also check out the 'macros.vm' template. You'll find there a lot of useful Velocity macros. And there is also the XWiki Platform API (http://platform.xwiki.org/xwiki/bin/view/DevGuide/API - see the Javadoc for the latest stable release). Raluca. On Tue, Aug 31, 2010 at 11:56 AM, abrante fabra...@yahoo.com wrote: Where can I see the name of all the default variables used by xwiki, for example, the user name, e mail, etc. Thanks a lot -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-Variable-s-list-tp5481740p5481740.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How do I for order a data list in xwiki?
Hello, An addition to Caleb's indications is the following link: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HVelocitySpecificInformation . So, this is what you need to do: #set ($sortedList = $sorttool.sort($list)) ... #displayDocumentList($sortedList true $blacklistedSpaces) ... Raluca. On Tue, Aug 31, 2010 at 2:42 PM, Caleb James DeLisle calebdeli...@lavabit.com wrote: You may want to look at the velocity SortTool. http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/SortTool.html Depending on what value you want to sort by, you might need to replace getDocumentsWithTag with a custom query. Caleb abrante wrote: I have the following data that I recover from the XWiki data base, but I need order it. Thanks in advance #set ($list = $xwiki.tag.getDocumentsWithTag($tag)) div div id=dashboardleft div id=dashboardleftcontent #displayDocumentList($list true $blacklistedSpaces) /div /div /div div style=clear:both; margin-bottom: 40px;!-- --/div ___ 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