Re: [xwiki-users] Extended Todo Application installation notes
Gaetan, you mentioned that you imported and used the Todo Application. Could you please explain or point me to the right direction on how to install an application, for example the "Todo application". What do I need to do after I downloaded the application and imported the .xar file. What is the next step in order to make use of the application. Thanks, Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Extended-Todo-Application-installation-notes-tp3043989p5732584.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] where put macros?
For any of you who used downloaded macros for xwiki. What do I need to do after downloading and importing a macro. I have downloaded/imported a couple of macros, and non of them are displayed in the Macro WYSIWYG editor. Please advise. -Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/where-put-macros-tp5696249p5733582.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] where put macros?
Does that mean I have to create a macro out of the xar file that I imported ( -> edit -> objects -> New Object -> Select XWiki.WikiMacroClass)? If that is the case, how do I do that? Where do I specify the xar file for the macro that I may need to create? What I did so far is download the xar file, then,imported the file using Wiki Preferences -> Import -> Browse to downloaded xar. On the "Import" page I can see all the xar files that I downloaded for macros or applications. The problem is that I don't know what to do from here. How do I use these xar files? Thank you, Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/where-put-macros-tp5696249p5740061.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] where put macros?
And yes, I did stop and restart xwiki. -- View this message in context: http://xwiki.475771.n2.nabble.com/where-put-macros-tp5696249p5740065.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] where put macros?
Ok, I did figure out the problem: after downloading and uploading the xar, what I needed to do was click on the xar file. That displays a Page content panel on the right side of the Import page, describing the macro. Then click "Import". After this I can see the imported macro in the WYSIWYG macro editor. -- View this message in context: http://xwiki.475771.n2.nabble.com/where-put-macros-tp5696249p5741135.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] xwql join query
Hi all, I'm struggling creating a xwql query that joins two tables. Let's say I have two classes: Fruit and Supplier. Fruit has the following properties: Name, Supplier. Supplier has the following properties: Name, City. I need the query that returns: All Fruit that has Supplier with City='Melbourne'. I can get all the Fruit objects: #set($fruits = $services.query.xwql("from doc.object(Fruit.FruitClass) as fru").execute()) And separately I can get all the Supplier objects that have city='Melbourne' #set($suppliers = $services.query.xwql("where doc.object(Supplier.SupplierClass).City='Melbourne'").execute()) But I can't combine them. Please advise. Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/xwql-join-query-tp5762763p5762763.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] xwql join query
I tried the following query but I didn't get anything :( #set($fruits = $services.query.xwql("from doc.object(Fruit.FruitClass) as fru, doc.object(Supplier.SupplierClass) as sup where fru.Supplier.Name=sup.Name and sup.City='Melbourne'").execute()) -- View this message in context: http://xwiki.475771.n2.nabble.com/xwql-join-query-tp5762763p5762809.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] xwql join query
Yes, sorry I forgot to mention. Supplier property is a Database List (it allows to select one Supplier from all of the Supplier objects created). Therefore I cannot have it set as string. It needs to be a selection from Supplier objects. Please check the previous post to see the join query that I tried. Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/xwql-join-query-tp5762763p5763031.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] xwql join query
I tried the query and it doesn't work. It seems that "member of" causes the query to fail to execute. Unfortunately I cannot use "Database tree" as the data type for "Supplier" property of Fruit. -- View this message in context: http://xwiki.475771.n2.nabble.com/xwql-join-query-tp5762763p5763517.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] xwql join query
It doesn't have to be an xwql query. It could be sql, hql, anything that would work ;) -- View this message in context: http://xwiki.475771.n2.nabble.com/xwql-join-query-tp5762763p5763606.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] Modalbox
Was anyone able to load an url in a Modalbox? How do you do that? Like, for example, when clicking on a button, display "http://www.google.com"; in the Modalbox. Is that possible? I tried the following, and it's not displaying anything. What am I doing wrong? {{velocity}} #set($ok = $xwiki.jsfx.use("js/scriptaculous/scriptaculous.js")) #set($ok = $xwiki.jsx.use("XWiki.ModalBox")) #set($ok = $xwiki.ssx.use("XWiki.ModalBox")) {{html}} Google {{/html}} {{/velocity}} -- View this message in context: http://xwiki.475771.n2.nabble.com/Modalbox-tp6242462p6242462.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] Modalbox
Hi Oana, Actually, what I wanted to do was to be able to load into the Modalbox a piece of html code like: and launch the modalbox from a button. So what I tried was: {{velocity}} #set($ok = $xwiki.jsfx.use("js/scriptaculous/scriptaculous.js")) #set($ok = $xwiki.jsx.use("XWiki.ModalBox")) #set($ok = $xwiki.ssx.use("XWiki.ModalBox")) {{html}} ', {width: 800, height:500, title: 'DataGenerator', method: 'post'}); return false;">DataGenerator {{/html}} {{/velocity}} The code presented above is not working. Any suggestions are welcome. Regards, Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Modalbox-tp6242462p6243037.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] Modalbox
Ok, I figured it out :) Replace the button tag with: DataGenerator -- View this message in context: http://xwiki.475771.n2.nabble.com/Modalbox-tp6242462p6243202.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] Chat extension
Does anyone know if there is any chat extension for the XWiki? I took a look at the Skype extension, and what I got from that is that you will have to use the Skype account/application to send the messages. I was wondering if there would it be possible to do the chatting directly in the XWiki. Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Chat-extension-tp6269422p6269422.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] Chat extension
Related to the XWiki 3.0 release, it is mentioned that "XWiki 3.0 features include Twitter-like messaging and networking inside the wiki". Is this related to chatting? Or is the "messaging" related to something else? If it is referring to chatting, where do I find it, how do I use it? Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Chat-extension-tp6269422p6287597.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] Chat extension
I imported the IRC .xar file that you mentioned, but I couldn't find anything related to chatting. Is there any documentation on how to use the IRC package? Thanks. Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Chat-extension-tp6269422p6287612.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] Import pages from xwiki 2.7 to 3.0
I'm trying to upgrade from xwiki 2.7 to 3.0. I am using a PostgreSql database (I created a blank new database). In the web browser pointing to http://localhost:8087/xwiki/bin/view/Main/, I got the initial message that the wiki seems to be empty, and pointing to import xwiki-enterprise-wiki-3.0.xar. So, I imported xwiki-enterprise-wiki-3.0.xar. Then in the next step, I exported all the pages from the xwiki 2.7 into a file, let's say bakup-xwiki2.7.xar which is 78 Mb. I modified the Maximum Upload Size in the xwiki 3.0 preferences to . Then, the next step was to import bakup-xwiki2.7.xar into xwiki 3.0. Went to the import page, selected the bakup-xwiki2.7.xar and then clicked "Upload" button. The file cannot be uploaded. The error that I get in the console is: 2011-04-28 18:39:16,564 [http://localhost:8087/xwiki/bin/upload/XWiki/XWikiPreferences] WARN web.UploadAction- Saving uploaded file failed com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiPreferences Wrapped Exception: Failed to commit or rollback transaction. Root cause [] ...etc... Did anyone else encounter this problem? What am I missing? Do I need to configure any other files? Any input will be greatly appreciated. Regards, Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6316913.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] Import pages from xwiki 2.7 to 3.0
To continue the thoughts presented in the previous post related to the error on importing from xwiki 2.7. I forgot to mention that the file size78 MB. I was wondering if it's too big. As a side note, I should mention that I imported a small xwiki2.7 site, and I did not get any errors. So I was looking for other ways that I could import the big file into a brand new db. I’ll present the steps and let's see what do you think about it. 1. Export xwiki2.7 from http://localhost/phppgadmin/ into a file called dump.sql. So this is like the backup for the xwiki2.7. 2. On the same site http://localhost/phppgadmin/ I created a new db, totally blank. 3. The site for the xwiki3.0 is totally empty. So the next step is Import xwiki-3.0.xar (the download of 3.0 from their site). Note: you can import even if you don’t have a login. 4. Logged in as admin and got fully functional xwiki 3.0 environment. So far so good. 5. Then, now is the time to import the xwiki2.7. Since the import functionality does not work from the xwiki, I tried to do it from the command line. 6. So at the command line, navigate to the folder where dump.sql is, and execute the command psql -d database -U user < dump.sql. What this does, it imports everything from the xwiki2.7 to the new db. Checked the xwiki3.0 and all the pages are there. So the problem I have is that a database import is not the same thing as exporting and importing from the wiki environment, because you simply recreate the 2.7 database. This is no different than making a copy of the database. The sql backup just creates sql commands to create the exact same database…. Is this right? Also, need to mention that even if I imported the dump.sql, it did not change the version number. And it shouldn’t have happened right, because the xwiki environment doesn’t change, right? Only the database is changed. Suggestions? Anyone? :) Thanks a bunch. Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6317449.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] Import pages from xwiki 2.7 to 3.0
Caleb, Thank you so much for your input. That helps a lot. Related to the step that I need to follow for the export, just wanted to make sure that I got this right: 1. Export xwiki2.7 into a file called dump.sql 2. At the command line, navigate to the folder where dump.sql is, and execute the command: psql -d database -U user < dump.sql to import the old database. 3. Import xwiki-enterprise-wiki-3.0.xar on top, but follow the instructions at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradinganXWikiInstallation Please confirm that this is right. Regards, Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6322599.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] Import pages from xwiki 2.7 to 3.0
So, I proceeded to the update of xwiki to 3.0 as presented in the previous post. When importing the xwiki-enterprise-wiki-3.0.xar on top, I deselected the following packages: XWikiAllGroup to preserve the list of the old users, XWikiPreferences, to preserve the layouts of the panels. Everything seems to work fine. All the xwiki pages created previously in xwiki 2.7 show up just fine. The only problem that I'm seeing is in the administration pages (when cliking on Administer XWiki ). All of the pages (Edit Mode Settings, Localization, etc...) have the text area and drop down list fields surrounded by the text {pre}{/pre}. This doesn't show up in a clean install of xwiki 3.0. Also some fields are missing. Does anyone know why this is happening and how should I solve the problem? Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6331297.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] Import pages from xwiki 2.7 to 3.0
Cool. Based on the documentation, I replaced #includeForm("XWiki.AdminSheet") with {{include document="XWiki.AdminSheet"/}} and switched to syntax 2.0. The {pre} tags went away, but I still have missing fields in Edit Mode Settings, under Versioning. The dropdown list fields for Editcomment, Editcomment_mandatory, and Minoredit are missing. Another issue that is new now, at the top of the XWiki page, above the top buttons, "Add", "Wiki", etc..., a bar showed up with the text {{velocity filter="none"}} {{html clean="false" wiki="true"}} {{/html}} {{/velocity}} Help anyone :) Thanks, Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6331793.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] Import pages from xwiki 2.7 to 3.0
Initially, by mistake I clicked "yes" and the text {{include document="XWiki.AdminSheet"/}} changed to something like {~{~include document="XWiki.AdminSheet"/}}. I don't remember if I saved the page, but then, I went back, read the instructions once again, and clicked "Cancel" this time when asked about the xwiki 2.0 syntax, and then saved. As I said, the {pre} tags went away, but the weird text on top of the page {{velocity filter="none"}} {{html clean="false" wiki="true"}} {{/html}}{{/velocity}} did not. So I tried to switch back to #includeForm("XWiki.AdminSheet") and syntax 1.0, and the text did not go away. Do you think that my initial mistake did it? Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6332248.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] Import pages from xwiki 2.7 to 3.0
Do you mean open the History tab on http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences page? It does not have one. Or did you mean another page? Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6332584.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] Import pages from xwiki 2.7 to 3.0
Cool, that solved it. Now I have to figure out the problem with the missing fields. Thanks a bunch. Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6334399.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] Import pages from xwiki 2.7 to 3.0
Related to your suggestion of exporting XWikiPreferences, how do I export only that page? Does xwiki allow to export only one space or only one page? Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6334410.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] Import pages from xwiki 2.7 to 3.0
Wow, that did it :) That's awesome. So if I want to export a full space let's say Space1, the link would be the following? http://localhost:8080/xwiki/bin/export/XWiki/XWikiPreferences?format=xar&name=Space1 -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6335163.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] Import pages from xwiki 2.7 to 3.0
Going back to moving from xwiki2.7 to 3.0. If I'm able to export each space, in order to avoid any complications I could just install xwiki 3.0 clean install, and then import only the spaces that I am interested from the xwiki 2.7. Would that do it? Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6335177.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] XWiki and Ozone widgets
I am using XWiki (3.0) to display (using iframes) a couple of Ozone widgets as Common Map Widget, Common Query widget, and Data Generator. Ozone and XWiki are running on two different machines. I am able to see the query results on the map, but when in the Wysiwyg mode I'm not able to display them. Could anyone that is familiar with the Ozone Widget Framework suggest what do I need to do in order to accomplish that? Thank you, Alina. - - Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-and-Ozone-widgets-tp6427000p6427000.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] XWiki and Ozone widgets
Marius, Please see the attached file for the code that I'm using to display the Ozone widgets in the XWiki page. http://xwiki.475771.n2.nabble.com/file/n6451265/CodeSubmitedToXwikiTeam.txt CodeSubmitedToXwikiTeam.txt The problem is not displaying the widgets in the iframes. The problem is in displaying the query results on the map. And all of this only in the wysiwyg mode. If I'm in the regular display mode, I'm able to see the all the widgets (map, query, etc) plus the results returned by the query on the map. When in the wysiwyg mode, I can see the widgets, but the results that I get from the query widget, are not displayed on the map widget. Does that make sense? Alina. - - Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-and-Ozone-widgets-tp6427000p6451265.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] XWiki and Ozone widgets
Yes, what I need to do is get all the functionality of the widgets in the Wysiwyg mode (that is, have the widgets interactive, query, get results, display them on the map, zoom on the map, etc). Then, when I click the "Save and View" button form the wysiwyg mode, the widgets should be displayed just as I had them set up in the wysiwyg (zoomed in with the results showing up on the map), but not interactive (that is, not be able to zoom on the map, or query in the query widget; just still images of whatever was set up in the wysiwyg mode). - - Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-and-Ozone-widgets-tp6427000p6453861.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] XWiki and Ozone widgets
How do I load the jsx (Javascript extension) in wysiwyg mode? - - Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-and-Ozone-widgets-tp6427000p6453895.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] XWiki and Ozone widgets
Do you mind telling me how to do that, please? Thank you. - - Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-and-Ozone-widgets-tp6427000p6453961.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] XWiki and Ozone widgets
So, I went to http://localhost:8086/xwiki/bin/view/XWiki/ModalBox -> Edit -> Objects. Objects of type XWiki.JavaScriptExtension (1) -> JavaScriptExtension 0: modalbox -> Use this extension -> Changed to "Always on this wiki". Objects of type XWiki.StyleSheetExtension (1) -> StyleSheetExtension 0: modalbox -> Use this extension -> Changed to "Always on this wiki". These changes didn't solve my problem. The next one is to modify wysiwyginput.vm. But I don't know how to edit it. I poked around for info on the threads, but I couldn't find anything. Could you please help me with that? Thank you. (Mersi mult :)) - - Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-and-Ozone-widgets-tp6427000p6454549.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] XWiki and Ozone widgets
I changed the wysiwyginput.vm as suggested, and the problem with the ModalBox was fixed. So now I'm able to get the DropBox in the wysiwyg mode. Thank you both for the info. Now the problem that I have is how do I make the results from the query widget show up in the map widget. As a reminder, this is possible if not in the wysiwyg mode. Alina. - - Alina. -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-and-Ozone-widgets-tp6427000p6454704.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