Re: [xwiki-users] trying to make warning macro work in 2.0

2009-08-19 Thread Henk Schouten
Hello, In April there was a discussion on the list with this subject. This discussion ends without a solution. Does anyone know if this problem has been solved. It seems I am having the same problem here when running 1.9.3 on a Oracle OC4J container. Thanks, Henk == Henk F. Schouten,

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-29 Thread Jonas Almfeldt
Hi, On Tue, Apr 28, 2009 at 4:54 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: [snip] Looks like it can't find some python files which are inside a jar file (pygments-1.0-xwiki.jar). A java URL to the files inside the jar is given to jython which is supposed to look at this URL as

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-29 Thread Thomas Mortagne
On Wed, Apr 29, 2009 at 09:27, Jonas Almfeldt jonas.almfe...@gmail.com wrote: Hi, On Tue, Apr 28, 2009 at 4:54 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: [snip] Looks like it can't find some python files which are inside a jar file (pygments-1.0-xwiki.jar). A java URL to the

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-29 Thread Vincent Massol
On Apr 29, 2009, at 10:36 AM, Thomas Mortagne wrote: On Wed, Apr 29, 2009 at 09:27, Jonas Almfeldt jonas.almfe...@gmail.com wrote: Hi, On Tue, Apr 28, 2009 at 4:54 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: [snip] Looks like it can't find some python files which are inside a

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-29 Thread Vincent Massol
On Apr 29, 2009, at 11:58 AM, Thomas Mortagne wrote: On Wed, Apr 29, 2009 at 11:07, Vincent Massol vinc...@massol.net wrote: On Apr 29, 2009, at 10:36 AM, Thomas Mortagne wrote: On Wed, Apr 29, 2009 at 09:27, Jonas Almfeldt jonas.almfe...@gmail.com wrote: Hi, On Tue, Apr 28, 2009 at

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-29 Thread Thomas Mortagne
On Wed, Apr 29, 2009 at 12:18, Vincent Massol vinc...@massol.net wrote: On Apr 29, 2009, at 11:58 AM, Thomas Mortagne wrote: On Wed, Apr 29, 2009 at 11:07, Vincent Massol vinc...@massol.net wrote: On Apr 29, 2009, at 10:36 AM, Thomas Mortagne wrote: On Wed, Apr 29, 2009 at 09:27, Jonas

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-28 Thread Jonas Almfeldt
Hi Vincent, Sorry for my delay in answering. the #info macro works and renders correctly when I type in the following in the (xwiki/2.0 syntax) wiki editor: {{velocity}}{{html wiki=true}}#info(Important info message text){{/html}}{{/velocity}} Is this the correct way to use the #info macro? I

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-28 Thread Vincent Massol
Hi Jonas, On Apr 28, 2009, at 11:33 AM, Jonas Almfeldt wrote: Hi Vincent, Sorry for my delay in answering. the #info macro works and renders correctly when I type in the following in the (xwiki/2.0 syntax) wiki editor: {{velocity}}{{html wiki=true}}#info(Important info message

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-28 Thread Thomas Mortagne
Hi, On Tue, Apr 28, 2009 at 11:33, Jonas Almfeldt jonas.almfe...@gmail.com wrote: Hi Vincent, Sorry for my delay in answering. the #info macro works and renders correctly when I type in the following in the (xwiki/2.0 syntax) wiki editor: {{velocity}}{{html wiki=true}}#info(Important info

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-28 Thread Jonas Almfeldt
Some more info: This is the full exception details as presented by the wiki when it fails to process the macro when I specify a language other than none - not specifying language also causes failure. {{code language=html}} html headCool!/head /html {{/code}} Can it has something to do with my

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-28 Thread Thomas Mortagne
On Tue, Apr 28, 2009 at 15:54, Jonas Almfeldt jonas.almfe...@gmail.com wrote: Some more info: This is the full exception details as presented by the wiki when it fails to process the macro when I specify a language other than none - not specifying language also causes failure. {{code

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-28 Thread Thomas Mortagne
On Tue, Apr 28, 2009 at 16:44, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Apr 28, 2009 at 15:54, Jonas Almfeldt jonas.almfe...@gmail.com wrote: Some more info: This is the full exception details as presented by the wiki when it fails to process the macro when I specify a

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-22 Thread Jonas Almfeldt
Hi, I believe I'm having the same problem with rendering of macros (particularly the #info() and also {{code}} macro in the xwiki/2.0 syntax in xwiki 1.8.1. Kind regards, Jonas On 4/21/09, Kelly Lakas kla...@nwlinc.com wrote: Hi - I am trying to make the warning box macro work in 2.0.

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-22 Thread Vincent Massol
On Apr 22, 2009, at 12:40 PM, Jonas Almfeldt wrote: Hi, I believe I'm having the same problem with rendering of macros (particularly the #info() and also {{code}} macro in the xwiki/2.0 syntax in xwiki 1.8.1. What problem? Have you seen my answer to Kelly? Thanks -Vincent Kind

[xwiki-users] trying to make warning macro work in 2.0

2009-04-21 Thread Kelly Lakas
Hi - I am trying to make the warning box macro work in 2.0. From the research I did, it looked like I needed to put it in like this: {{velocity}}#warning(this needs an update){{/velocity}}. Then I get this on render: div class=warningmessagespan class=messagetypeWarning: /spanthis needs an

Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-21 Thread Vincent Massol
Hi, On Apr 21, 2009, at 8:34 PM, Kelly Lakas wrote: Hi - I am trying to make the warning box macro work in 2.0. From the research I did, it looked like I needed to put it in like this: {{velocity}}#warning(this needs an update){{/velocity}}. Then I get this on render: div