Re: [xwiki-users] DocumentTree Plugin (Solution)
The Documentation has been updated and the Plugin-Download-Page is linked now. http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePluginDownloads The Plugin you can download there is working. Helmut Florian Rhomberg wrote: Hi! I have the same problem when I tried to install the plugin yesterday. Have you already found a solution? I believe that the jar file is corrupted. Greetings, Florian -- View this message in context: http://n2.nabble.com/DocumentTree-Plugin-tp723p1449614.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] drop down edit menu
Hi, i'm working with xwiki 1.5 and i always used the ajax drop down menu to edit access rights on a photo album page (i found no other way to get to the rights editor). after i changed some rights (but to a different user) the drop down menu disappeared. I reverted my changes but i could not manage to get the edit drop down menu back. i'm in the admin group and have all rights there are. i also could not find any hints in the net. maybe you can help me. thanks alot for your time. eike ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Excel Plugin not working
Hi, trying to get the Excel-Plugin to work. I followed the intructions (hope so) but I it doesn't seem to work. XWiki-Enterprises 1.6.1 Java-Version 1.6.0-b09 Excel Plugin 1.0-jdk16 Java Excel API 2.6.9 The Excel file was created with Office 2007 and saved http://n2.nabble.com/file/n1449684/error.txt error.txt The error code is: Error number 4001 in 4: Error while parsing velocity page Main.WikiHelpInsertExcel Wrapped Exception: Failed to evaluate content with id Wiki Help Insert Excel The whole error message is attached. -- View this message in context: http://n2.nabble.com/Excel-Plugin-not-working-tp1449684p1449684.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] Attachments in a new window
Dear All I want to set my xwiki so that when you press on an attachment it opens in a new window. How would I do this please? thanks Edward ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Attachments in a new window
If you really want to, then edit templates/attachmentsinline.vm, search for the line that contains download and add to the anchor target=_blank. Hope this helps, Marius Edward Laptop wrote: Dear All I want to set my xwiki so that when you press on an attachment it opens in a new window. How would I do this please? thanks Edward ___ 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] Trouble assessing boolean property value of an object
Hi all, I'm having trouble using Velocity to analyze the boolean value of a property of a class. For example, I have class X, with a property Y (I'll call this property 'example_bool' in the lower example code) which is of type 'Boolean'. I've configured this property to use radio buttons so the user is only able to choose one value. I've created several objects of this class, making sure to utilize both the 'Yes' and 'No' values for some of these objects (to ensure for testing purposes I have some of both). This class also has another property, a static list, of location strings, such as 'Location X', 'Location Y', etc. Now, on a page, I am trying to calculate how many of each location have the boolean value of Yes and no with the following velocity/HQL statement: #set ($results = $xwiki.search(select obj.name from BaseObject obj, StringProperty prop where obj.className='Example.ExampleClass' and obj.name'Example.ExampleClassTemplate' and prop.id.id=obj.id and prop.name='location' and prop.value='Location X' order by obj.name asc)) #set ($numTrue = 0) #set ($numFalse = 0) #foreach ($item in $results) #set ($object = $xwiki.getDocument(${item})) #if (!$object.get(example_bool)) #set ($numFalse = $numFalse + 1) #else #set ($numTrue = $numTrue + 1) #end #end This code is being executed without error, however, the 'True' count is always being evaluated as the total number of objects, while the 'False' count always stays at 0, even though I KNOW there are objects in this group that have the value of 'No' for the 'example_bool' property. Does anyone know what I'm doing wrong, or have any ideas that might help me out? Thanks in advance gang. On a side note, I've also noted that when using the Boolean property, the user has the choice of 'Yes', 'No' and '---'. What is this later value ('---') and why is it always included? To me, the meaning of Boolean means 'True OR False' and nothing else. Does this third value have a purpose? And is there a way of excluding it from the choices the user sees? Thanks again everyone! -- View this message in context: http://n2.nabble.com/Trouble-assessing-boolean-property-value-of-an-object-tp1450033p1450033.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] Issue on Registration
Hi I am facing a problem with user registration. An user registers by putting all the required fields and he gets a page saying that 'Registration is successfull'. A validation email is also been send to him. If he tries to login without activation, XWiki logs him in and gives a message 'Your account is not yet active, because your email has not yet been confirmed.'. He goes back to his mail box, copies the activation link and paste it on the same window. But the page remains the same and doesn't allow the user to activate his account. He need to open a new browser or logout to activate his account and login to XWiki. This looks like a bug. Any comments on this ? I am using XE 1.6. Regards Syam -- View this message in context: http://n2.nabble.com/Issue-on-Registration-tp1449020p1449020.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] Trouble assessing boolean property value of an object
Hi, See below: BrianJones wrote: Hi all, I'm having trouble using Velocity to analyze the boolean value of a property of a class. For example, I have class X, with a property Y (I'll call this property 'example_bool' in the lower example code) which is of type 'Boolean'. I've configured this property to use radio buttons so the user is only able to choose one value. I've created several objects of this class, making sure to utilize both the 'Yes' and 'No' values for some of these objects (to ensure for testing purposes I have some of both). This class also has another property, a static list, of location strings, such as 'Location X', 'Location Y', etc. Now, on a page, I am trying to calculate how many of each location have the boolean value of Yes and no with the following velocity/HQL statement: #set ($results = $xwiki.search(select obj.name from BaseObject obj, StringProperty prop where obj.className='Example.ExampleClass' and obj.name'Example.ExampleClassTemplate' and prop.id.id=obj.id and prop.name='location' and prop.value='Location X' order by obj.name asc)) #set ($numTrue = 0) #set ($numFalse = 0) #foreach ($item in $results) #set ($object = $xwiki.getDocument(${item})) #if (!$object.get(example_bool)) #set ($numFalse = $numFalse + 1) #else #set ($numTrue = $numTrue + 1) #end #end Try to replace #if (!$object.get(example_bool)) by #if (!$object.getProperty(example_bool).value) Hope this helps (haven't tested, I admit) Jerome. This code is being executed without error, however, the 'True' count is always being evaluated as the total number of objects, while the 'False' count always stays at 0, even though I KNOW there are objects in this group that have the value of 'No' for the 'example_bool' property. Does anyone know what I'm doing wrong, or have any ideas that might help me out? Thanks in advance gang. On a side note, I've also noted that when using the Boolean property, the user has the choice of 'Yes', 'No' and '---'. What is this later value ('---') and why is it always included? To me, the meaning of Boolean means 'True OR False' and nothing else. Does this third value have a purpose? And is there a way of excluding it from the choices the user sees? Thanks again everyone! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Issue on Registration
Hello, syam_kg wrote: Hi I am facing a problem with user registration. An user registers by putting all the required fields and he gets a page saying that 'Registration is successfull'. A validation email is also been send to him. If he tries to login without activation, XWiki logs him in and gives a message 'Your account is not yet active, because your email has not yet been confirmed.'. He goes back to his mail box, copies the activation link and paste it on the same window. But the page remains the same and doesn't allow the user to activate his account. He need to open a new browser or logout to activate his account and login to XWiki. This looks like a bug. Any comments on this ? I am using XE 1.6. Indeed, this looks like a real bug :) can you create an issue for it on JIRA ? Thanks, Jerome. Regards Syam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to use SpaceManager Plugin
Hello Ramon, Ramon Gomes Brandão wrote: Hi friends, I'm running xwiki 1.6 last snapshot, on Jboss and Postgres. I've activated on xwiki.cfg the SpaceManager plugin, simple adding the spacemanager implementation on the plugins section of config file: xwiki.plugins=[...],com.xpn.xwiki.plugin.spacemanager.impl.SpaceManagerImpl I've not downloaded anything more. But I could not notice any other application on admin page on xwiki - is this plugin useless or there is no application that uses this plugin? Currently, there is no default UI for this plugin. It is used by the curriki project (http://www.curriki.org) and by the XWiki Workspaces product (http://workspaces.xwiki.org). However, it is planned to have UIs for some of its feature in XWiki Enterprise, in a not so far future (no date available yet). Does anyone knows how to use this plugin, or where I can find any documentation about that, except the javadoc available on the plugin's page? Unfortunately, there is no documentation besides the javadoc itself currently. What I could advise you if you want to use the plugin is to give a look at how Curriki handles it. For example, you might be interested in all the wiki pages in the Group/ and Group_Template/ spaces of curriki code : http://fisheye2.atlassian.com/browse/xwiki/curriki/branches/curriki-1.6/wiki/src/main/resources/Groups and http://fisheye2.atlassian.com/browse/xwiki/curriki/branches/curriki-1.6/wiki/src/main/resources/Groups_TemplateSpace (Note that what Curriki calls Group is actually a Space in the sense of the spacemanager plugin), I need to manage (create, delete, edit) a lot of spaces, and I could not figure out how to do that with this plugin. Hope someone can help, I hope this helps. Regards, Jerome. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Trouble assessing boolean property value of an object
Jerome, Thanks for your suggestion, but it didn't seem to work... Jerome Velociter-2 wrote: Try to replace #if (!$object.get(example_bool)) by #if (!$object.getProperty(example_bool).value) Hope this helps (haven't tested, I admit) Jerome. I tried using: #if (!$object.get(example_bool).value) #if (!$object.getProperty(example_bool)) #if (!$object.getProperty(example_bool).value) All of these variations produce similar results, but not exactly the same as the original method I tried. The only difference now is that all are being equated to 'False' and none are 'True' (the exact opposite of the behavior when using #if (!$object.get(example_bool))). Still not the correct output. Any other ideas? -- View this message in context: http://n2.nabble.com/Trouble-assessing-boolean-property-value-of-an-object-tp1450033p1450689.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] Trouble assessing boolean property value of an object
Jerome Velociter wrote: Hi, See below: BrianJones wrote: Hi all, I'm having trouble using Velocity to analyze the boolean value of a property of a class. For example, I have class X, with a property Y (I'll call this property 'example_bool' in the lower example code) which is of type 'Boolean'. I've configured this property to use radio buttons so the user is only able to choose one value. I've created several objects of this class, making sure to utilize both the 'Yes' and 'No' values for some of these objects (to ensure for testing purposes I have some of both). This class also has another property, a static list, of location strings, such as 'Location X', 'Location Y', etc. Now, on a page, I am trying to calculate how many of each location have the boolean value of Yes and no with the following velocity/HQL statement: #set ($results = $xwiki.search(select obj.name from BaseObject obj, StringProperty prop where obj.className='Example.ExampleClass' and obj.name'Example.ExampleClassTemplate' and prop.id.id=obj.id and prop.name='location' and prop.value='Location X' order by obj.name asc)) #set ($numTrue = 0) #set ($numFalse = 0) #foreach ($item in $results) #set ($object = $xwiki.getDocument(${item})) #if (!$object.get(example_bool)) #set ($numFalse = $numFalse + 1) #else #set ($numTrue = $numTrue + 1) #end #end Try to replace #if (!$object.get(example_bool)) by #if (!$object.getProperty(example_bool).value) #if (!$object.getProperty(example_bool).value == 1) The property value is an integer, not a boolean. Hope this helps (haven't tested, I admit) Jerome. This code is being executed without error, however, the 'True' count is always being evaluated as the total number of objects, while the 'False' count always stays at 0, even though I KNOW there are objects in this group that have the value of 'No' for the 'example_bool' property. Does anyone know what I'm doing wrong, or have any ideas that might help me out? Thanks in advance gang. On a side note, I've also noted that when using the Boolean property, the user has the choice of 'Yes', 'No' and '---'. What is this later value ('---') and why is it always included? To me, the meaning of Boolean means 'True OR False' and nothing else. Does this third value have a purpose? And is there a way of excluding it from the choices the user sees? Thanks again everyone! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] drop down edit menu
[EMAIL PROTECTED] wrote: Hi, i'm working with xwiki 1.5 and i always used the ajax drop down menu to edit access rights on a photo album page (i found no other way to get to the rights editor). after i changed some rights (but to a different user) the drop down menu disappeared. I reverted my changes but i could not manage to get the edit drop down menu back. i'm in the admin group and have all rights there are. i also could not find any hints in the net. See http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HAdvancedMode -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] DocumentTree Plugin (Solution)
Hi Helmut, I had already fixed that but you changed it so I reverted it back to the change I had done since the way you did it wasn't the correct way (the correct way is to edit in inline mode and specify the download page name). Thanks for helping anyway! :) Cheers, -Vincent On Nov 3, 2008, at 3:31 PM, hel-o wrote: The Documentation has been updated and the Plugin-Download-Page is linked now. http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePluginDownloads The Plugin you can download there is working. Helmut Florian Rhomberg wrote: Hi! I have the same problem when I tried to install the plugin yesterday. Have you already found a solution? I believe that the jar file is corrupted. Greetings, Florian ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki list
Hi, On Nov 3, 2008, at 3:52 PM, Mike A. wrote: Hi! How can I prevent a list-item from being breaked? I mean, if I want to place some text, then an image and, finally, some message (#info(), #alert() etc.) in a list-time, all would appear as the whole list-item. For now, I can only get text + image or text + message. I do use a macro for an image, like #image(src title). So, the problem seems to be in the two following macros: #image()#info(). I've also tried #image()\ #info(). That doesn't do the job too. I don't know if this is currently supported. It's planned to be supported in the new syntax though (probably for XE 1.8). Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] listing online users
This is quite an old post and has never been answered, but I would think that this functionality would be beneficial to many users of XWiki. Is there some sort of method of acheiving this result? Or are there plans on developing a plugin/macro/application to utilize this feature? emil-3 wrote: Is there any easy way to list the currently online (logged in) users of the wiki? -- View this message in context: http://n2.nabble.com/listing-online-users-tp502900p1451289.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] listing online users
I have answered it in the past AFAIR. Please check the mailing list archives Thanks -Vincent On Nov 3, 2008, at 9:43 PM, BrianJones wrote: This is quite an old post and has never been answered, but I would think that this functionality would be beneficial to many users of XWiki. Is there some sort of method of acheiving this result? Or are there plans on developing a plugin/macro/application to utilize this feature? emil-3 wrote: Is there any easy way to list the currently online (logged in) users of the wiki? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] listing online users
I thought this was the archive... :-/ Can you provide me with a link to what you're referring to? vmassol wrote: I have answered it in the past AFAIR. Please check the mailing list archives Thanks -Vincent -- View this message in context: http://n2.nabble.com/listing-online-users-tp502900p1451413.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] drop down edit menu
[EMAIL PROTECTED] wrote: thank you very much! i'm back in advanced mode... i was wondering about this button. since it is in my profile bar i was thinking this will effect my profile edit mode. now it's clear to me why there is no real response clicking on this button. I guess we should link to the documentation page, or use a tooltip to explain what that button does. Several users came here with the same question as you, so I guess it is not so obvious what that button does. On [Mon, 03.11.2008 18:28], Sergiu Dumitriu wrote: [EMAIL PROTECTED] wrote: Hi, i'm working with xwiki 1.5 and i always used the ajax drop down menu to edit access rights on a photo album page (i found no other way to get to the rights editor). after i changed some rights (but to a different user) the drop down menu disappeared. I reverted my changes but i could not manage to get the edit drop down menu back. i'm in the admin group and have all rights there are. i also could not find any hints in the net. See http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HAdvancedMode -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] listing online users
BrianJones wrote: This is quite an old post and has never been answered, but I would think that this functionality would be beneficial to many users of XWiki. Is there some sort of method of acheiving this result? Or are there plans on developing a plugin/macro/application to utilize this feature? See http://markmail.org/message/pmtjkzj53ifon4yf and http://markmail.org/message/zr5jirygiethfatj emil-3 wrote: Is there any easy way to list the currently online (logged in) users of the wiki? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users