Re: [xwiki-users] Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver java.lang.String ] for hint [currentmixed]
Hi Mohit, Does this happen again if you restart again XWiki or is it a fluke? Thanks -Vincent On Sep 9, 2013, at 4:40 PM, Mohit Gupta motgu...@gmail.com wrote: Hi, I installed the xwiki latest version i.e 5.1 war file under tomcat and getting the below error when i hit the deployed xwiki from browser. I am not sure what i missed here? java.lang.RuntimeException: Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver java.lang.String ] for hint [currentmixed] at com.xpn.xwiki.web.Utils.getComponent(Utils.java:700) at com.xpn.xwiki.XWikiContext.init(XWikiContext.java:151) at com.xpn.xwiki.web.Utils.prepareContext(Utils.java:382) at com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:418) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:125) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt ___ 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/2.1 analogue for #message(message) macro
I decided, that the most elegant solution was to add custom XWiki macro called message whith body: {{velocity}}(% class=box plainmessage% )((($xcontext.macro.content))){{/velocity}} http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial Valdis I'm migrating documents to XWiki/2.1 syntax and wonder, what would be the precise analogue for #message(message) macro, which produces following HTML: div class=plainmessagemessage/div I found only similar ones: quote which produces blockquotequote/blockquote (IMHO works only for single paragraph even with {{{groups}}}) and {{info}}info{{/info}} which produces div class=box infomessageinfo/div Can I extend XWiki somehow that I can use {{message}}message{{/message}} with appropriate HTML output? Thanks! Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] a simple slideshow?
Hello XWiki users, I've been trying to find a simple sldieshow macro and have failed miserably. I found nice jQuery libraries and thought XWiki had jQuery but that did not realize. I found protoshow which looks very nice and is based on prototype and scriptaculous but again... failure because apparently these are not loaded. Can it be XWiki has loaded all things in a non-standard way? Paul ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] a simple slideshow?
I think prototype is by default, but scriptaculous must be declared when needed ... For example: $xwiki.jsfx.use('js/scriptaculous/scriptaculous.js') I think if you look around, some extensions currently use JQuery. After a quick search: http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Timeline BR, Jeremie 2013/9/10 Paul Libbrecht p...@hoplahup.net Hello XWiki users, I've been trying to find a simple sldieshow macro and have failed miserably. I found nice jQuery libraries and thought XWiki had jQuery but that did not realize. I found protoshow which looks very nice and is based on prototype and scriptaculous but again... failure because apparently these are not loaded. Can it be XWiki has loaded all things in a non-standard way? Paul ___ 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] a simple slideshow?
There is also: http://extensions.xwiki.org/xwiki/bin/view/Extension/Presentation+Application 2013/9/10 Jeremie BOUSQUET jeremie.bousq...@gmail.com I think prototype is by default, but scriptaculous must be declared when needed ... For example: $xwiki.jsfx.use('js/scriptaculous/scriptaculous.js') I think if you look around, some extensions currently use JQuery. After a quick search: http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Timeline BR, Jeremie 2013/9/10 Paul Libbrecht p...@hoplahup.net Hello XWiki users, I've been trying to find a simple sldieshow macro and have failed miserably. I found nice jQuery libraries and thought XWiki had jQuery but that did not realize. I found protoshow which looks very nice and is based on prototype and scriptaculous but again... failure because apparently these are not loaded. Can it be XWiki has loaded all things in a non-standard way? Paul ___ 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] a simple slideshow?
For jquery see: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki50M2#HJQueryinXWikiusingAMD2FRequire.js We're missing proper documentation though, see http://jira.xwiki.org/browse/XWIKI-8898 Thanks -Vincent On Sep 10, 2013, at 2:42 PM, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: I think prototype is by default, but scriptaculous must be declared when needed ... For example: $xwiki.jsfx.use('js/scriptaculous/scriptaculous.js') I think if you look around, some extensions currently use JQuery. After a quick search: http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Timeline BR, Jeremie 2013/9/10 Paul Libbrecht p...@hoplahup.net Hello XWiki users, I've been trying to find a simple sldieshow macro and have failed miserably. I found nice jQuery libraries and thought XWiki had jQuery but that did not realize. I found protoshow which looks very nice and is based on prototype and scriptaculous but again... failure because apparently these are not loaded. Can it be XWiki has loaded all things in a non-standard way? Paul ___ 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] a simple slideshow?
FTR we're moving away from prototype and (probably) towards jquery. Thanks -Vincent On Sep 10, 2013, at 2:50 PM, Vincent Massol vinc...@massol.net wrote: For jquery see: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki50M2#HJQueryinXWikiusingAMD2FRequire.js We're missing proper documentation though, see http://jira.xwiki.org/browse/XWIKI-8898 Thanks -Vincent On Sep 10, 2013, at 2:42 PM, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: I think prototype is by default, but scriptaculous must be declared when needed ... For example: $xwiki.jsfx.use('js/scriptaculous/scriptaculous.js') I think if you look around, some extensions currently use JQuery. After a quick search: http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Timeline BR, Jeremie 2013/9/10 Paul Libbrecht p...@hoplahup.net Hello XWiki users, I've been trying to find a simple sldieshow macro and have failed miserably. I found nice jQuery libraries and thought XWiki had jQuery but that did not realize. I found protoshow which looks very nice and is based on prototype and scriptaculous but again... failure because apparently these are not loaded. Can it be XWiki has loaded all things in a non-standard way? Paul ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] a simple slideshow?
Interesting. But how do you declare, with this approach, yet another library? (I want jQuery and jQuery innerFade) thanks Paul Le 10 sept. 2013 à 14:50, Vincent Massol a écrit : For jquery see: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki50M2#HJQueryinXWikiusingAMD2FRequire.js We're missing proper documentation though, see http://jira.xwiki.org/browse/XWIKI-8898 Thanks -Vincent On Sep 10, 2013, at 2:42 PM, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: I think prototype is by default, but scriptaculous must be declared when needed ... For example: $xwiki.jsfx.use('js/scriptaculous/scriptaculous.js') I think if you look around, some extensions currently use JQuery. After a quick search: http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Timeline BR, Jeremie 2013/9/10 Paul Libbrecht p...@hoplahup.net Hello XWiki users, I've been trying to find a simple sldieshow macro and have failed miserably. I found nice jQuery libraries and thought XWiki had jQuery but that did not realize. I found protoshow which looks very nice and is based on prototype and scriptaculous but again... failure because apparently these are not loaded. Can it be XWiki has loaded all things in a non-standard way? Paul ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki/2.1 analogue for #message(message) macro
Hi Valdis, I've opened http://jira.xwiki.org/browse/XWIKI-9432 I reckon that the reason you didn't use the {{box/}} macro was just because it looks a little bit less nice that the other style (round corners, margin for the text), right? Thanks -Vincent On Sep 10, 2013, at 11:26 AM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I decided, that the most elegant solution was to add custom XWiki macro called message whith body: {{velocity}}(% class=box plainmessage% )((($xcontext.macro.content))){{/velocity}} http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial Valdis I'm migrating documents to XWiki/2.1 syntax and wonder, what would be the precise analogue for #message(message) macro, which produces following HTML: div class=plainmessagemessage/div I found only similar ones: quote which produces blockquotequote/blockquote (IMHO works only for single paragraph even with {{{groups}}}) and {{info}}info{{/info}} which produces div class=box infomessageinfo/div Can I extend XWiki somehow that I can use {{message}}message{{/message}} with appropriate HTML output? Thanks! Valdis ___ 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/2.1 analogue for #message(message) macro
Vincent, actually I'm happy with both styles for boxes, because I regularly have several types of them in one page: 1. code excerpts ({{code}} with sharp corners, difference from {{box}} and quote is monospace font), 2. informational messages (e.g. {{warning}}, {{info}} — rounded ones with regular font. I added {{message}} custom macro without icon for more generic cases). I think different box styles make pages richer not only in appearance but also helps to grok meaning of content. Therefore I don't see need to make all boxes looking nice and rounded. Also, It would be good idea to add description of all different Boxes in Syntax guide (at least for these I know): {{code}} {{box}} {{{block group}}} quote {{info}} {{error}} {{success}} Valdis Hi Valdis, I've opened http://jira.xwiki.org/browse/XWIKI-9432 I reckon that the reason you didn't use the {{box/}} macro was just because it looks a little bit less nice that the other style (round corners, margin for the text), right? Thanks -Vincent On Sep 10, 2013, at 11:26 AM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I decided, that the most elegant solution was to add custom XWiki macro called message whith body: {{velocity}}(% class=box plainmessage% )((($xcontext.macro.content))){{/velocity}} http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial Valdis I'm migrating documents to XWiki/2.1 syntax and wonder, what would be the precise analogue for #message(message) macro, which produces following HTML: div class=plainmessagemessage/div I found only similar ones: quote which produces blockquotequote/blockquote (IMHO works only for single paragraph even with {{{groups}}}) and {{info}}info{{/info}} which produces div class=box infomessageinfo/div Can I extend XWiki somehow that I can use {{message}}message{{/message}} with appropriate HTML output? Thanks! Valdis ___ 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] Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver java.lang.String ] for hint [currentmixed]
Hi Vincent, This did not happen again as of now after restart. On Tue, Sep 10, 2013 at 12:15 PM, Vincent Massol vinc...@massol.net wrote: Hi Mohit, Does this happen again if you restart again XWiki or is it a fluke? Thanks -Vincent On Sep 9, 2013, at 4:40 PM, Mohit Gupta motgu...@gmail.com wrote: Hi, I installed the xwiki latest version i.e 5.1 war file under tomcat and getting the below error when i hit the deployed xwiki from browser. I am not sure what i missed here? java.lang.RuntimeException: Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver java.lang.String ] for hint [currentmixed] at com.xpn.xwiki.web.Utils.getComponent(Utils.java:700) at com.xpn.xwiki.XWikiContext.init(XWikiContext.java:151) at com.xpn.xwiki.web.Utils.prepareContext(Utils.java:382) at com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:418) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:125) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt ___ 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