IRC Archive for channel #xwiki on 18 November 2008

Last modified by Vincent Massol on 2012/10/18 18:30

xwikibot - (18/11/2008 09:54): Sandbox.lir1 was modified by XWiki.ReinhardLimburg (deleted document) - http://playground.xwiki.org/xwiki/bin/view/Sandbox/lir1
xwikibot - (18/11/2008 09:54): Spacelir1.WebHome was modified by XWiki.ReinhardLimburg (deleted document) - http://playground.xwiki.org/xwiki/bin/view/Spacelir1/
asiri1 - (18/11/2008 10:36): guys, new to velocity, is it legal to define a map like #set($options={"filterStyles":true}) ?
vmassol_ - (18/11/2008 10:39): asiri1: sure
vmassol_ - (18/11/2008 10:39): see http://velocity.apache.org/engine/devel/user-guide.html (search for "Map")
asiri1 - (18/11/2008 10:41): vmassol_: yeah i tried it but i got this exception http://tinypaste.com/pre.php?id=46746 hummm.. i can't think of what's going wrong. Let me try again
asiri1 - (18/11/2008 10:47): vmassol_: ok, what is causing the exception is #set($options={"filterStyles":$bar}) any clues ? :)
asiri1 - (18/11/2008 10:49): complete listing http://tinypaste.com/pre.php?id=7f368, i wonder if it's a scoping issue.
vmassol_ - (18/11/2008 10:51): asiri1:  see http://playground.xwiki.org/xwiki/bin/view/Test/VMA
asiri1 - (18/11/2008 10:56): vmassol_: Ok, i think it's the extra curly braces as in ${bar} but what is the rule for this ? normally $bar is used ... Thanks. :)
vmassol_ - (18/11/2008 10:58): asiri1: see http://velocity.apache.org/engine/devel/user-guide.html and search for "Formal Reference Notation"
asiri1 - (18/11/2008 10:59): vmassol_: Thanks :)
xwikibot - (18/11/2008 13:23): Plugins.DocumentTreePlugin was modified by xwiki:XWiki.VincentMassol (Adding the download page link once more... something is fishy....) - http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin
lucaa - (18/11/2008 14:14): hi xwikiers gang. Just a question, about the links in the new syntax. Is it possible to specify a link towards a space, that is without specifying a page in that space, that is without setting WebHome hardcoded as the homepage of the space ?
xwikibot - (18/11/2008 14:17): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
vmassol_ - (18/11/2008 14:19): lucaa: let me check
vmassol_ - (18/11/2008 14:19): (that'll depend on what the bridge does, checking)
vmassol_ - (18/11/2008 14:20): lucaa: yes it's possible right now
lucaa - (18/11/2008 14:21): how do I do it?
xwikibot - (18/11/2008 14:22): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
xwikibot - (18/11/2008 14:29): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
xwikibot - (18/11/2008 14:44): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
xwikibot - (18/11/2008 14:55): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
asyd - (18/11/2008 17:10): hello, just a little question, I have a page which made a lot of things (because I use groovy class etc)
ludobot - (18/11/2008 17:10): asyd: hello, just a little question, I have a page which made a lot of things (because I use groovy class etc)
asyd - (18/11/2008 17:10): so, actually I enable cache using $context.setcacheduration inside the page
ludobot - (18/11/2008 17:10): asyd: so, actually I enable cache using $context.setcacheduration inside the page
asyd - (18/11/2008 17:11): however, I'm looking for a way to update this page but only from the scheduler, is that possible?
ludobot - (18/11/2008 17:11): asyd: however, I'm looking for a way to update this page but only from the scheduler, is that possible?
asyd - (18/11/2008 17:11): ludobot: SHUT UP;p
ludobot - (18/11/2008 17:11): asyd: ludobot: SHUT UP;p
xwikibot - (18/11/2008 17:13): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
vmassol_ - (18/11/2008 17:15): asyd: to update a page with the rendering cache enable you can append ?refresh=1 to the URL
vmassol_ - (18/11/2008 17:15): s/enable/enabled/
asyd - (18/11/2008 17:15): oh
asyd - (18/11/2008 17:15): very interesting
asyd - (18/11/2008 17:15): you should write a bookt "XWiki internals and secrets" ! :)
vmassol_ - (18/11/2008 17:17): asyd: we were waiting for you to write it! ;)
asyd - (18/11/2008 17:17): ahah
asyd - (18/11/2008 17:18): (btw I start the post fbout xwiki's feedbacks, I don't forget you
vmassol_ - (18/11/2008 17:18): ok cool
lucien - (18/11/2008 17:22): Hi guys,
lucien - (18/11/2008 17:22): in order to implement annotation feature,
lucien - (18/11/2008 17:22): do you think it's possible to write a function that map an xwiki
lucien - (18/11/2008 17:22): generated html to the initial xwiki source?
vmassol_ - (18/11/2008 17:37): lucien: not sure what you are asking and would need to know the overall design to understand better
vmassol_ - (18/11/2008 17:37): we do have a XHTML parser in the new rendering that converts from (X)HTML to wiki syntax but I don't see why you would need this
lucien - (18/11/2008 17:40): i need to know which content is concerned by the selection user
lucien - (18/11/2008 17:42): *user selection
lucien - (18/11/2008 17:43): so i intend to insert start and end tad in the html
lucien - (18/11/2008 17:43): map it to xwiki source
lucien - (18/11/2008 17:43): in order to determine the field of selection in xwiki source
vmassol_ - (18/11/2008 17:50): lucien: I think you should make a proposal on the list about this. The XHTML parser I mentioned is only for the xwiki 2.0 syntax, it won't work for the 1.0 one
vmassol_ - (18/11/2008 17:50): or is that what you sent yesterday?
lucien - (18/11/2008 17:51): indeed
vmassol_ - (18/11/2008 17:51): (haven't had time to look into it yet)
vmassol_ - (18/11/2008 17:52): lucien: I'll read your mail now
vmassol_ - (18/11/2008 18:08): lucien: ok I've answered to your mail
xwikibot - (18/11/2008 18:10): Design.AnnotationFeature was modified by xwiki:XWiki.VincentMassol (Added comment) - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
lucien - (18/11/2008 18:10): thanks
xwikibot - (18/11/2008 19:34): XWiki.XWikiPreferences was modified by XWiki.ludovic (Upload new attachment <a href="/xwiki/bin/downloadrev/XWiki/XWikiPreferences/xwiki%2Dapplication%2Dadministration%2D1.3.xar?rev=1.1">xwiki-application-administration-1.3.xar</a>) - http://www.xwiki.org/xwiki/bin/view/XWiki/XWikiPreferences
xwikibot - (18/11/2008 22:15): XWiki.GlenShelly was modified by XWiki.GlenShelly (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/GlenShelly
xwikibot - (18/11/2008 22:36): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature

Get Connected