IRC Archive for channel #xwiki on 23 June 2009
Last modified by Vincent Massol on 2012/10/18 18:32
florinciu left at 00:06 ("ChatZilla 0.9.85 [Firefox 3.0.11/2009060215]")
tharindu_ joined #xwiki at 00:18
arkub left at 00:18 (Read error: 60 (Operation timed out))
tharindu left at 00:20 (Read error: 110 (Connection timed out))
sdumitriu left at 00:48 (Read error: 110 (Connection timed out))
sdumitriu joined #xwiki at 00:49
glerouge left at 00:51 ("Gone chasing a unicorn in the twilight zone")
lucaa joined #xwiki at 01:23
anamarias left at 01:30 ()
lucaa left at 02:07 (Read error: 104 (Connection reset by peer))
sdumitriu left at 02:35 ("Leaving.")
tharindu_ left at 03:07 (Remote closed the connection)
arunreddy joined #xwiki at 04:39
mflorea joined #xwiki at 08:25
Chathurag joined #xwiki at 08:51
asyd - (23/06/2009 08:52): hello there
vmassol joined #xwiki at 09:02
arkub joined #xwiki at 09:04
vmassol left at 09:28 ()
j-saturne joined #xwiki at 09:33
tmortagne joined #xwiki at 09:48
anamarias joined #xwiki at 09:51
kaaloo joined #xwiki at 10:03
tmortagne left at 10:03 ("Ex-Chat")
maggolo joined #xwiki at 10:04
tmortagne joined #xwiki at 10:05
maggolo - (23/06/2009 10:05): hi @ all is it possible that the XEM download link for the zip page is wrong? http://forge.objectweb.org/project/download.php?group_id=170&file_id=12837
maggolo - (23/06/2009 10:05): on this site i only can download xwiki-enterprise-web-1.9-rc-1.wa
tmortagne - (23/06/2009 10:06): yes the link is wrong, see http://jira.xwiki.org/jira/browse/XEM-134
tmortagne - (23/06/2009 10:07): it's because the url is generated in the a core template considering the version in the XE version when it's not (XEM and XEM version is not the same)
lucaa joined #xwiki at 10:09
KermitTheFragger joined #xwiki at 10:10
tmortagne - (23/06/2009 10:10): the real issue is http://jira.xwiki.org/jira/browse/XWIKI-3761
maggolo - (23/06/2009 10:15): ok, i think i don't understand it exactly, do you mean the false download link is generated because of a bug in the core of your version software?
tmortagne - (23/06/2009 10:17): yes the link is generated in the XWiki Core which is used by XE and XEM but the core wrongly consider the current version as XE version
maggolo - (23/06/2009 10:24): tmortagne: ah ok technically a nice detail that means you do not have to place your downloads manually on this page, or?
tmortagne - (23/06/2009 10:25): wait, i think i missunderstood your first question
tmortagne - (23/06/2009 10:26): are you speaking about http://www.xwiki.org/xwiki/bin/view/Main/Download ?
tmortagne - (23/06/2009 10:26): ok forget what i said previously
tmortagne - (23/06/2009 10:26): yes the link is wrong in the download page
tmortagne - (23/06/2009 10:27): i'm fixing it right now
arkub left at 10:27 (Read error: 60 (Operation timed out))
maggolo - (23/06/2009 10:28): ;-) ah no i know why it confusing me
maggolo - (23/06/2009 10:28): no=know
tmortagne - (23/06/2009 10:29): maggol: fixed
tmortagne - (23/06/2009 10:29): maggolo
maggolo - (23/06/2009 10:29): tmortange thx i have seen it
arunreddy left at 10:34 (Remote closed the connection)
arunreddy joined #xwiki at 10:34
glerouge joined #xwiki at 10:48
trifon joined #xwiki at 11:07
trifon left at 11:20 (Read error: 113 (No route to host))
florinciu joined #xwiki at 11:21
Chathurag left at 11:26 ("Leaving.")
anamarias left at 11:31 ()
Enygma` joined #xwiki at 11:48
trifon joined #xwiki at 12:25
trifon left at 12:30 (Read error: 113 (No route to host))
trifon joined #xwiki at 12:30
trifon_ joined #xwiki at 12:36
trifon left at 12:37 (Read error: 113 (No route to host))
trifon_ is now known as trifon ([email protected])
arunreddy left at 13:00 (Read error: 110 (Connection timed out))
arunreddy joined #xwiki at 13:11
sdumitriu joined #xwiki at 13:20
Heidi07 joined #xwiki at 13:33
Heidi07 left at 13:34 ("Leaving.")
Heidi07 joined #xwiki at 13:35
sdumitriu left at 13:35 ("Leaving.")
Heidi07 - (23/06/2009 13:37): Hi!
Heidi07 - (23/06/2009 13:37): I have a newbie question :-)
Heidi07 - (23/06/2009 13:37): How to use a code snippet. I paste it to a page (xwiki 2.0 syntax) but I can only see the code, not the generated content.
anamarias joined #xwiki at 13:42
Chathurag joined #xwiki at 13:46
cristinas joined #xwiki at 13:47
tachirei joined #xwiki at 13:59
arunreddy - (23/06/2009 14:03): Heidi07: Hi
Heidi07 - (23/06/2009 14:05): arunreddy: :-)
arunreddy - (23/06/2009 14:06): You want to display some code. like html etc .?
Heidi07 - (23/06/2009 14:07): Currently I wan't to delete a whole space using http://code.xwiki.org/xwiki/bin/view/Snippets/DeleteSpaceSnippet.
Heidi07 - (23/06/2009 14:07): The next step is to use a snippet I have seen to export a whole space to pdf.
arunreddy - (23/06/2009 14:08): Ok.
tachirei left #xwiki at 14:08
arunreddy - (23/06/2009 14:09): its a velocity code
arunreddy - (23/06/2009 14:10): just put the code inside {{velocity}} your_code {{/velocity}} for XWiki 2.0 Syntax
Heidi07 - (23/06/2009 14:10): O.k., velocity is on my read list. But how to include velocity code in a page (xwiki/2.0 syntax) ?
arunreddy - (23/06/2009 14:11): You can refer to : http://code.xwiki.org/xwiki/bin/view/Macros/VelocityMacro
Heidi07 - (23/06/2009 14:26): Pasting the example on the your link works :-)
Heidi07 - (23/06/2009 14:26): Surround the code on http://code.xwiki.org/xwiki/bin/view/Snippets/DeleteSpaceSnippet with {{velocity}}{{/velocity}} doesn't produce the right code. I think I have to convert the "{table}" code to xwiki/2.0 syntax.
Heidi07 - (23/06/2009 14:26): How can I generate a "newline" in velocity ?
anamarias_ joined #xwiki at 14:26
anamarias left at 14:28 (Read error: 60 (Operation timed out))
arunreddy - (23/06/2009 14:32): Heidi07: new line in velocity ?
Heidi07 - (23/06/2009 14:37): I think I need one to generate the correct xwiki/2.0 table code
genz joined #xwiki at 14:39
genz - (23/06/2009 14:40): hi everyone
arunreddy - (23/06/2009 14:41): Heidi07 : http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
sdumitriu joined #xwiki at 14:41
arunreddy - (23/06/2009 14:41): Hi genz
genz - (23/06/2009 14:42): i have a question about data model in xwiki
Heidi07 - (23/06/2009 14:42): Site not available: Error number 4001 in 4: Error while parsing velocity page Main.XWikiSyntax Wrapped Exception: Failed to evaluate content with id XWiki Syntax
Heidi07 - (23/06/2009 14:42): http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
arunreddy - (23/06/2009 14:43): some error.
Chathurag - (23/06/2009 14:44): Heidi07: try this out in ur local sever http://localhost:8080/xwiki/bin/view/XWiki/XWikiSyntax?xpage=print
genz - (23/06/2009 14:44): actually i would like to create a class with a database list > is there any documentation on it ?
sdumitriu - (23/06/2009 14:44): genz: The javadoc
sdumitriu - (23/06/2009 14:46): http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/objects/classes/DBListClass.html#getQuery(com.xpn.xwiki.XWikiContext)
arkub joined #xwiki at 14:54
asiri joined #xwiki at 14:57
asiri left at 14:59 (Client Quit)
Heidi07 - (23/06/2009 15:02): I converted most of the code :)
Heidi07 - (23/06/2009 15:02): https://www.computer42.org/xwiki//bin/view/XWiki/XWikiSyntax?xpage=print#HTables states that each row of the table has to begin on a new line.
Heidi07 - (23/06/2009 15:02): The DeleteSpaceSnippet produce a code on a singe line of code
Heidi07 - (23/06/2009 15:02): How can I solve this ?
genz - (23/06/2009 15:08): is there any way to remove a property from a class using the Class Editor ?
sdumitriu - (23/06/2009 15:09): Not yet
genz - (23/06/2009 15:09): and about removing a class ?
sdumitriu - (23/06/2009 15:09): Just delete the document
genz - (23/06/2009 15:09): ok thanks
asyd - (23/06/2009 15:15): `/s 20
asyd - (23/06/2009 15:15): oups
tmortagne - (23/06/2009 15:25): sdumitriu: did you seen the issue about http://jira.xwiki.org/jira/browse/XABLOG-48 ?
sdumitriu - (23/06/2009 15:26): tmortagne: I created it
asyd - (23/06/2009 15:26): S 7
asyd - (23/06/2009 15:26): oups
sdumitriu - (23/06/2009 15:26): tmortagne: Oh, you mean the &&
tmortagne - (23/06/2009 15:27): sdumitriu: yes
Heidi07 - (23/06/2009 15:35): $nl was the answer :-)
genz left at 15:38 (Ping timeout: 180 seconds)
venkatesh joined #xwiki at 15:38
lucien joined #xwiki at 15:44
glerouge - (23/06/2009 15:47): Heidi07 : I'll be in Berlin for LinuxTag from tomorrow onwards if you want to step by and talk about XWiki
Heidi07 - (23/06/2009 15:53): glerouge: Sorry - I'm from Germany, but live a little more near Paris as Berlin - just on the right side of the Rhine :-)
glerouge - (23/06/2009 15:53): :)
kaaloo left at 15:57 ("Leaving.")
Heidi07 - (23/06/2009 16:00): Done :-)
Heidi07 - (23/06/2009 16:06): Where is defined which page is available as WebHome of a space ?
sdumitriu - (23/06/2009 16:07): What do you mean?
sdumitriu - (23/06/2009 16:07): WebHome is a page
asyd - (23/06/2009 16:07): I guess he wants to override the pagename used for a space's rootpage
Heidi07 - (23/06/2009 16:09): I accidentally installed XEM and now I got this front page https://www.computer42.org/xwiki/bin/view/Main/ instead https://www.computer42.org/xwiki/bin/view/Main/Dashboard :-/
sdumitriu - (23/06/2009 16:12): Just edit the page and replace its content with $response.sendRedirect($xwiki.getURL('Main.Dashboard'))
Heidi07 - (23/06/2009 16:13): Great :-)
Heidi07 - (23/06/2009 16:14): Next topic: I have a space there a lot of pages not children of the WebHome. Is there an elegant way to fix this?
sdumitriu - (23/06/2009 16:15): Using a script
sdumitriu - (23/06/2009 16:17): #foreach($item in $xwiki.wrapDocs($xwiki.searchDocuments(" where doc.space = '$doc.space' and doc.parent = ''")))
sdumitriu - (23/06/2009 16:17): $item.setParent("${doc.space}.WebHome")
sdumitriu - (23/06/2009 16:17): $item.save()
sdumitriu - (23/06/2009 16:17): #end
Heidi07 - (23/06/2009 16:21): For this script I create a page in the space I want to fix ?
sdumitriu - (23/06/2009 16:21): Yes
Heidi07 - (23/06/2009 16:23): BTW: Can I comment out a line in xwiki/2.0 syntax ?
tmortagne - (23/06/2009 16:24): Heidi07: not in pure syntax yet you have to use velocity
sdumitriu - (23/06/2009 16:25): tmortagne: That's not nice...
Heidi07 - (23/06/2009 16:26): {{velocity}}#*
Heidi07 - (23/06/2009 16:26): *#{{/velocity}
tmortagne - (23/06/2009 16:26): yes that's why i said yet, we need one
Heidi07 - (23/06/2009 16:27): sdumitriu: may you please have a look on https://www.computer42.org/xwiki/bin/view/DevNotes/FIX - I got an exception :-/
sdumitriu - (23/06/2009 16:29): Add a ) to the foreach line
maggolo left at 16:33 ()
Heidi07 - (23/06/2009 16:36): sdumitriu: Counting is nothing for mathematicians :-) Thanks for your help.
guillaum1 - (23/06/2009 16:39): hi sdumitriu
sdumitriu - (23/06/2009 16:40): Hi guillaum1
tachirei joined #xwiki at 16:41
guillaum1 - (23/06/2009 16:49): sdumitriu: in your opinion, will improvement of the plugin interface be planned for 2.0 or later ? (I mean, in order to avoid modifications of xwiki.cfg struts-config, macros.txt ... while developing a plugin). You told me you might try to improve these stuff in the future.
sdumitriu - (23/06/2009 16:50): Well, plugins will no longer exist
sdumitriu - (23/06/2009 16:50): They will be replaced by components
guillaum1 - (23/06/2009 16:50): ah ok
guillaum1 - (23/06/2009 16:50): sdumitriu: and use of components should solve these issues, right ?
sdumitriu - (23/06/2009 16:51): Yes
guillaum1 - (23/06/2009 16:51): Cool !
sdumitriu - (23/06/2009 16:51): You just drop a jar in the lib folder and that's all
sdumitriu - (23/06/2009 16:51): (or even attach it to a wiki document)
guillaum1 - (23/06/2009 16:54): great
Heidi07 - (23/06/2009 16:55): sdumitriu: I added your sript to https://www.computer42.org/xwiki/bin/view/DevNotes/XWiki
anamarias_ - (23/06/2009 16:58): sdumitriu: hi
anamarias_ - (23/06/2009 16:58): I've created a test case which extends AbstractXWikiComponentTestCase (seemed to me like the right one to use), but it doesn't pass the setUp method (AbstractXWikiComponentTestCase.setUp). Here's what I get http://pastebin.com/m6d97f457 .
anamarias_ - (23/06/2009 16:58): I only overriden the registerComponents() method to register the mock for the DocumentAccessBridge. (simple test case class here: http://pastebin.com/d4a58eb12)
anamarias_ - (23/06/2009 16:58): Is it something else I should have initialized/implemented (like the test error says) ?
sdumitriu - (23/06/2009 17:28): anamarias_: What version of xwiki are you using in your project?
anamarias_ - (23/06/2009 17:30): i changed it to 2.0-SNAPSHOT
anamarias_ - (23/06/2009 17:30): for xwiki-core-component , xwiki-core-bridge and xwiki-core-shared-tests
sdumitriu - (23/06/2009 17:31): And you still get that exception?
anamarias_ - (23/06/2009 17:32): i had 1.9 before, and i got errors for getComponentManager().registerComponent( - with 2 parameters
anamarias_ - (23/06/2009 17:32): actually i got compilation problems before
anamarias_ - (23/06/2009 17:32): now, only the one in the pastebin
anamarias_ - (23/06/2009 17:33): is there a way to make sure my modules use 2.0 everywhere ?
anamarias_ - (23/06/2009 17:36): i just looked in the surefire-report TEST-org.xwiki.opensocial.component.internal.DefaultHelloWorldTest.xml file, and all the properties refering to xwiki jar modules are 2.0
vmassol joined #xwiki at 17:46
vmassol left at 18:08 ()
trifon left at 18:12 (Read error: 113 (No route to host))
tachirei left #xwiki at 18:38
Chathurag left at 18:43 ("Leaving.")
jvelociter left at 18:46 ()
j-saturne left at 18:48 ("Leaving.")
lucien left at 18:53 ("Leaving.")
glerouge left at 18:55 ("Gone chasing a unicorn in the twilight zone")
jvelociter joined #xwiki at 18:58
jvelociter left at 19:00 (Client Quit)
KermitTheFragger left at 19:13 ("Leaving")
Heidi07 - (23/06/2009 19:20): Hi! There can I find documentation or a howto document for configuration of the blog application.
arunreddy - (23/06/2009 19:29): Heidi07 : http://localhost:8080/xwiki/bin/admin/Blog/WebPreferences
anamarias_ left at 19:34 ()
Heidi07 - (23/06/2009 19:34): arunreddy: clearly, but this doesn't help ;-)
Heidi07 - (23/06/2009 19:34): I wan't to know how I can setup different blogs on the same xwiki instance
Enygma` left at 19:34 ("Leaving.")
arunreddy - (23/06/2009 19:36): Heidi07: Oh, sorry i dont have much idea. :)
arkub left at 19:38 (Read error: 113 (No route to host))
venkatesh left #xwiki at 19:59
anamarias joined #xwiki at 20:17
vmassol joined #xwiki at 20:22
lucaa left at 20:58 (Remote closed the connection)
lucaa joined #xwiki at 21:04
vmassol left at 21:14 (Read error: 110 (Connection timed out))
arunreddy_ joined #xwiki at 21:15
arunreddy left at 21:33 (Read error: 110 (Connection timed out))
tmortagne left at 21:34 ("Ex-Chat")
arunreddy_ is now known as arunreddy|afk ([email protected])
Enygma` joined #xwiki at 22:55
mflorea left at 23:08 ("Leaving")
tachirei joined #xwiki at 23:45