[xwiki-users] Unable to access login page
Hi All, I have hosted the Xwiki 1.4 on one of my servers, I am able to access the login page from intranet, when I try to access the login page from internet it shows http 403 error. This server is exposed to internet through ISA server (which is not under my control), so I am not sure what is the problem. Please help me. Thanks, Vinod ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki Spaces
Hi! What is the SQL query to get all XWiki spaces? I need this to get them sorted, because $xwiki.spaces doesn't sort spaces by name. Ar cieņu, Mihails ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Video Macro not working ?
Hi, I have been trying to use the video macro [1] without much success. I followed the instructions to upload and import the xar file into my xwiki. The import was successful. I then add the macro into the Velocity macros: Administration: Preferences-Advanced-Velocity Macro Pages I added: Marcos.Video, I was then hoping to embed a video into my xwiki. Unfortunately all I see is the text of the macro rather than the video, For example: #video('http://www.youtube.com/v/NEV2TnDUA-Ehl=en'); Any ideas on why this is not working ? Thanks James ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Video Macro not working ?
Hi James, The person who wrote the installation tutorial was wrong. The way it was described doesn't work. I've updated the instructions. See http://code.xwiki.org/xwiki/bin/view/Macros/VideoMacroDownloads Thanks -Vincent On Jul 1, 2008, at 12:05 PM, James Weir wrote: Hi, I have been trying to use the video macro [1] without much success. I followed the instructions to upload and import the xar file into my xwiki. The import was successful. I then add the macro into the Velocity macros: Administration: Preferences-Advanced-Velocity Macro Pages I added: Marcos.Video, I was then hoping to embed a video into my xwiki. Unfortunately all I see is the text of the macro rather than the video, For example: #video('http://www.youtube.com/v/NEV2TnDUA-Ehl=en'); Any ideas on why this is not working ? Thanks James ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Spaces
You could also try using $xwiki.sort to sort the spaces. I think the syntax is: #set($spacesSorted=$xwiki.sort($xwiki.spaces) ) Then, you can use foreach to loop through as normal using the variable instead: #foreach($space in $spacesSorted) * $space #end -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mihails Agafonovs Sent: 01 July 2008 09:49 To: users@xwiki.org Subject: [xwiki-users] XWiki Spaces Hi! What is the SQL query to get all XWiki spaces? I need this to get them sorted, because $xwiki.spaces doesn't sort spaces by name. Ar cieņu, Mihails ___ 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] XWiki Spaces
Thanks! That's what I need. Quoting Esbach, Brandon : You could also try using $xwiki.sort to sort the spaces. I think the syntax is: #set($spacesSorted=$xwiki.sort($xwiki.spaces) ) Then, you can use foreach to loop through as normal using the variable instead: #foreach($space in $spacesSorted) * $space #end -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mihails Agafonovs Sent: 01 July 2008 09:49 To: users@xwiki.org Subject: [xwiki-users] XWiki Spaces Hi! What is the SQL query to get all XWiki spaces? I need this to get them sorted, because $xwiki.spaces doesn't sort spaces by name. Ar cie#326;u, Mihails ___ 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 Ar cieņu, Mihails Links: -- [1] mailto:[EMAIL PROTECTED] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Video Macro not working ?
On Jul 1, 2008, at 4:33 PM, James Weir wrote: No problems, I completely understand :) thanks for your understanding... see below for a typo I made... Looking forward to the new version Cheers James Vincent Massol wrote: Hi James, This is probably because of our flaky WYSIWYG editor. In the version you have it's escaping the special characters as xml entities thus making the URL fail... This is a known bug and we're working hard on a brand new WYSIWYG editor based on GWT that will not have all the deficiencies of the current editor. Right now all I can suggest is to not use the WYSIWYG editor and use the wiki editor one as much as possible. I know it's a good answer but we're a bit stuck, whenever we ^ I meant I know it's NOT a good answer of course ;) Thanks -Vincent make changes to the current editor it breaks it in other places; it's really too hard to maintain (hence our decisions to rewrite it - a first version should be out in September). Sorry about that. Thanks -Vincent On Jul 1, 2008, at 3:57 PM, James Weir wrote: That seems to work now. interesting though, when I add an http URL the first time it works fine; however if I re-edit the page then the httpURL gets interpreted by the Wiki and corrupts the link, for example if I add this: #video('http://www.dailymotion.com/video/x5yyb9_sarkozy-en-off-sur-france-3_news') save the page and then later I re-edit the page the http link is saved as: #video('http://www.dailymotion.com/video/ x5yyb9 #95;sarkozy#45;en#45;off#45;sur#45;france#45;3#95;news') and an error is thrown: Error number 4001 in 4: Error while parsing velocity page Tutorials.SAFTutorialBuild Wrapped Exception: Failed to evaluate content with id SAFTutorial Build http://demo.usharesoft.com:8080/xwiki/bin/view/Tutorials/SAFTutorialBuild com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Tutorials.SAFTutorialBuild Wrapped Exception: Failed to evaluate content with id SAFTutorial Build http://demo.usharesoft.com:8080/xwiki/bin/view/Tutorials/SAFTutorialBuild at com .xpn .xwiki .render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java: 231) at com .xpn .xwiki .render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:252) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:176) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:145) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderDocument(DefaultXWikiRenderingEngine.java:134) at com .xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java: 423) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) ... partial exception, the rest has been removed at java.lang.reflect.Method.invoke(Method.java:597) I know there is a notion of {pre} that stops xwiki interpeting parts of the page to stop this, however I was suprised that xwiki did this in a macro. How can I stop this happening ? I have a more generic question; if you wish to use a widget in html as part of the wiki, what is the best way to go about this ? Do you have to create your own Macro ? or is there a way to tell xWkki to parse a block as html ? Thanks James Vincent Massol wrote: Hi James, The person who wrote the installation tutorial was wrong. The way it was described doesn't work. I've updated the instructions. See http://code.xwiki.org/xwiki/bin/view/Macros/VideoMacroDownloads Thanks -Vincent On Jul 1, 2008, at 12:05 PM, James Weir wrote: Hi, I have been trying to use the video macro [1] without much success. I followed the instructions to upload and import the xar file into my xwiki. The import was successful. I then add the macro into the Velocity macros: Administration: Preferences-Advanced-Velocity Macro Pages I added: Marcos.Video, I was then hoping to embed a video into my xwiki. Unfortunately all I see is the text of the macro rather than the video, For example: #video('http://www.youtube.com/v/NEV2TnDUA-Ehl=en'); Any ideas on why this is not working ? Thanks James ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Video Macro not working ?
James, Thank you for asking this question, Vincent you rule man! Philip Wright Reports Analyst ACS: BPS Affiliated Computer Services, Inc Affiliated Computer Services, Inc (ACS) Proprietary and Confidential Information This document (or any part thereof) may not be disseminated outside of ACS in either electronic or physical form without specific authorization of the office of the ACS Chief Information Security Officer. The information included in this document represents no commitment by ACS to any other party. The policies and standards described do not consider any country law or other directive outside of the United States. P Please consider the environment before printing this email -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Massol Sent: Tuesday, July 01, 2008 7:43 AM To: XWiki Users Subject: Re: [xwiki-users] Video Macro not working ? On Jul 1, 2008, at 4:33 PM, James Weir wrote: No problems, I completely understand :) thanks for your understanding... see below for a typo I made... Looking forward to the new version Cheers James Vincent Massol wrote: Hi James, This is probably because of our flaky WYSIWYG editor. In the version you have it's escaping the special characters as xml entities thus making the URL fail... This is a known bug and we're working hard on a brand new WYSIWYG editor based on GWT that will not have all the deficiencies of the current editor. Right now all I can suggest is to not use the WYSIWYG editor and use the wiki editor one as much as possible. I know it's a good answer but we're a bit stuck, whenever we ^ I meant I know it's NOT a good answer of course ;) Thanks -Vincent make changes to the current editor it breaks it in other places; it's really too hard to maintain (hence our decisions to rewrite it - a first version should be out in September). Sorry about that. Thanks -Vincent On Jul 1, 2008, at 3:57 PM, James Weir wrote: That seems to work now. interesting though, when I add an http URL the first time it works fine; however if I re-edit the page then the httpURL gets interpreted by the Wiki and corrupts the link, for example if I add this: #video('http://www.dailymotion.com/video/x5yyb9_sarkozy-en-off-sur-f rance-3_news') save the page and then later I re-edit the page the http link is saved as: #video('http://www.dailymotion.com/video/ x5yyb9 #95;sarkozy#45;en#45;off#45;sur#45;france#45;3#95;news') and an error is thrown: Error number 4001 in 4: Error while parsing velocity page Tutorials.SAFTutorialBuild Wrapped Exception: Failed to evaluate content with id SAFTutorial Build http://demo.usharesoft.com:8080/xwiki/bin/view/Tutorials/SAFTutoria lBuild com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Tutorials.SAFTutorialBuild Wrapped Exception: Failed to evaluate content with id SAFTutorial Build http://demo.usharesoft.com:8080/xwiki/bin/view/Tutorials/SAFTutoria lBuild at com .xpn .xwiki .render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java: 231) at com .xpn .xwiki .render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:252) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:176) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:145) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderDocument(DefaultXWikiRenderingEngine.java:134) at com .xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java: 423) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) ... partial exception, the rest has been removed at java.lang.reflect.Method.invoke(Method.java:597) I know there is a notion of {pre} that stops xwiki interpeting parts of the page to stop this, however I was suprised that xwiki did this in a macro. How can I stop this happening ? I have a more generic question; if you wish to use a widget in html as part of the wiki, what is the best way to go about this ? Do you have to create your own Macro ? or is there a way to tell xWkki to parse a block as html ? Thanks James Vincent Massol wrote: Hi James, The person who wrote the installation tutorial was wrong. The way it was described doesn't work. I've updated the instructions. See http://code.xwiki.org/xwiki/bin/view/Macros/VideoMacroDownloads Thanks -Vincent On Jul 1, 2008, at 12:05 PM, James Weir wrote: Hi, I have been trying to
[xwiki-users] Problems with creating pages
Hi! Some users noticed a problem by creating a new page. If they want for example create a page with the name: Tutorial: How to use Windows we get the following error: Error number 4001 in 4: Error while parsing velocity page /templates/create.vm Wrapped Exception: Failed to evaluate content with id [/templates/create.vm] At first I tried to change the coding to UTF-8 in web.xml in WEB-INF to UTF-8 but nothing changed. How can I fix this problem? Florian ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Bulletin Borad Error ?
When I attempt to create a topic with any other user except for an administrator I get the following error: Error You are not allowed to view this document or perform this action. All users have view access to both bbcode and the BB itself. Philip Wright Reports Analyst ACS: BPS Affiliated Computer Services, Inc Affiliated Computer Services, Inc (ACS) Proprietary and Confidential Information This document (or any part thereof) may not be disseminated outside of ACS in either electronic or physical form without specific authorization of the office of the ACS Chief Information Security Officer. The information included in this document represents no commitment by ACS to any other party. The policies and standards described do not consider any country law or other directive outside of the United States. P Please consider the environment before printing this email ___ 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] Problems with creating pages
Hi Florian, On Jul 1, 2008, at 6:20 PM, Florian Rhomberg wrote: Hi! Some users noticed a problem by creating a new page. If they want for example create a page with the name: Tutorial: How to use Windows we get the following error: When you create a page you have to put the name of the page not the title of the page or a description of the page... So in this case you should name it something like: TutorialHowToUseWindows for example or simple WindowsTutorial or whatever other name you want to give to that page. You can then set its title either inside the document as a level 1 title with: 1 Tutorial: How to use Windows Or using the title field. Of course we should also fix the error so that it's more user friendly. Basically you're not allowed to use : in page names since this is a reserved keyword used to specify that a document is located in another subwiki. For example: subwiki:Space.Page is the Page page located in the Space space in the subwiki Wiki. Please create a jira issue for this so that we can improve it in the future. Thanks -Vincent Error number 4001 in 4: Error while parsing velocity page /templates/create.vm Wrapped Exception: Failed to evaluate content with id [/templates/create.vm] At first I tried to change the coding to UTF-8 in web.xml in WEB-INF to UTF-8 but nothing changed. How can I fix this problem? Florian ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Bulletin Borad Error ?
When I attempt to submit a post inside of a topic as an admin I get a debug error about length: Length is null or not an object. Philip Wright Reports Analyst ACS: BPS Office: 503-907-1501 ext 3714 Cell: 503-891-4920 [EMAIL PROTECTED] Affiliated Computer Services, Inc Affiliated Computer Services, Inc (ACS) Proprietary and Confidential Information This document (or any part thereof) may not be disseminated outside of ACS in either electronic or physical form without specific authorization of the office of the ACS Chief Information Security Officer. The information included in this document represents no commitment by ACS to any other party. The policies and standards described do not consider any country law or other directive outside of the United States. P Please consider the environment before printing this email -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wright, Philip Sent: Tuesday, July 01, 2008 9:30 AM To: XWiki Users Subject: [xwiki-users] Bulletin Borad Error ? When I attempt to create a topic with any other user except for an administrator I get the following error: Error You are not allowed to view this document or perform this action. All users have view access to both bbcode and the BB itself. Philip Wright Reports Analyst ACS: BPS Affiliated Computer Services, Inc Affiliated Computer Services, Inc (ACS) Proprietary and Confidential Information This document (or any part thereof) may not be disseminated outside of ACS in either electronic or physical form without specific authorization of the office of the ACS Chief Information Security Officer. The information included in this document represents no commitment by ACS to any other party. The policies and standards described do not consider any country law or other directive outside of the United States. P Please consider the environment before printing this email ___ 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] Video Macro not working ?
I am having a similar problem, will it wor if I roll back to 1.1.2 editor as suggested by Sergiu Dumitriuin 06/27? Alain Vincent Massol escreveu: Hi James, This is probably because of our flaky WYSIWYG editor. In the version you have it's escaping the special characters as xml entities thus making the URL fail... This is a known bug and we're working hard on a brand new WYSIWYG editor based on GWT that will not have all the deficiencies of the current editor. Right now all I can suggest is to not use the WYSIWYG editor and use the wiki editor one as much as possible. I know it's a good answer but we're a bit stuck, whenever we make changes to the current editor it breaks it in other places; it's really too hard to maintain (hence our decisions to rewrite it - a first version should be out in September). Sorry about that. Thanks -Vincent On Jul 1, 2008, at 3:57 PM, James Weir wrote: That seems to work now. interesting though, when I add an http URL the first time it works fine; however if I re-edit the page then the httpURL gets interpreted by the Wiki and corrupts the link, for example if I add this: #video('http://www.dailymotion.com/video/x5yyb9_sarkozy-en-off-sur-france-3_news') save the page and then later I re-edit the page the http link is saved as: #video('http://www.dailymotion.com/video/ x5yyb9#95;sarkozy#45;en#45;off#45;sur#45;france#45;3#95;news') and an error is thrown: Error number 4001 in 4: Error while parsing velocity page Tutorials.SAFTutorialBuild Wrapped Exception: Failed to evaluate content with id SAFTutorial Build http://demo.usharesoft.com:8080/xwiki/bin/view/Tutorials/SAFTutorialBuild com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Tutorials.SAFTutorialBuild Wrapped Exception: Failed to evaluate content with id SAFTutorial Build http://demo.usharesoft.com:8080/xwiki/bin/view/Tutorials/SAFTutorialBuild at com .xpn .xwiki .render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:231) at com .xpn .xwiki .render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:252) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:176) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:145) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderDocument(DefaultXWikiRenderingEngine.java:134) at com .xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java: 423) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) ... partial exception, the rest has been removed at java.lang.reflect.Method.invoke(Method.java:597) I know there is a notion of {pre} that stops xwiki interpeting parts of the page to stop this, however I was suprised that xwiki did this in a macro. How can I stop this happening ? I have a more generic question; if you wish to use a widget in html as part of the wiki, what is the best way to go about this ? Do you have to create your own Macro ? or is there a way to tell xWkki to parse a block as html ? Thanks James Vincent Massol wrote: Hi James, The person who wrote the installation tutorial was wrong. The way it was described doesn't work. I've updated the instructions. See http://code.xwiki.org/xwiki/bin/view/Macros/VideoMacroDownloads Thanks -Vincent On Jul 1, 2008, at 12:05 PM, James Weir wrote: Hi, I have been trying to use the video macro [1] without much success. I followed the instructions to upload and import the xar file into my xwiki. The import was successful. I then add the macro into the Velocity macros: Administration: Preferences-Advanced-Velocity Macro Pages I added: Marcos.Video, I was then hoping to embed a video into my xwiki. Unfortunately all I see is the text of the macro rather than the video, For example: #video('http://www.youtube.com/v/NEV2TnDUA-Ehl=en'); Any ideas on why this is not working ? Thanks James ___ 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] Brainstorming XWiki Favorites
We are looking at creating an internal Favorites system. with large XWiki's it is easy for a user to forget where things are and search is not always productive. Tags don't offer enough info to help much. So we are thinking about creating a Favorites class with fields for name, link/path and description. then a panel that shows your favorites. Does that sound right to the group or is there a better way? -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18222048.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] Brainstorming XWiki Favorites
Idea is to allow the user to create the description? If so sounds like a GREAT idea. Philip Wright Reports Analyst ACS: BPS Affiliated Computer Services, Inc Affiliated Computer Services, Inc (ACS) Proprietary and Confidential Information This document (or any part thereof) may not be disseminated outside of ACS in either electronic or physical form without specific authorization of the office of the ACS Chief Information Security Officer. The information included in this document represents no commitment by ACS to any other party. The policies and standards described do not consider any country law or other directive outside of the United States. P Please consider the environment before printing this email -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Oliver Sent: Tuesday, July 01, 2008 11:14 AM To: users@xwiki.org Subject: [xwiki-users] Brainstorming XWiki Favorites We are looking at creating an internal Favorites system. with large XWiki's it is easy for a user to forget where things are and search is not always productive. Tags don't offer enough info to help much. So we are thinking about creating a Favorites class with fields for name, link/path and description. then a panel that shows your favorites. Does that sound right to the group or is there a better way? -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18222048.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] Brainstorming XWiki Favorites
Ok if we assume this is a good idea, then is it correct to assume we can follow the Photo Album paradigm and create a class and sheet for favorites, and then create a page that shows the favorites in a filtered list? I suspect the panel will only be for creating favorites while in a page and adding the name and description before saving. The list of favorites would be a page the user can get to from the panel. Can I filter on the user that created the record of the favorites class? Ollie Wright, Philip wrote: Idea is to allow the user to create the description? If so sounds like a GREAT idea. Philip Wright -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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] Brainstorming XWiki Favorites
Hi Mike, Ok if we assume this is a good idea, then is it correct to assume we can follow the Photo Album paradigm and create a class and sheet for favorites, and then create a page that shows the favorites in a filtered list? I suspect the panel will only be for creating favorites while in a page and adding the name and description before saving. The list of favorites would be a page the user can get to from the panel. Can I filter on the user that created the record of the favorites class? Sure... But why don't you have your users use the Watchlist feature that basically already is XWiki's favorites system for individual users ? Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication , it's bundled with all recent versions of XWiki Enterprise AFAIR ... You might still want to add that description field though... Guillaume Ollie Wright, Philip wrote: Idea is to allow the user to create the description? If so sounds like a GREAT idea. Philip Wright -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Brainstorming XWiki Favorites
Well two reasons, one is that for the watchlist, which will show you a list of all the pages and spaces you are watching, is a sort of favorites, but what if you want to navigate to a place over and over again and it is buried down in a space someplace? Then what if you don't want to watch it and be notified for some reason, and then lastly what if you want to save a description so you can look at your favorites and pick Oh that WebHome. Ollie Guillaume Lerouge wrote: Hi Mike, Can I filter on the user that created the record of the favorites class? Sure... But why don't you have your users use the Watchlist feature that basically already is XWiki's favorites system for individual users ? Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication , it's bundled with all recent versions of XWiki Enterprise AFAIR ... You might still want to add that description field though... Guillaume Ollie Wright, Philip wrote: Idea is to allow the user to create the description? If so sounds like a GREAT idea. Philip Wright -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18224067.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] Brainstorming XWiki Favorites
Well two reasons, one is that for the watchlist, which will show you a list of all the pages and spaces you are watching, is a sort of favorites, but what if you want to navigate to a place over and over again and it is buried down in a space someplace? Then what if you don't want to watch it and be notified for some reason, and then lastly what if you want to save a description so you can look at your favorites and pick Oh that WebHome. Indeed. I'd still advise looking at how the watchlist feature is implemented since it somehow manages to store user preferences in their profiles and you're going to need that feature in your implementation I guess... Not sure whether there's been any recent discussion on creating easy-to)use user profiles extension points - though this kind of use cases (as well as a bunch of others) show they're needed. I think there is a way to access them right now without changing the UserClassSheet (maybe by adding new kind of objects to user profile pages...) Re your implementation, I'd advise having the list of favorited pages stored in one (or many) objects attached to the user profile page of the current user and writing a panel taking the currently logged user UserName as a parameter, retrieving the data from those favorite objects stored on his user page and displaying their values in the panel ... Guillaume Ollie Guillaume Lerouge wrote: Hi Mike, Can I filter on the user that created the record of the favorites class? Sure... But why don't you have your users use the Watchlist feature that basically already is XWiki's favorites system for individual users ? Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication , it's bundled with all recent versions of XWiki Enterprise AFAIR ... You might still want to add that description field though... Guillaume Ollie Wright, Philip wrote: Idea is to allow the user to create the description? If so sounds like a GREAT idea. Philip Wright -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18224067.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Brainstorming XWiki Favorites
Ok so I can't count, that's three reasons. I created a Favorites class in XWiki with three properties, Name(string), Link(string) and Description(textarea). I create a sheet and template and attached the Favorites Object to the template. I then created a page with #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.FavoritesClass' and obj.name'XWiki.FavoritesClassTemplate') #set ($favs= $xwiki.searchDocuments($hql)) #if ($favs.size() 0) #foreach ($fav in $favs) * [${fav.Name}{$fav.Link}] #end #else #info(There are no Favorites in this wiki!) #end and since I had not yet created the first Favorite it showed No Favorites in this wiki. Cool Then I went back to the XWiki Favorites Class and created a new document and populated the Name Property, Link Property and Description properties and went back to the page with the search above... it shows the literal fav.Name in the name of the link and Link as the URI for the target. if $fav the FavoritesClass object? I am guessing not. Mike Oliver wrote: Well two reasons, one is that for the watchlist, which will show you a list of all the pages and spaces you are watching, is a sort of favorites, but what if you want to navigate to a place over and over again and it is buried down in a space someplace? Then what if you don't want to watch it and be notified for some reason, and then lastly what if you want to save a description so you can look at your favorites and pick Oh that WebHome. Ollie Guillaume Lerouge wrote: Hi Mike, Can I filter on the user that created the record of the favorites class? Sure... But why don't you have your users use the Watchlist feature that basically already is XWiki's favorites system for individual users ? Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication , it's bundled with all recent versions of XWiki Enterprise AFAIR ... You might still want to add that description field though... Guillaume Ollie Wright, Philip wrote: Idea is to allow the user to create the description? If so sounds like a GREAT idea. Philip Wright -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225432.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] Brainstorming XWiki Favorites
Ok so I can't count, that's three reasons. That's the benefit of iterative designs, you've been able to correct yourself in no time ;-) I created a Favorites class in XWiki with three properties, Name(string), Link(string) and Description(textarea). I create a sheet and template and attached the Favorites Object to the template. I then created a page with #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.FavoritesClass' and obj.name'XWiki.FavoritesClassTemplate') #set ($favs= $xwiki.searchDocuments($hql)) #if ($favs.size() 0) #foreach ($fav in $favs) * [${fav.Name}{$fav.Link}] #end #else #info(There are no Favorites in this wiki!) #end and since I had not yet created the first Favorite it showed No Favorites in this wiki. Cool Ok, I hadn't understood that those favorites were the same for all users, I thought they would be user-specific, hence my previous remarks. Then I went back to the XWiki Favorites Class and created a new document and populated the Name Property, Link Property and Description properties and went back to the page with the search above... it shows the literal fav.Name in the name of the link and Link as the URI for the target. if $fav the FavoritesClass object? I am guessing not. From figure 23 on that page : http://www.theserverside.com/tt/articles/article.tss?l=XWiki it seems you're missing the $xwiki.getDocument() API call in your code : #foreach ($todo in $todos) #set ($todoDoc = $xwiki.getDocument($todo)) #set ($todoObj = $todoDoc.getObject(XWiki.TodoClass)) [$todoObj.Description$todo] | $todoObj.Assignee | $todoObj.TargetDate | $todoObj.Status #end Hope this helps, Guillaume Mike Oliver wrote: Well two reasons, one is that for the watchlist, which will show you a list of all the pages and spaces you are watching, is a sort of favorites, but what if you want to navigate to a place over and over again and it is buried down in a space someplace? Then what if you don't want to watch it and be notified for some reason, and then lastly what if you want to save a description so you can look at your favorites and pick Oh that WebHome. Ollie Guillaume Lerouge wrote: Hi Mike, Can I filter on the user that created the record of the favorites class? Sure... But why don't you have your users use the Watchlist feature that basically already is XWiki's favorites system for individual users ? Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication , it's bundled with all recent versions of XWiki Enterprise AFAIR ... You might still want to add that description field though... Guillaume Ollie Wright, Philip wrote: Idea is to allow the user to create the description? If so sounds like a GREAT idea. Philip Wright -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225432.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Brainstorming XWiki Favorites
Good ideas, I followed the ToDo example and created a Favorites space to store the documents but agree better to store them by user. I guess I can get it working in the ToDo model first and then move the location of the documents and change the filter accordingly. Our messages passed on the wires where Posted my first pass. Ollie Guillaume Lerouge wrote: Indeed. I'd still advise looking at how the watchlist feature is implemented since it somehow manages to store user preferences in their profiles and you're going to need that feature in your implementation I guess... Not sure whether there's been any recent discussion on creating easy-to)use user profiles extension points - though this kind of use cases (as well as a bunch of others) show they're needed. I think there is a way to access them right now without changing the UserClassSheet (maybe by adding new kind of objects to user profile pages...) Re your implementation, I'd advise having the list of favorited pages stored in one (or many) objects attached to the user profile page of the current user and writing a panel taking the currently logged user UserName as a parameter, retrieving the data from those favorite objects stored on his user page and displaying their values in the panel ... Guillaume Ollie Guillaume Lerouge wrote: Hi Mike, Can I filter on the user that created the record of the favorites class? Sure... But why don't you have your users use the Watchlist feature that basically already is XWiki's favorites system for individual users ? Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication , it's bundled with all recent versions of XWiki Enterprise AFAIR ... You might still want to add that description field though... Guillaume Ollie Wright, Philip wrote: Idea is to allow the user to create the description? If so sounds like a GREAT idea. Philip Wright -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18224067.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225762.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] Brainstorming XWiki Favorites
By the way, 2 additional ideas : - You could add a static list property (with [1,2,3,4,5] as allowed values) to rank the importance / interest of favorites and display them according to their ranking on the page (thru a hql sort query) - Don't forget to add your application on http://code.xwiki.org/ once a first working version is out ;-) Guillaume On Tue, Jul 1, 2008 at 11:32 PM, Mike Oliver [EMAIL PROTECTED] wrote: Good ideas, I followed the ToDo example and created a Favorites space to store the documents but agree better to store them by user. I guess I can get it working in the ToDo model first and then move the location of the documents and change the filter accordingly. Our messages passed on the wires where Posted my first pass. Ollie Guillaume Lerouge wrote: Indeed. I'd still advise looking at how the watchlist feature is implemented since it somehow manages to store user preferences in their profiles and you're going to need that feature in your implementation I guess... Not sure whether there's been any recent discussion on creating easy-to)use user profiles extension points - though this kind of use cases (as well as a bunch of others) show they're needed. I think there is a way to access them right now without changing the UserClassSheet (maybe by adding new kind of objects to user profile pages...) Re your implementation, I'd advise having the list of favorited pages stored in one (or many) objects attached to the user profile page of the current user and writing a panel taking the currently logged user UserName as a parameter, retrieving the data from those favorite objects stored on his user page and displaying their values in the panel ... Guillaume Ollie Guillaume Lerouge wrote: Hi Mike, Can I filter on the user that created the record of the favorites class? Sure... But why don't you have your users use the Watchlist feature that basically already is XWiki's favorites system for individual users ? Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication , it's bundled with all recent versions of XWiki Enterprise AFAIR ... You might still want to add that description field though... Guillaume Ollie Wright, Philip wrote: Idea is to allow the user to create the description? If so sounds like a GREAT idea. Philip Wright -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18224067.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225762.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] FAQ Application tutorial not working
Hi everyone, I searched the archive, and found some problems related to the FAQ application tutorial, but none the same as the one I'm experienting. I'm using version 1.4 of Xwiki, with the bundled HSQLDB database. I went through the FAQ Application tutorial (twice) without problem. But when I get to the end, and want to try it out by creating the document Whatisthemeaningoflife, I get a message telling me that the page does not exist, and that I should edit it. If I try to edit, I get a normal blank page to edit ... I just followed the tutorial on the very version you indicated and it works fine for me. You probably missed one step or did it wrong. Don't forget that the FAQ documents need to be created through the new document form in the class page. Happy coding, Anca Luca I don't think I did anything wrong, remember I did it twice, but it could well be ... Does anybody have an idea? Thanks in advance, Xavier ___ 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] Brainstorming XWiki Favorites
Yes actually I do plan on moving it and making it by user, but thought I best get it working first, picollo passo yes I guess I did miss somethign thanks. Ollie Guillaume Lerouge wrote: Ok so I can't count, that's three reasons. That's the benefit of iterative designs, you've been able to correct yourself in no time ;-) I created a Favorites class in XWiki with three properties, Name(string), Link(string) and Description(textarea). I create a sheet and template and attached the Favorites Object to the template. I then created a page with #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.FavoritesClass' and obj.name'XWiki.FavoritesClassTemplate') #set ($favs= $xwiki.searchDocuments($hql)) #if ($favs.size() 0) #foreach ($fav in $favs) * [${fav.Name}{$fav.Link}] #end #else #info(There are no Favorites in this wiki!) #end and since I had not yet created the first Favorite it showed No Favorites in this wiki. Cool Ok, I hadn't understood that those favorites were the same for all users, I thought they would be user-specific, hence my previous remarks. Then I went back to the XWiki Favorites Class and created a new document and populated the Name Property, Link Property and Description properties and went back to the page with the search above... it shows the literal fav.Name in the name of the link and Link as the URI for the target. if $fav the FavoritesClass object? I am guessing not. From figure 23 on that page : http://www.theserverside.com/tt/articles/article.tss?l=XWiki it seems you're missing the $xwiki.getDocument() API call in your code : #foreach ($todo in $todos) #set ($todoDoc = $xwiki.getDocument($todo)) #set ($todoObj = $todoDoc.getObject(XWiki.TodoClass)) [$todoObj.Description$todo] | $todoObj.Assignee | $todoObj.TargetDate | $todoObj.Status #end Hope this helps, Guillaume Mike Oliver wrote: Well two reasons, one is that for the watchlist, which will show you a list of all the pages and spaces you are watching, is a sort of favorites, but what if you want to navigate to a place over and over again and it is buried down in a space someplace? Then what if you don't want to watch it and be notified for some reason, and then lastly what if you want to save a description so you can look at your favorites and pick Oh that WebHome. Ollie Guillaume Lerouge wrote: Hi Mike, Can I filter on the user that created the record of the favorites class? Sure... But why don't you have your users use the Watchlist feature that basically already is XWiki's favorites system for individual users ? Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication , it's bundled with all recent versions of XWiki Enterprise AFAIR ... You might still want to add that description field though... Guillaume Ollie Wright, Philip wrote: Idea is to allow the user to create the description? If so sounds like a GREAT idea. Philip Wright -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225432.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18226236.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