IRC Archive for channel #xwiki on 17 November 2008

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

xwikibot - (17/11/2008 00:40): Main.How To Update with DB Refresh was modified by xwiki:XWiki.polx - http://curriki.xwiki.org/xwiki/bin/view/Main/How+To+Update+with+DB+Refresh
xwikibot - (17/11/2008 00:41): Main.How To Update with DB Refresh was modified by xwiki:XWiki.polx - http://curriki.xwiki.org/xwiki/bin/view/Main/How+To+Update+with+DB+Refresh
xwikibot - (17/11/2008 06:30): XWiki.celsobolina was modified by XWiki.celsobolina (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/celsobolina
xwikibot - (17/11/2008 07:51): XWiki.bainaohui was modified by XWiki.bainaohui (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/bainaohui
xwikibot - (17/11/2008 07:56): XWiki.bainaohui was modified by XWiki.bainaohui (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/bainaohui
xwikibot - (17/11/2008 07:56): XWiki.bainaohui was modified by XWiki.bainaohui (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/bainaohui
xwikibot - (17/11/2008 07:56): XWiki.bainaohui was modified by XWiki.bainaohui (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/bainaohui
asyd - (17/11/2008 08:59): hello there
xwikibot - (17/11/2008 09:13): DevGuide.Notifications was modified by xwiki:XWiki.VincentMassol (Fixed URL) - http://platform.xwiki.org/xwiki/bin/view/DevGuide/Notifications
vmassol - (17/11/2008 09:13): hi
xwikibot - (17/11/2008 09:40): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
xwikibot - (17/11/2008 09:45): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
xwikibot - (17/11/2008 09:45): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
xwikibot - (17/11/2008 09:57): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
xwikibot - (17/11/2008 10:01): Design.AnnotationFeature was modified by xwiki:XWiki.lpereira - http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature
Hoffmann - (17/11/2008 10:24): hey all
Hoffmann - (17/11/2008 10:26): i want to include the blog feature into my xwiki.....where do can i find my mainpage???? cant`t find any htmls....please help me
Hoffmann - (17/11/2008 10:31): please anyone respond an tell me where do i have to include the blog-code if i want to show them onto my mainpage
asyd - (17/11/2008 10:32): the  blog application is available on the default xar
vmassol - (17/11/2008 10:32): Hoffmann: hi. If you've imported the default XAR then you have the blog feature in your application. See also http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication
Hoffmann - (17/11/2008 10:43): i use a .war ....
Hoffmann - (17/11/2008 10:43): there is no blog application available at the moment
asyd - (17/11/2008 10:44): because you need to import the default xar
vmassol - (17/11/2008 10:48): Hoffmann: if you only have the war then you wiki is empty. Check the installation instructions to understand more: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation
Hoffmann - (17/11/2008 10:48): well i will do this....
asyd - (17/11/2008 10:49): oh btw vmassol, how to extend velocity? for example I want the ListTool http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/ListTool.html
vmassol - (17/11/2008 10:50): asyd: it's already there :)
Hoffmann - (17/11/2008 10:50): the request document could not be found....i will try it later
asyd - (17/11/2008 10:50): hmm really? because $list.add($list, "something") just show me the line, w/o being interpreted
vmassol - (17/11/2008 10:51): asyd: the variable is "listtool"
asyd - (17/11/2008 10:51): ok
Hoffmann - (17/11/2008 10:51): got it
xwikibot - (17/11/2008 10:56): DevGuide.Scripting was modified by xwiki:XWiki.VincentMassol (Added available velocity tools) - http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting
vmassol - (17/11/2008 10:56): asyd: see http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting
asyd - (17/11/2008 10:56): ah, thanks!
asyd - (17/11/2008 10:57): pff, I know this page, shame on me
vmassol - (17/11/2008 10:57): asyd: I've just added the information in it :)
asyd - (17/11/2008 10:57): ah :)
asyd - (17/11/2008 10:58): may I add the file where are tools are binded?
vmassol - (17/11/2008 11:00): asyd: ok I'm doing it since it requires some knowledge
asyd - (17/11/2008 11:00): ok
xwikibot - (17/11/2008 11:02): DevGuide.Scripting was modified by xwiki:XWiki.VincentMassol (Added details on how to add other Velocity tools to the velocity context) - http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting
vmassol - (17/11/2008 11:02): asyd: done, hope it's understandable since it's not very obvious. I didn't want to mention this since it wasn't easy to do but here you go since you asked ;)
asyd - (17/11/2008 11:04): ok :)
asyd - (17/11/2008 11:06): ppff, dunno if it's wordpress, but it's very difficult to paste some xml into a post
Hoffmann - (17/11/2008 12:15): hey guys....sorry....i had to eat something...thanks for helping with xar....nice week
vmassol - (17/11/2008 12:21): lunch time, bbiab
xwikibot - (17/11/2008 13:28): XWiki.glennms was modified by XWiki.glennms (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/glennms
xwikibot - (17/11/2008 14:32): Plugins.DocumentTreePlugin was modified by xwiki:XWiki.VincentMassol (Rollback to version 10.1) - http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin
xwikibot - (17/11/2008 15:57): Main.How To Update with DB Refresh was modified by xwiki:XWiki.polx (cleanup and more serious) - http://curriki.xwiki.org/xwiki/bin/view/Main/How+To+Update+with+DB+Refresh
xwikibot - (17/11/2008 16:06): XWiki.KhairlAnwar was modified by XWiki.KhairlAnwar (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/KhairlAnwar
Hoffmann - (17/11/2008 16:32): cant`t handle web plan with namespace -- expekting http//....../web2.0 does anyone know why xwiki 1.5 is the only one which works with geronimo and webshphere without any changes??
vmassol - (17/11/2008 17:28): hi guys
vmassol - (17/11/2008 17:28): lucaa, mflorea, thomasmortagne, jvdrean and everyone interested: I'd like to discuss the UI to display errors in the rendering
mflorea - (17/11/2008 17:29): vmassol: I'm here
asyd - (17/11/2008 17:29): oh, while I'm thinking, is there a RFE to add a default value for flat properties? (like string, date, etc.). If no, maybe I fill one? ;p
lucaa - (17/11/2008 17:29): vmassol: me too
vmassol - (17/11/2008 17:30): ok so the idea is to display information when some part of the rendering fails. For example when a macro doesn't exist or fails to execute
vmassol - (17/11/2008 17:30): We've discussed this in the past on the list and I think we agree that we want contextual information rather than fail the whole rendering, right?
mflorea - (17/11/2008 17:30): yes
vmassol - (17/11/2008 17:31): so one idea is to have a <span class="xwiki-error"> element
vmassol - (17/11/2008 17:31): with the content being the error message
vmassol - (17/11/2008 17:31): such as: <span class="xwiki-error">Unknown macro: something</span>
vmassol - (17/11/2008 17:32): so the doc would be rendered normally except that instead of the macro result you'd see a box
vmassol - (17/11/2008 17:32): with a certain style and containing the error message
vmassol - (17/11/2008 17:32): we also need to display the full description of the error
vmassol - (17/11/2008 17:32): (for ex the stack trace)
vmassol - (17/11/2008 17:33): one idea would be to do that as tooltip but I'm not sure it's the best idea
vmassol - (17/11/2008 17:33): we could also do something with JS
vmassol - (17/11/2008 17:34): but we need to store the description somewhere anyway
mflorea - (17/11/2008 17:34): yes, something like "more" and when you click you can see the entire stack trace is better, I think
vmassol - (17/11/2008 17:35): (could be in alt attribute or in some <!--errordescriptionstart--> comment (provided this is available through the DOM))
mflorea - (17/11/2008 17:35): yes, the text of the comment can be accessed using DOM api
mflorea - (17/11/2008 17:36): from javascript
Hoffmann - (17/11/2008 17:36): cant`t handle web plan with namespace -- expekting http//....../web2.0 does anyone know why xwiki 1.5 is the only one which works with geronimo and webshphere without any changes??
vmassol - (17/11/2008 17:36): ok so the question is what is the best location for storing the description?
vmassol - (17/11/2008 17:36): Hoffmann: no idea
mflorea - (17/11/2008 17:36): it seems so. attribute or comment
mflorea - (17/11/2008 17:38): I'm fore comment, for the sake of consistency
vmassol - (17/11/2008 17:38): sure although it's a little bit different, till now comments are used for non visible metadata information
vmassol - (17/11/2008 17:39): here it's for visible non-metadata information
vmassol - (17/11/2008 17:39): but yes comments sounds good to me
vmassol - (17/11/2008 17:39): we'll need to find it from DOM though
vmassol - (17/11/2008 17:40): so this means some lightweight parsing
vmassol - (17/11/2008 17:40): what about the ALT attribute?
vmassol - (17/11/2008 17:40): is it good or bad that it is displayed when hovering over the error?
mflorea - (17/11/2008 17:40): I see your point, but the exception message/stack trace are not really part of the data/content. I agree it's not meta data either.
vmassol - (17/11/2008 17:41): could also be displayed in a box when double clicking the error message (in addition to the hover)
mflorea - (17/11/2008 17:41): afaik, alt attr is not used for tooltip, but title attr
mflorea - (17/11/2008 17:42): alt is used when the browser cannot render that element
vmassol - (17/11/2008 17:42): I think it depends on the browser but ok
vmassol - (17/11/2008 17:42): yes you're right
vmassol - (17/11/2008 17:43): I think a special hovering or double clicking is important since users will want to copy paste the content
vmassol - (17/11/2008 17:43): so the default browser hover is not enough for sure
vmassol - (17/11/2008 17:44): another solution is to display only the error message in place and have a list of all errors displayed at the top of the document with available details when clicking on some "more" button
vmassol - (17/11/2008 17:44): or both
mflorea - (17/11/2008 17:45): so it might not be semantically right to set the alt attribute with the exception stack trace. So I guess we're lest with the comment solution. Using DOM api si really easy to get a reference to the comment. If the comment precedes the span then a simply span.previousSibling.data will retrieve the content of the comment
vmassol - (17/11/2008 17:45): right, good idea with the sibling api
vmassol - (17/11/2008 17:46): so displaying a summary of all errors in the page could also be done with a JS script
vmassol - (17/11/2008 17:46): (I wouldn't put that in the rendering anyway)
mflorea - (17/11/2008 17:46): now, regarding the UI, I agree that hovering is not enough
mflorea - (17/11/2008 17:46): yes, one could iterated all the comment that preced error-spans
mflorea - (17/11/2008 17:47): but I think is better to have all the info at the place where the exception occured.
mflorea - (17/11/2008 17:48): on the other hand, if the document is big, then you might want to have all the error in one place
vmassol - (17/11/2008 17:49): yes that was my point
vmassol - (17/11/2008 17:49): I think both is probably best
mflorea - (17/11/2008 17:49): (just an idea) we could have a bottom-tab for listing errors
vmassol - (17/11/2008 17:49): I prefer top
vmassol - (17/11/2008 17:49): it has to be visible
vmassol - (17/11/2008 17:50): the user must notice
mflorea - (17/11/2008 17:50): right
vmassol - (17/11/2008 17:50): so here's the proposal:
vmassol - (17/11/2008 17:50): <p>Unknown <span class="xwikierror">Unknown macro: unknown<!--errordescription:The 'unknown' macro is not in the list of registered macros. Try checking the spelling or contact your administrator.--><!--startmacro:unknown|-||-|--><!--stopmacro--></span> macro</p>
mflorea - (17/11/2008 17:50): ok
vmassol - (17/11/2008 17:50): hmmm do I need a <p> inside the span?
mflorea - (17/11/2008 17:51): why?
vmassol - (17/11/2008 17:51): don't know
vmassol - (17/11/2008 17:51): just asking
vmassol - (17/11/2008 17:51): it's strange mixing text
vmassol - (17/11/2008 17:51): with non text elements
vmassol - (17/11/2008 17:51): (it's easier for me without p though)
mflorea - (17/11/2008 17:51): span is inline so it should not contain p
vmassol - (17/11/2008 17:52): right
vmassol - (17/11/2008 17:52): ok this is good for you right?
vmassol - (17/11/2008 17:52): lucaa: ok for you too?
mflorea - (17/11/2008 17:52): yes
vmassol - (17/11/2008 17:52): jvdrean: ok?
vmassol - (17/11/2008 17:53): thomasmortagne: ok?
vmassol - (17/11/2008 17:53): I need just one more ok and I can implement it...
vmassol - (17/11/2008 17:53): come on
vmassol - (17/11/2008 17:53): :)
thomasmortagne - (17/11/2008 17:54): yes it's ok for me
vmassol - (17/11/2008 17:54): cool, starting the implementation
vmassol - (17/11/2008 17:54): thanks marius for the talk
mflorea - (17/11/2008 17:55): you're welcome vincent
xwikibot - (17/11/2008 20:12): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.jvdrean - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
xwikibot - (17/11/2008 20:13): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.jvdrean - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
xwikibot - (17/11/2008 20:23): XWiki.NikolayTischenko was modified by XWiki.NikolayTischenko (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/NikolayTischenko
xwikibot - (17/11/2008 20:27): view.Replication was modified by XWiki.NikolayTischenko - http://www.xwiki.org/xwiki/bin/view/view/Replication
xwikibot - (17/11/2008 20:48): view.Replication was modified by XWiki.VincentMassol (deleted document) - http://www.xwiki.org/xwiki/bin/view/view/Replication
xwikibot - (17/11/2008 20:49): XWiki.XWikiAllGroup was modified by xwiki:XWiki.RaffaelloPelagalli - http://www.xwiki.org/xwiki/bin/view/XWiki/XWikiAllGroup
xwikibot - (17/11/2008 20:49): XWiki.NikolayTischenko was modified by XWiki.VincentMassol (deleted document) - http://www.xwiki.org/xwiki/bin/view/XWiki/NikolayTischenko
xwikibot - (17/11/2008 21:58): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.jvdrean - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface

Get Connected